mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-12-23 00:36:35 +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
|
||||
```bash
|
||||
nmap -sT -O localhost
|
||||
#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.
|
||||
#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