mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-11-22 21:07:00 +00:00
edit
- Which ports are listening for TCP connections from the network
This commit is contained in:
parent
3d6f8bcda1
commit
e17743e9b9
@ -1853,8 +1853,11 @@ ulimit -u
|
|||||||
|
|
||||||
##### Which ports are listening for TCP connections from the network
|
##### Which ports are listening for TCP connections from the network
|
||||||
```bash
|
```bash
|
||||||
nmap -sT -O localhost
|
|
||||||
#notice that some companies might not like you using nmap
|
#notice that some companies might not like you using nmap
|
||||||
|
nmap -sT -O localhost
|
||||||
|
|
||||||
|
# check port 0-65535
|
||||||
|
nmap -p0-65535 localhost
|
||||||
```
|
```
|
||||||
##### Check if a host is up and scan for open ports, also skip host discovery.
|
##### Check if a host is up and scan for open ports, also skip host discovery.
|
||||||
#skips checking if the host is alive which may sometimes cause a false positive and stop the scan.
|
#skips checking if the host is alive which may sometimes cause a false positive and stop the scan.
|
||||||
|
Loading…
Reference in New Issue
Block a user