mirror of
https://github.com/trimstray/the-book-of-secret-knowledge
synced 2024-11-26 05:00:18 +00:00
tcpdump command: minor updates
- signed-off-by: trimstray <trimstray@gmail.com>
This commit is contained in:
parent
982e4c8314
commit
9a559d3904
1 changed files with 6 additions and 6 deletions
12
README.md
12
README.md
|
@ -1915,6 +1915,12 @@ tcpdump -ne -i eth0 -Q in host 192.168.252.1 and port 443 -c 5 -w tcpdump.pcap
|
|||
tcpdump -nei eth0 icmp
|
||||
```
|
||||
|
||||
###### Check protocol used (TCP or UDP) for service
|
||||
|
||||
```bash
|
||||
tcpdump -nei eth0 tcp port 22 -vv -X | egrep "TCP|UDP"
|
||||
```
|
||||
|
||||
###### Display ASCII text (to parse the output using grep or other)
|
||||
|
||||
```bash
|
||||
|
@ -2071,12 +2077,6 @@ nmap -sP 192.168.0.0/24
|
|||
nmap -F --open 192.168.0.0/24
|
||||
```
|
||||
|
||||
###### Check protocol used (TCP or UDP) for service
|
||||
|
||||
```bash
|
||||
tcpdump -nei eth0 tcp port 22 -vv -X | egrep "TCP|UDP"
|
||||
```
|
||||
|
||||
###### Full TCP port scan using with service version detection
|
||||
|
||||
```bash
|
||||
|
|
Loading…
Reference in a new issue