May 2017
Intermediate to advanced
416 pages
21h 33m
English
$nmap -sC -oX scanme.xml scanme.nmap.org
$xmlstarlet sel -t -m "//host/ports/port/script" -o "{ip:'" -v "ancestor::host/address[@addrtype='ipv4']/@addr" -o "', proto:'" -v "../@protocol" -o "', port:" -v "../@portid" -o ", service:'" -v "../service/@name" -o "', script:'" -v "@id" -o "', script-output:'" -v "@output" -o "'}" -n scanme.xml
{ip:'45.33.32.156', proto:'tcp', port:80, service:'http', script:'http-title', script-output:'Go ahead and ScanMe!'} ...Read now
Unlock full access