This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:cmd:ip [2020/10/28 15:37] – js | linux:cmd:ip [2020/10/28 16:05] (current) – js | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== ip commands ====== | ====== ip commands ====== | ||
- | ==== ifconfig ==== | + | ===== ifconfig |
<code bash> | <code bash> | ||
- | ==== disable eth ==== | + | ===== disable eth ===== |
<code bash>ip link set eth2 down</ | <code bash>ip link set eth2 down</ | ||
- | ==== show services of port ==== | + | ===== show services of port ===== |
<code bash> | <code bash> | ||
- | ==== show all listen ports ==== | + | ===== show all listen ports ===== |
<code bash> | <code bash> | ||
< | < | ||
Line 48: | Line 48: | ||
</ | </ | ||
- | ==== check ports with nmap ==== | + | <code bash> |
+ | < | ||
+ | udp UNCONN | ||
+ | udp UNCONN | ||
+ | udp UNCONN | ||
+ | udp UNCONN | ||
+ | udp UNCONN | ||
+ | udp UNCONN | ||
+ | udp UNCONN | ||
+ | udp UNCONN | ||
+ | udp UNCONN | ||
+ | udp UNCONN | ||
+ | udp UNCONN | ||
+ | udp UNCONN | ||
+ | udp UNCONN | ||
+ | </ | ||
+ | ===== check ports with nmap ===== | ||
<code bash> | <code bash> | ||
< | < | ||
Line 85: | Line 101: | ||
Raw packets sent: 1088 (47.856KB) | Rcvd: 1090 (43.674KB) | Raw packets sent: 1088 (47.856KB) | Rcvd: 1090 (43.674KB) | ||
</ | </ | ||
+ | |||
+ | ===== UDP nmap scan ===== | ||
+ | <code bash> | ||
+ | |||
+ | ===== nmap with OS detection ===== | ||
+ | <code bash> | ||
+ | |||
+ | |||
+ | ====== Links ======= | ||
+ | [[https:// |