DanMcInerney / icebreaker

Gets plaintext Active Directory credentials if you're on the internal network but outside the AD environment
MIT License
1.18k stars 158 forks source link

nmap XML input is broken #7

Closed AbstractClass closed 6 years ago

AbstractClass commented 6 years ago

The function run_nse_scripts declares a positional argument hosts then immediately overwrites it with hosts = [], throwing an index error. If this is fixed, another issue arises: TypeError: sequence item 0: expected str instance, NmapHost found stemming from line 133 (report = NmapScan(hosts)) in icebreaker.py, I assume this is because the list of hosts passed to the function on line 1457 contains a list of NmapHost objects, not a list of IPs in str format.

DanMcInerney commented 6 years ago

Yeah, you right. Fixing.

DanMcInerney commented 6 years ago

Fixed