Ad End 1 February 2024
Ad Ends 13 January 2025
banner Expire 10 May 2025
Ad Ends 20 January 2025
ad End 25 April 2025
Ad expire at 5 August 2024
banner Expire 25 April 2025
What's new
Money Club cc shop
banner Expire 15 January 2025
banner Expire 20 October 2024
UniCvv
Kfc CLub
adv exp at 23 August 2024
Carding.pw carding forum
BidenCash Shop
adv exp at 23 August 2024

FILE TRANSFERS WITH NETCAT

Dark_Code_x

TRUSTED VERIFIED SELLER
Staff member
Joined
Jun 28, 2020
Messages
6,661
Reaction score
715
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 February 2024
Top