Security
Read More
nmap result as comma separated list, csv
grep “^[0-9*]” nmap.out|awk ‘{print $1 “,” $2 “,” $3 “,” $4 “,” $5}’
A chronological documentation test project, nothing serious, really!
grep “^[0-9*]” nmap.out|awk ‘{print $1 “,” $2 “,” $3 “,” $4 “,” $5}’
I’ve made a simple bash script to find MAC adresses in DHCP config files. #!/bin/bash if [[ -z $1 || $1 == “–help” ]] then echo “usage: $0 xx:xx:xx:xx:xx:xx ” fi grep -i $1 /etc/dhcpdb/* -R Usage example macfind 00:18:8B:2C:DC:AA Result /etc/dhcpdb/53-nettet/subnet.conf:hardware ethernet 00:18:8b:2c:dc:aa; /etc/dhcpdb/macadresser/it-avd.conf: subclass “it-avd” 1:00:18:8b:2c:dc:aa; # Hans-Henry