Ad End 1 August 2026
banner Expire 20 August 2026
banner Expire 15 January 2025
banner Expire 20 August 2026
ad End 17 June 2026
banner Expire 27 September 2026
adv exp at 20 April 2026
banner Expire 25 July 2025
What's new
Ad expires at 9 July 2026
Ads end 31 October 2026
Ad expires at 25 August 2026
RonalClub cc shop
Patrick Stash
Luki Crown
Wizard's shop 2.0
best shop
Ads end 31 October 2026
best shop

Dark_Code_x

TRUSTED VERIFIED SELLER
Staff member
Joined
Jun 28, 2020
Messages
6,907
Reaction score
753
Points
212
Awards
2
  • Somebody Likes you
  • First post
In this example we will be using a Netcat connection to transfer a text file. Let’s assume we have remote command execution on the target host and we want to transfer a file from the attack box to the host. First we would need to set up a listener on the target host and connect to it from the attack box. We will be using port 8080 for this purpose and we safe the file to the desktop:

nc -lvp 8080 > /root/Desktop/transfer.txt
On the attack box we connect to port 8080 and send a file name transfer.txt:

nc 192.168.100.107 8080 < /root/Desktop/transfer.txt






Netcat File transfer
Than we hit control + c and cat the contents of the file on both the attack box and target host.





File was transferred from the host to the target.
As we can see here the contents of the files are equal which means it has been transferred from the attack box to the target host.
 
Ad End 1 November 2024
Top