Site Loading ...

Filed in Main Friday April 27, 2007

So today I found a rockin blog… Daily Cup Of Tech.

This Tim guy rocks… add his blog you your RSS reader… I did.

Anyway, his posts on USB drive autorun tools inspired me… read his posts Here and Here

I made a tool based off his code that has a number of cool features… all configured from a single inf file… and using a text file for the message to make sure mac and/or linux users could still get the message…

Heres the scenario… you drop your precious USB drive somewhere and some other dude finds it… he has no idea who’s it is or anything… youre never gonna see it again right? welll lets hope thats not the case…

Lets hope the guy is foolish enough to stick a foreign USB drive in his pc and let it run (well most people are so foolish) … he will see a nice little splash screen and then get a message from you asking him to contact you and return the drive :)

you can even set it to open up his email client and start to compose the email for him.

the thing can be configured to just show the splash… just the message… etc…
it could even just show the splash and run some usb based software of your choosing and just ignor the whole “I lost my drive” scenario… Hell… let it show you a porno pic and run your cryptography software… whatever you want…

click HERE to download v1.0
Everything you need is included… even the source code if ya wanna tweak it and recompile it… etc…

Read on for the info file and whatnot:

This is just a copy paste from the readme file included in the zip:

Hello… heres how to configure your USB autorun to do what you want…

First the features:

1: Splash Screen
If you make a splash screen and add the size and filename to your ini file, it will show for the amount of time you set in the ini file.

2: PopUp Message
If you make a file to hold a PopUp Message and name it in the ini file, that message will pop up with an “OK” Button

3: AutoEmail PopUp
If you turn it on, and enter an email address it will open the persons email client and auto fill your email address and subject so they can let you know they found your drive.

4: AutoRun another exe file
If you tell it to the program will run an exe file of your chosing from the root of the USB drive

All features run in the order they are listed…
I am not responsible for any potential mis-use of this software… just sharing it so people can recover lost devices whenever possible… or just so the can have cool splash screens etc. I also dont guarantee any part of this app will function on any computer or that it will not damage your computer, your car, your front door… etc… Im pretty sure it wont be mean to your girlfriend though… it seems to like girls quite a bit.

the source file is included so you can tweak it or add to it as you see fit. my exe was compiled with AutoIt3 (http://www.autoitscript.com/)

it only works on PCs (XP with SP2 or later i think cuz of the autorun thing)

——————————— So heres how it works ————————————————-

Your ini file is located in the “KeyRunFiles” folder.
This is what your ini file looks like by default:

[General]
Title=My USB Key
ShowTitle=False
ImageFile=splash.jpg
ImageWidth=187
ImageHeight=83
ShowTime=4
FileName=PleaseReadMe!.txt
MsgTitle=Help! I’m Lost!
AutoEmail=True
Email=IFoundYourDrive@yourdomain.com
EmailSubject=I Found Your USB Key!
RunAfterApp=appname.exe


Feature 1 uses the following lines:

Title=My USB Key # This is the title of your splash window

ShowTitle=False # “True” to show the title “False” to show no title. this is case sensitive

ImageFile=splash.jpg # The name of your image (put it in the “KeyRunFiles” folder) if you leave this blank and dont have a file there it will disable the splas window. this is case sensitive

ImageWidth=187 # The width (in pixels) of your image
ImageHeight=83 # The height (in pixels) of your image
ShowTime=4 # The number of seconds to show the splash for from 1 - 9 seconds

Feature 2 uses the following lines:

FileName=PleaseReadMe!.txt # The File containing your message. Goes in the root of your device (same place as the KeyRun.exe) this is case sensitive

MsgTitle=Help! I’m Lost! # The title of the popup message window

Feature 3 uses the following lines:

AutoEmail=True # “True” to send an email “False” not to. this is case sensitive

Email=IFoundYourDrive@yourdomain.com # the email address you want to send to. if this is blank no email will be sent even if you set “AutoEmail” to “True”

EmailSubject=I Found Your USB Key! # The subject of the email

Feature 4 uses the following line:

RunAfterApp=appname.exe # This will run an exe file from the root of the device… could be another autoit program or a usb file manager or whatever you like… if the file is not present the script will just end with no errors (hopefully)

—————- OK thats about it… ———————-

Visit http://www.august8th.com for more info if it is ever forthcoming. Ill do my best to help people and answer questions.
sorry if this file is hard to understand… feel free to reformat it and send it to someone if you like so you can show off your text formatting skillz.

Special thanks to Tim Fehlman of dailycupoftech.com for inspiring me to make this and for writing a lot of the splash and popup code… I love your work man… we should do lunch… have your people call mine… ciao ;)

-JDL

, , , , ,
No related posts,

3 Responses to “KeyRun v1.0”

  1. Merlin2007 Says:

    Hi there, tried to download the file but there is something wrong, it shows a lot of html code with the file like a Usenet message.

    Please e-mail or notify me when I can download your enhancements to the USB key program.

    Sincerely,

    Chris Plaza

  2. John Says:

    So sorry about that… downloands are fixed now. Fixed em a while ago but forgot to reply.

  3. Aaron (Jeff) Weisinger Says:

    John,

    I have been trying to use your USB script but I cannot seem to get it to work with the changes I have made. I used the Autoit (which I am very unfamiliar with) to change the icon and rename the .exe file. I wanted the icon to draw attention and the .exe name to do the same. I named it “Lost USB”, and the image file was of Scooby Doo. I corrected what I thought I should in the autorun.inf file but I can’t get it to auto run. When I double-click the drive under my computer is asks me what program I would like to use to open it. I am playing more of a guessing game with this, so I am probably doing something wrong that I have no idea of.

    Overall I hate to bug you, but I don’t know any programmers who could assist me. I also sent you an email with this same problem.

    Thanks,
    Aaron

Leave a Reply