# Go back to the line head
Ctrl+a
# Go to the line end
Ctrl+e
# Remove till end-of-line
Ctrl+k
# Remove characters toward line head by each words
Ctrl+w
# Reset a terminal
Ctrl+l
This blog moved to medium->https://medium.com/@cocoamaemae
Regarding TIPS about IT technologies or OSS which I created.
Monday, October 31, 2016
Thursday, October 6, 2016
Regarding nmap
What's nmap
Basic syntax
One of the representative port scanners.
nmap <options> <a server IP address or host name>
Options
# Specify any port
-p
# TCP connection scan
# Check connection to the target. The target daemon process found that TCP connection was tried. If not specified any options, -sT is set as default.
-sT
# TCP syn scan
# Sending only first syn packet in 3 way handshake. If syn/ack is returned, determine that post is opened. If RST is returned, determine that there is no listener. Not establish connection, so the target does not found scan.
-sS
# TCP Null scan
-sN
# TCP fin scan
-sF
# TCP Xmas scan
-sX
# TCP ack scan
-sA
PORT STATE SERVICE 22/tcp open ssh
# STATE
means port state
open: a port is open
closed: a port is closed
filterd: a packet filter works for a port and it cannot be determined if a port is open or not
# filtered
Not determine whether port is open or not.
# unfiltered
Can access to post though, not determine whether post is open or not.
# open|filtered
Not determine whether post is open or not, and packet filtering is available or not.
# closed|filtered
Not determine whether post is closed or not, and packet filtering is available or not.
-p
# TCP connection scan
# Check connection to the target. The target daemon process found that TCP connection was tried. If not specified any options, -sT is set as default.
-sT
# TCP syn scan
# Sending only first syn packet in 3 way handshake. If syn/ack is returned, determine that post is opened. If RST is returned, determine that there is no listener. Not establish connection, so the target does not found scan.
-sS
# TCP Null scan
-sN
# TCP fin scan
-sF
# TCP Xmas scan
-sX
# TCP ack scan
-sA
Display meanings
nmap hoge.comPORT STATE SERVICE 22/tcp open ssh
# STATE
means port state
open: a port is open
closed: a port is closed
filterd: a packet filter works for a port and it cannot be determined if a port is open or not
# filtered
Not determine whether port is open or not.
# unfiltered
Can access to post though, not determine whether post is open or not.
# open|filtered
Not determine whether post is open or not, and packet filtering is available or not.
# closed|filtered
Not determine whether post is closed or not, and packet filtering is available or not.
Subscribe to:
Posts (Atom)
Front End Development Tools
TaskRunner Tool executing multiple tasks by only one execution. Tasks are like CSS preprocessor, Transpire, Module Bundler, etc... e.g. ...
-
What is partitioning? The structure which divides one table data to multiple data. When not using partitioning, one table data is aggrega...
-
It is general to create multiple branches and manage them parallel when we do the development by using git. Multiple branches should be mer...
-
What's URL encode? URL can be sent only ASCII characters over internet. When doing http request with query parameters, query parameter...