8BASH SCRIPTING

image

Any self-respecting hacker must be able to write scripts. For that matter, any self-respecting Linux administrator must be able to script. Hackers often need to automate commands, sometimes from multiple tools, and this is most efficiently done through short programs they write themselves.

In this chapter, we build a few simple bash shell scripts to start you off with scripting. We’ll add capabilities and features as we progress, eventually building a script capable of finding potential attack targets over a range of IP addresses.

To become an elite hacker, you also need the ability to script in one of the widely used scripting ...

Get Linux Basics for Hackers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.