A Batch File That Gives You a Friend's Information

First, you need a victim. Ask yourself whether they'll LIKE you stealing their information. Then, open notepad and get ready to copy and paste.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Making the Batch File

Copy this code and paste it on an open blank Notepad page:   


@ echo off
color 02
set /p user=Enter your name:
cls
set /p age=Enter your age:
cls
set /p number=Enter your phone number:
cls
set /p address=Enter your address:
cls
set /p gender=Enter your gender:
echo The information you've given:
echo:
echo Name: %user%
echo Age: %age%
echo Phone number: %number%
echo Address: %address%
echo Gender: %gender%
ping localhost>nul
cls
echo %user%>name
echo %age%>age
echo %number%>phone#
echo %address%>address
echo %gender%>gender
echo Thank you for sharing your
echo information. We have stored it
echo in in our databases...
ping localhost>nul
cls
echo Please wait...
ping localhost>nul
cls
echo Thank You...
ping localhost>nul
exit@ echo off
color 02
set /p user=Enter your name:
cls
set /p age=Enter your age:
cls
set /p number=Enter your phone number:
cls
set /p address=Enter your address:
cls
set /p gender=Enter your gender:
echo The information you've given:
echo:
echo Name: %user%
echo Age: %age%
echo Phone number: %number%
echo Address: %address%
echo Gender: %gender%
ping localhost>nul
cls
echo %user%>name
echo %age%>age
echo %number%>phone#
echo %address%>address
echo %gender%>gender
echo Thank you for sharing your
echo information. We have stored it
echo in in our databases...
ping localhost>nul
cls
echo Please wait...
ping localhost>nul
cls
echo Thank You...
ping localhost>nul
exit

Hopefully you understand this. If not, too bad. I'll show you what happens on the next page.

Step 2: Extracting the Info


After saving it with the .bat extension, and getting a friend to run it and fill it out, look next to the file. If you saved it on the desktop, there should be 5 extra files there. They should be called name, age, phone#, address, and gender. The name folder should contain: guess what? A name! ( You should probably know their name, but still). Feel free to edit the code, I added credit card number, but unfortunately my mom was way too smart to fall for it. Well, you can't win 'em all. :P

-Foxx4050

Be the First to Share

    Recommendations

    • Made with Math Contest

      Made with Math Contest
    • Multi-Discipline Contest

      Multi-Discipline Contest
    • Robotics Contest

      Robotics Contest

    Discussions