→ 🚀What's New? Explore Lansweeper's Fall 2024 Updates! Fall Launch Blog !

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jacob_bks
Champion Sweeper
Hello:

So this isn't a portable/universal action, but I find it useful and it takes like 5 minutes

1) Install NMap on your local machine
2) Create action > cmd.exe /K "c:\program files (x86)\nmap\nmap" -F {smartname}

True, it will only work if you have nmap installed, and installed in that location (change path if not), but it also keeps others from using it that don't know what they're doing...

Example: Lansweeper Asset - Unknown - it has an IP address for an assetname

Go to asset page > actions > click your nmap action

Results in command line:

Nmap scan report for (Your IP address you're scanning here)
Host is up (0.084s latency).
Not shown: 91 closed ports
PORT STATE SERVICE
135/tcp open msrpc
445/tcp open microsoft-ds
3389/tcp open ms-wbt-server
5357/tcp open wsdapi
8081/tcp open blackice-icecap
49152/tcp open unknown
49153/tcp open unknown
49154/tcp open unknown
49155/tcp open unknown

Nmap done: 1 IP address (1 host up) scanned in 7.34 seconds


So the above tells me its a windows box. Plus, a quick way to find out of a port is being blocked or not, when there's access issues to investigate.
0 REPLIES 0