Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable [--arp] output mac addr to xml #305

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nixawk
Copy link

@nixawk nixawk commented Nov 12, 2017

$ ./bin/masscan --arp --source-ip 192.168.53.141 --source-mac bc-ec-34-ac-e3-c3 192.168.53.0/24 -oX macaddr.xml

Starting masscan 1.0.3 (http://bit.ly/14GZzcT) at 2017-04-28 05:31:54 GMT
 -- forced options: -sS -Pn -n --randomize-hosts -v --send-eth
Initiating SYN Stealth Scan
Scanning 256 hosts [1 port/host]

$ head -10 macaddr.xml
<?xml version="1.0"?>
<!-- masscan v1.0 scan -->
<?xml-stylesheet href="" type="text/xsl"?>
<nmaprun scanner="masscan" start="1493357515" version="1.0-BETA"  xmloutputversion="1.03">
<scaninfo type="syn" protocol="tcp" />
<host endtime="1493357514"><address addr="192.168.53.79" addrtype="ipv4"/><ports><port protocol="arp" portid="0"><state state="up" reason="none" reason_ttl="0"/></port></ports><mac addr="f4:5c:89:ae:6e:a1"></host>
<host endtime="1493357514"><address addr="192.168.53.26" addrtype="ipv4"/><ports><port protocol="arp" portid="0"><state state="up" reason="none" reason_ttl="0"/></port></ports><mac addr="a0:86:c6:3b:e8:e5"></host>
<host endtime="1493357515"><address addr="192.168.53.89" addrtype="ipv4"/><ports><port protocol="arp" portid="0"><state state="up" reason="none" reason_ttl="0"/></port></ports><mac addr="48:a1:95:1d:17:ce"></host>
<host endtime="1493357515"><address addr="192.168.53.4" addrtype="ipv4"/><ports><port protocol="arp" portid="0"><state state="up" reason="none" reason_ttl="0"/></port></ports><mac addr="ac:bc:32:d6:7d:bf"></host>
<host endtime="1493357515"><address addr="192.168.53.152" addrtype="ipv4"/><ports><port protocol="arp" portid="0"><state state="up" reason="none" reason_ttl="0"/></port></ports><mac addr="10:2a:b3:98:78:01"></host>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant