mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-11-25 22:07:01 +00:00
Networking
- Check if a host is up and scan for open ports, also skip host discovery.
This commit is contained in:
parent
0aef9e7537
commit
61d2422c53
17
README.md
17
README.md
@ -1820,6 +1820,23 @@ ulimit -u
|
||||
nmap -sT -O localhost
|
||||
#notice that some companies might not like you using nmap
|
||||
```
|
||||
##### 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.
|
||||
$ nmap google.com -Pn
|
||||
|
||||
# Example output:
|
||||
# Starting Nmap 7.01 ( https://nmap.org ) at 2020-07-18 22:59 CST
|
||||
# Nmap scan report for google.com (172.217.24.14)
|
||||
# Host is up (0.013s latency).
|
||||
# Other addresses for google.com (not scanned): 2404:6800:4008:802::200e
|
||||
# rDNS record for 172.217.24.14: tsa01s07-in-f14.1e100.net
|
||||
# Not shown: 998 filtered ports
|
||||
# PORT STATE SERVICE
|
||||
# 80/tcp open http
|
||||
# 443/tcp open https
|
||||
#
|
||||
# Nmap done: 1 IP address (1 host up) scanned in 3.99 seconds
|
||||
|
||||
|
||||
##### Print out number of cores/ processors
|
||||
```bash
|
||||
|
Loading…
Reference in New Issue
Block a user