Look Like a Hacker! (Batch File)

BatchProgrammer 'profile picture'
93K4022

Intro: Look Like a Hacker! (Batch File)

In this quick and easy Instructable you can trick your friends into thinking that you hack!

STEP 1: Copy and Paste

Copy this code and put it into preferably Notepad++, but any text editor will work.

@echo off

echo.

echo.

color a

title hack01

cls

echo ---------------------Hacking CIA Accounts----------------------------

ping google.com>nul

echo Gathering Information...

ping google.com>nul

netstat -a

tree

ping google.com>nul

ping google.com>nul

echo _____________________

echo Information gathered

echo _____________________

echo %random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%

ping google.com>nul

ping google.com

ping google.com>nul

:C

echo _________________

echo Hacked:

echo Username:Admin

echo Password:%random%

echo _________________

echo Please register

echo.

set /p user=Username:

set /p pass=Password:

echo Your account %user% has been created.

echo.

pause

:A echo Please Login.

echo.

set /p u=Username:

set /p p=Password:

if %u%==%user% if %p%==%pass% goto B

echo Invalid Username or Password echo. pause goto A

:B

echo ______________________

echo Logged in sucsessfully

echo ______________________

ping google.com>nul

echo View files [1]

echo Logout [2]

SET INPUT= SET /P INPUT=Please select a number:

IF /I '%INPUT%'=='1' GOTO D

IF /I '%INPUT%'=='2' GOTO C pause

:C echo Logged Out

ping google.com>nul

exit


Then you're almost done!

STEP 2: Saving It (Properly!)

Ok, make sure that you save it with the file extension of ==> .bat <== Below the name put "All Types" instead of "Normal Text file"

You can save it anywhere but I like the desktop.

STEP 3: Open It

Then locate it and double click, you'll see that it opens CMD but with green text (color a) and with the title of hack01 (title hack01)

And now you are done!

12 Comments

fun trick, you should explain the cmd and batch commands though so people know what they're copy+pasting.. have fun learning how to program!
you can auto run it on a flash drive so every time you plug in the Flash drive it will open the batch fi
Is it possible to put your self in harm by copying this and pasting it on a command prompt just to look cool and doing it twice...like i am soooo scared rn idk if its safe even to turn on my computer rn...i hope everything is fine

Save this as a batch file and name it Nuclear Weapons Program

@echo off
title Nuclear Weapons Program
echo Let's nuke somewhere
set /p yn=Do you know the coordinates (Y/N)?
set /a num=%random% %%10 +1
:A
echo %yn%
if %yn%==N (
goto N
)
if %yn%==n (
goto N
)
if %yn%==Y (
goto Y
)
if %yn%==y (
goto Y
) else goto A
:N
echo Okay. Press enter to open a world map to find the coordinates.
pause >nul
start chrome https://www.google.com/maps
timeout /t 3 /nobreak >nul
goto Y
:Y
set /p coo=Please enter the coordinates of where you would like to nuke:
echo %coo%
echo Launching nuke to %coo%...
timeout /t %num% /nobreak >nul
echo Nuke successfully landed. You killed %random% people.
echo Press any key to exit
pause >nul
exit

Thanks now I can trick my friends!