
nmap script for conky
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
My little script lists all ip's in your subnet and shows them in conky.
There's also a binary clock available.
Insert the row
${execi 50 ~/.conky/binary_clock.pl }
After TEXT (line 158) if desired^^.
Leave a comment for bugs, proposition oder problems. HF
10 years ago
improved the script
Added a binary clock.
10 years ago
improved the script
Added a binary clock.
sebas87
10 years ago
I would like to show hostname of this scaned IP what i should add to your script to show it ?
Report
schmiddim
10 years ago
I think there are many ways to do this. Here are two solutions from me:
-You can use the command nslookup if you're running a DNS Server in your network.
-Modify your /etc/hosts. You can get the Hostname by ip with this ugly command:
getent hosts 192.168.0.1 |sed 's/[0-9]\| \|\.//g'
You just have to modify the output of nmap in the script. I'm not sure where you have to do this because I wrote this conkyrc a long time ago in place far, far away, but it should be easy to find.
Feel free to post your results and improved scripts here. Have fun:)
Report