This blog moved to medium->https://medium.com/@cocoamaemae

Monday, October 31, 2016

Linux short cut command cheat sheet

# 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

Thursday, October 6, 2016

Regarding nmap

What's nmap

One of the representative port scanners.


Basic syntax
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

Display meanings

nmap hoge.com

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.



Front End Development Tools

TaskRunner Tool executing multiple tasks by only one execution. Tasks are like CSS preprocessor, Transpire, Module Bundler, etc... e.g. ...