Contents
File operations
Extract files
Extract all files out of an image.
binwalk --dd='.*' file.bin
List operations
Sort IP adresses
Sort a list of IP adresses.
sort -n -t . -k 1,1 -k 2,2 -k 3,3 -k 4,4
Thanks: https://www.madboa.com/geek/sort-addr/
Processes
Kill processes
Kill your current process.
kill -9 $$
Networking operations
Scan PTR records
Do a reverse scan of an IP range.
for i in `seq 1 254`; do host 192.168.1.$i 8.8.8.8; done |grep pointer