|
|
| Unix Administration Firewall Intrusion Detection Network Security Hacking MORE HOME |
strace -o /tmp/sshd.strace -f -e write -p 'sshd pid' cat /tmp/sshd.strace | perl -ne 'print "$1\n" if m|^\d+\s+write\(\d+,\s+"\\0\\0\\0\\10(.*)"|'
nc -p 6666 -l > file
cat data | nc -w 3 to 6666
dd < /dev/kmem > output dd < /dev/mem > output dd < /dev/rswap > output netstat -an > output netstat -rn > output arp -a > output lsof > output lastlog lastcomm ps auxeww ps -ealf ils device inode unallocated and /orrefcount=0 list removed files ils -o device inode allocated refcount=0 list removed open files ils -l device inode allocated/unallocated existing and removed files ils device inode specific inode bin/mactime finds all files accessed in a certain time window
statof the important files! This all can be done via the TCT, using grave-robber (start: bin/grave-robber).
kill -STOP PID
gcore PID
icat /dev/hdc1 12345 > 12345.out
pcat> pcat.1234
strings core
strace -p pid
-a with child processes
-e trace=read,write only read/write calls
-e read=6 show everything from ch. 6
nm
strings
file
| CopyLeft (l) 2003 by Raffael Marty |