TIP: Click on subject to list as thread! ANSI
echo: nthelp
to: All
from: John Beckett
date: 2006-08-05 19:32:04
subject: Gotcha

From: John Beckett 

Some small entertainment:

Create file autorun.inf as below (three lines - the last two lines shown
below should be on one line).
Copy it to root of a USB memory stick. Remove and insert memory stick.
In My Computer, double click the memory stick (or right-click, Open).

---File autorun.inf---
[AutoRun]
Open= cmd.exe /k color 4e && echo Gotcha! shell\Open\command=
cmd.exe /k for /l %%a in (1,1,9) do start
    cmd.exe /k color %%ae ^&^& prompt Gotcha!
---end---

---Alternative File autorun.inf---
[AutoRun]
Open= cmd.exe /k color 4e && echo Gotcha! shell\Open\command=
cmd.exe /k for /l %%a in (1,1,10) do calc.exe

---end---

In the above, we are running cmd.exe from your system. You can run any
executable that you care to put on the USB.

In the original of this, 'cmd.exe' was actually '.\cmd.exe' (and a copy of
cmd.exe was on the memory stick). If anyone can tell me whether the '.\' is
serving any useful or malware function, please let me know.

John

--- BBBS/NT v4.01 Flag-5
* Origin: Barktopia BBS Site http://HarborWebs.com:8081 (1:379/45)
SEEN-BY: 633/267 270 5030/786
@PATH: 379/45 1 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.