Copyright (c) 1999-2008 Maurice de Bijl
Copyright (c) 1999-2008 Maurice de Bijl
Nederlandstalige site teksten Nederlandstalige site teksten English site texts English site texts Deutsche sprache
Start pagina
Projectjes
Reviews
How-to's
Automotive
Blog
Archief

Downloads
Smartphone
PocketPC
Windows
Linux
Scripts
Alle downloads

Overzichten van artikelen en software
Meest populair
Laatst geupdate
Op alfabet
Alle tags

Handigheidjes
Sitemap
Alle trefwoorden
RSS Feed RuweBit General RSS Feed
Del.icio.us
eKudos
Mail webmaster
Disclaimer

Gerelateerde sites
Software kopen
Leo Bueno
Mijn Eigen Wereld


Usb stick  How-to`s  
Let your U3 enabled USB stick call home when it's stolen
Talen:Vertaal naar Nederlands Lees in originele taal(Engels) Deutsche Übersetzung Tools:Printer vriendelijke versieDownload artikel als PDFBookmark:Bookmark deze pagina in je browserBookmark deze pagina op GoogleBookmark deze pagina op DiggBewaar dit artikel op del.icio.usGeef dit artikel een eKudo
auteur: Maurice, geplaatst: 2007-02-08, laatste update: 2007-02-08, populariteit: 9149 keer opgevraagd9149 keer opgevraagd9149 keer opgevraagd9149 keer opgevraagd9149 keer opgevraagd 9100+



U3 USB sticks are USB sticks that (amongst other functionality) have an auto-run feature. Default an U3 portable application menu has been included. To use other menu applications (like PStart or PortableApps), you can install Autolauncher 4U3

Autolauncher 4U3 can auto-run an application of your choice when the USB stick is inserted.

This opens up some more perspectives. Like for example, an USB stick that calls home when it has been stolen?!

Explain me

Wouldn't it be nice that you receive an E-mail when your USB stick has been used in a computer where it never was used before?

That can be done in this way:

A batchfile that collects information about the computer, opens a website URL and passes that information to the website
A PHP script that sends mail to you or your mobile phone with all the information you need (IP address, computername, username etc)

Requirements:

USB stick with U3 support
Autolauncher 4U3 installed on that stick (see above)
Webserver with PHP support

Example files

start.cmd batchfile

@echo off

rem
rem Check if file with name '%COMPUTERNAME%' already exists
rem If so, skip
rem If not, create it and call home
rem
if EXIST %COMPUTERNAME% goto end
echo. > %COMPUTERNAME%
start /min http://www.yoursite.com/callinghome.php?username:"%USERNAME%"__computername:"%COMPUTERNAME%"__domain:"%USERDOMAIN%"__dnsdomain:"%USERDNSDOMAIN%"__home:"%HOME%"

:end
rem
rem Start your portable application menu
rem eg. PStart or PortableApps
rem
start ProgramsPStart.exe

callinghome.php script
<?
$strTo = "youremail(at)address(dot)com";
$strSubject = "USB stick is calling home";
$strHeaders = "From: USB stick <youremail(at)address(dot)com>";
$strBodyText = "IP address: ".$_SERVER;
$strBodyText .= $_REQUEST;

mail($strTo, $strSubject, $strBodyText, $strHeaders);
?>

<!-- This last line redirects to another site, hoping the 'user' doesn't notice anything -->
<meta http-equiv="refresh" content="0; url=http://www.google.com/">

And now what

Change the E-mail address youremail(at)address(dot)com in the script into your own
Put the script on a webserver with PHP support
Change the batchfile by replacing http://www.yoursite.com/callinghome.php with the URL of your script
Now, configure Autolauncher 4U3 to auto-run the start.bat file.
Let someone steal your USB stick to test it


Tags  Usb stick  How-to`s  

end
Copyright © 1999-2008 Maurice de Bijl
Dit artikel is gepubliceerd op 2007-02-08
Talen:Vertaal naar Nederlands Lees in originele taal(Engels) Deutsche Übersetzung Tools:Printer vriendelijke versieDownload artikel als PDFBookmark:Bookmark deze pagina in je browserBookmark deze pagina op GoogleBookmark deze pagina op DiggBewaar dit artikel op del.icio.usGeef dit artikel een eKudo

Reacties op dit artikel
Er is 1 reactie

Versleuteld IP-adres: 218097460
Versleuteld E-mail adres: bfriruzctgvj
Klik voor meer details  2008-05-16 14:23:11 geplaatst door Harold

Uitgebreide informatie over de U3 stick heb ik ook kunnen vinden op http://www.usbstick.nl

Reactie toevoegen
Een reactie toevoegen is simpel en registratie is niet nodig!

Je IP-adres wordt gelogd, maar niet gepubliceerd, alle reacties hebben een E-mail bevestiging nodig en worden stuk voor stuk gemodereerd. Misbruik wordt niet getolereerd.
Naderhand wijzigen van je reactie is niet mogelijk

Naam:
E-mail adres:

E-mail wordt alleen gebruikt voor bevestiging en zal niet gepubliceerd worden.

Reactie:

Reacties a.u.b. in taal van artikel (Engels).
HTML is niet toegestaan, BB-code wel.


 Gerelateerde onderwerpen Klik om te dicht te klappen
Review Sandisk Cruzer U3 Smart Titanium 4 GB USB stick
Maak van je USB stick een U3 USB stick
Mobiele werkplek: applicaties op een USB stick
Meer gerelateerde artikelen
 Tag wolk Klik om te dicht te klappen

announcements automotive gaming gran turismo hacking hoedoe htc linux mobile phone news playstation pocketpc projects ps3 reviews smartphone software tv tweaking video virtualization vista windows windows mobile wireless
Laat alle tags zien

 Zoek trefwoord Klik om te dicht te klappen

Meer..
 Populair Klik om te dicht te klappen
WakeOnLan Silvermine Snappixx
 Ondersteuning Klik om te dicht te klappen
WakeOnLan
Silvermine
Snappixx
 Spreuk van de Dag Klik om te dicht te klappen
 Webwinkel Klik om te dicht te klappen
RuweBit Merchandising
Store 1 Store 2
Site's contents and design are copyright © 1999-2008 Maurice de Bijl - 9150 page requests
gegeneerd op Thu, 20 Nov 2008 14:54:45 CET (GMT+0100) in 160.23 msec op host srv010106.webreus.nl
bron: http://www.ruwebit.net/article/197 - [Lage bandbreedte versie]