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
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
color 07
ipconfig /all
color 7c
ping -n 3 -w 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
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 Senior Staff Adversarial Engineer for Avalara, and his previous position was a Principal Penetration Testing Consultant for Secureworks.

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.

As an Amazon Associate I earn from qualifying purchases.

Common passed on this blog, I made it to a jam.

Leave a Comment

Filed under Security Not Included

Leave a Reply

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

ERROR: si-captcha.php plugin: GD image support not detected in PHP!

Contact your web host and ask them to enable GD image support for PHP.

ERROR: si-captcha.php plugin: imagepng function not detected in PHP!

Contact your web host and ask them to enable imagepng for PHP.

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