Writing your own scripts: a great way to practice

 In the world of Hacking, and even IT, being able to write your own scripts is arguably an essential tool to have. Whether it's bash, powershell, python, etc. knowing even one language enough to write scripts is something you should definitely take time to learn. 

So, you might ask what is the point of making these scripts if there are multiple scripts that are already made? There are plenty of script writers who are much better... but there are a few reasons! 

One: Practicing with different languages.

Although most languages are the same at the basic level writing scripts is a way to get a good and quick understanding of different languages. Programmed something in bash? Try Python. Did it in powershell? Try Go. This exposes you to different languages even if the concept is the same. The idea is getting a good understanding, not practicality. You don't need to write super long programs to get an initial grasp of a language! 

Two: Customization

Arguably customization is probably the most advantageous thing about writing your own scripts. You are able to write something that you yourself have control over, and can expand on it. For instance on my github I have a script I wrote from the TCM practical hacking course. I can expand on it with how much ever I want, and add to it. 

Three: A little more discrete

Google, bing, networks, etc. all already know about nmap, gobuster, among others. Writing your own scripts allow you to be a little more discrete as applications are less likely to flag your content... immediately. ;) 

At the end of the day writing your own scripts is always good practice. Even if there are a multitude of better scripts there are many good reasons to write your own scripts and in general knowing how to write these scripts is essential if you want to excel at your IT/Cybersecurity career. 

Want to write your first script? My suggestion is writing a simple recon script in bash, Python, or a language of your choice. 

https://null-byte.wonderhowto.com/how-to/write-your-own-bash-script-automate-recon-0302808/  this null byte link is a great way to do a quick script for some web recon. 

Thanks for reading, Happy Hacking! :) 

XO, BlackCatt

Comments

Popular posts from this blog

DEFCON 32: My review as a first time attendee.

Post SOTB and Happy New Year :)

Vulnerability Spotlight: Type confusion