Hacker Scripts – You too can be a Hollywood “hacker”!

I figured it was about time to upload some more fun scripts to my SecurityTools repo, so I went with two batch hacker scripts that I had found and modified some time ago.

The first is Matrix inspired, and is easily modifiable for your chosen colors/length of string.

This script changes the text color of the console to green, and then loops over an echo of 6 random numbers (between 0 and 32767).

@echo off
:random
color A
echo %random%%random%%random%%random%%random%%random%
goto :random

Hacker Scripts 1

The second one is a bit closer to Hollywood magic, and it has a bit more going on.

This one will loop over an ipconfig /all followed by 3 pings to the loopback. Additionally, it will alternate the screen colors between red on gray and black on white.

@echo off
:random
color 07
ipconfig /all
color 7c
ping -n 3 -w 1 127.0.0.1
goto :random

Hacker Scripts 2

Nothing too technical this week, but some fun hacker scripts that anyone can run.

As usual, the code and updates can always be found in my GitHub repository as well.

doyler on Githubdoyler on Twitter
doyler
Ray Doyle is an avid pentester/security enthusiast/beer connoisseur who has worked in IT for almost 16 years now. From building machines and the software on them, to breaking into them and tearing it all down; he's done it all. To show for it, he has obtained an OSCE, OSCP, eCPPT, GXPN, eWPT, eWPTX, SLAE, eMAPT, Security+, ICAgile CP, ITIL v3 Foundation, and even a sabermetrics certification!

He currently serves as a Principal Penetration Testing Consultant for Secureworks. His previous position was a Senior Penetration Tester for a major financial institution.

When he's not figuring out what cert to get next or side project to work on, he enjoys playing video games, traveling, and watching sports.

Leave a Comment

Filed under Security Not Included

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.