Shared Flashcard Set

Details

CEH Certified Ethical Hacker 312-50:netcat
CEH Certified Ethical Hacker 312-50:netcat
12
Computer Science
Professional
02/11/2014

Additional Computer Science Flashcards

 


 

Cards

Term
nc mail.server.net 25
Definition
Opening a raw connection to port 25 (like SMTP)
Term
nc -vzu 192.168.0.1 80-90
Definition
Checking if UDP ports 80-90 are open on 192.168.0.1 using zero mode I/O
Term
nc -u servname 7000
Definition
Test if UDP port is open: simple UDP server and client...On the sending host, do the following – note that servname is the hostname of the listening host:
Term
nc -v -n -z -w 1 192.168.1.2 1-1000
Definition
Port scan address 192.168.1.2, port range 1-1000, be verbose, zero I/O mode, don't perform DNS lookups, timeout of 1 second
Term
nc -l 12345 | nc www.google.com 80
Definition
Setting up a listener to act as a proxy, listen on port 12345 and forward all traffic to port 80 of www.google.com
Term
ncat
Definition
A much-improved reimplementation of the venerable Netcat. It is known as the swiss-army knife of networking.
Term
nc -l -p 1234 -e /bin/sh
Definition
Start a /bin/sh shell in a listener on port 1235
Term
nc -ul 7000
Definition
Listen for UDP on port 7000, which allows a connection to it from the outside
Term
nc -u serverx 7000
Definition
UDP connect to port 7000 on server named serverx
Term
nc -l 2389 > test
Definition
Open netcat as a server listening on port 2389, and send all input to the file named test.
Term
cat testfile | nc localhost 2389
Definition
Send the contents of testfile to port 2389 on a server named localhost
Term
nc -w 10 localhost 2389
Definition
Connect to port 2389 of the server named localhost. Timeout after 10 seconds.
Supporting users have an ad free experience!