Oneliner – Nmap – List alive hosts in specific subnet

Standard

Nmap – List alive hosts in specific subnet

nmap -sP 192.168.1.0/24

sample output:

Nmap scan report for sky.johlem.net (192.168.1.1)

Host is up (0.0012s latency).

Nmap scan report for pulpe.johlem.net (192.168.1.2)

Host is up (0.0017s latency).

Nmap scan report for orange.johlem.net (192.168.1.21)

Host is up (0.0055s latency).

Nmap scan report for mouse.johlem.net (192.168.1.51)

Host is up (0.0014s latency).

Nmap done: 256 IP addresses (4 hosts up) scanned in 0.01 seconds

 

READ ALSO  Sitadel - Web Application Security Scanner

How to disabled windows firewall with command line

Standard

How to disabled or enable windows firewall with command line

windows firewall is enable by default on windows.

To Turn Off

netsh advfirewall set allprofile state off

To Turn On

netsh advfirewall set allprofile state on

To check status of Firewall:

netsh advfirewall show allprofiles