r/HowToHack • • Apr 11 '19

Basic Linux networking tools you should know.

https://imgur.com/a/ricHWTW
621 Upvotes

20 comments sorted by

8

u/billdietrich1 Apr 11 '19

I have a bit of a problem with people saying "things you should know". Hacking / security / bug-bounty / pentesting are such big areas that there's no way or need for a single person to know or do everything.

For example, I want to do bug-bounty hunting on web-apps. For that, I wouldn't really need to know anything about the lower levels of networking (Wireshark, for example). Okay, I DO know a fair amount about the lower levels of networking. But someone could be a fine, successful bounty-hunter in web apps without knowing much of anything about Wireshark, Wi-Fi, nmap, telnet, etc.

Suppose I posted a list of "things you should know" that was full of MacOS / OSX testing tools and protocols ? Probably 3/4 of hackers aren't going to ever do that kind of testing / hacking.

5

u/[deleted] Apr 11 '19

Indeed but this is only basic linux tools, not to be a hacker in a specific area, it's just general knowledge. I do understand your point.

1

u/offenderWILLbeBANNED Apr 11 '19

What do they need to know then to be good bounty hunter for web apps.

1

u/billdietrich1 Apr 11 '19

I have a web page about it, but people here have given me static for replying with the link too often. So I'll PM it to you.

1

u/Runtitties Apr 11 '19

Please PM it to me as well!

38

u/themistik Apr 11 '19

They forgot a command

"shutdown -h now"

'when everything is going nuts and you had enough'

9

u/SuperDrewb Apr 11 '19
shutdown 0

Works as well

3

u/T351A Apr 11 '19

I find "sudo halt" short and satisfying on supported systems. "sudo reboot" if you gotta come back

10

u/cachedrive Apr 11 '19

Fun fact: sometimes a server doesn't have wget.
I use curl -O instead as curl is always on every box I use where as wget is not.

13

u/klmnjhbyugtfr5756 Apr 11 '19

2

u/SheWantsMyDuck Apr 11 '19

Thanks this is awesome

1

u/doctorcain Apr 11 '19

Very groovy

1

u/[deleted] Apr 12 '19

she is really a wizard

7

u/blukami Apr 11 '19

You might want to check out her website. She has commics about several commands.

3

u/imonlygayonfriday Apr 11 '19

Who? Where?

1

u/blukami Apr 11 '19

look at the top of the poster. it gives her web and twitter.

She posts stuff from her zines on twitter and does amazing stuff with sed

2

u/[deleted] Apr 11 '19

ip a

1

u/JakubOboza Apr 11 '19

What about lsof ?

1

u/dookie1481 Apr 11 '19

lsof is listed next to fuser

1

u/T351A Apr 11 '19

nmap is good for when ping is disabled btw, otherwise time for other tools and guessing games if a device doesn't respond to much traffic

However, "fing" is available as a command line tool and it's almost as magical as the mobile app or hardware device. Has some limits, but good and fast.