Tag Info

New answers tagged

1

I used something like this (powershell script) recently to determine simply if the server receives a response back. i know it's not nmap but it is quick and easy. $erroractionpreference = 'silentlycontinue' $import = import-csv 'config-network device.csv' $collection = $() foreach ($HostName in $import) { $status = @{ "ServerName" = ...


4

Consider this command: nmap 127.0.0.1 -T4 -p 111 -sT -oG - | awk | awk '/^Host: .* Status:.*Up/ { print $2" UP" }' A common pattern using shell scripting is to use grepable output. Use the flags "-oG -", the final dash is to redirect output to stdout. Output from "-oG -" in this example outputs the following when I ran it at my own server: Host: ...


3

I would like to remind you that FIN scan does not work on windows operating systems. Furthermore, the existence of firewalls can prevent the scan from returning the correct result. It will work fine on Mac and Linux. (Unless the port has been filtered by a firewall) I tested with Kali Linux-Kernel 3.14 and it works. root@kali:~# nmap -sF 127.0.0.1 -p 80 ...



Top 50 recent answers are included