Differences between revisions 2 and 4 (spanning 2 versions)
Revision 2 as of 2019-11-05 12:58:03
Size: 250
Editor: Sciuro
Comment:
Revision 4 as of 2019-12-07 10:00:07
Size: 357
Editor: Sciuro
Comment:
Deletions are marked like this. Additions are marked like this.
Line 13: Line 13:

== Extract files ==
{{{
binwalk --dd='.*' file.bin
}}}

== Kill processes ==
{{{
kill -9 $$
}}}

Shell examples

Sort IP adresses

sort -n -t . -k 1,1 -k 2,2 -k 3,3 -k 4,4

https://www.madboa.com/geek/sort-addr/

Scan PTR records

for i in `seq 1 254`; do host 192.168.1.$i 192.168.1.1; done |grep pointer

Extract files

binwalk --dd='.*' file.bin

Kill processes

kill -9 $$

Howto/Shell (last edited 2020-03-07 11:05:16 by Sciuro)