@echo off
REM echo turned off
echo "Are you sure you want to steal the boot record? (y/n) then ctrl z"
copy con tempfile
REM Copy CON places user input into the file tempfile
for /f %%I in (tempfile) do set ANS=%%I
if "%ANS%"=="y" (copy c:\boot.ini a:\stolen\
REM del c:\boot.ini
echo You stole the record successfully.
)else (echo The boot record was not stolen.)
REM echo turned off
echo "Are you sure you want to steal the boot record? (y/n) then ctrl z"
copy con tempfile
REM Copy CON places user input into the file tempfile
for /f %%I in (tempfile) do set ANS=%%I
if "%ANS%"=="y" (copy c:\boot.ini a:\stolen\
REM del c:\boot.ini
echo You stole the record successfully.
)else (echo The boot record was not stolen.)
Add the above code to a file called steal.bat. Put that on a bootable floppy. Boot. Type steal. Fun!!!
0 Comments:
Post a Comment
<< Home