Skip to content

Commit

Permalink
corrected searchsploit out of index list error (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
epi052 authored Jul 7, 2020
1 parent 4432990 commit 2f2f5e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pipeline/recon-pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -822,8 +822,8 @@ def print_searchsploit_results(self, args):
for ipaddr in ss_scan.target.ip_addresses:
address = ipaddr.ipv4_address or ipaddr.ipv6_address
if address is not None and address in targets:
tmp_targets.add(ipaddr.ipv4_address)
targets.remove(ipaddr.ipv4_address)
tmp_targets.add(address)
targets.remove(address)

if tmp_targets:
header = ", ".join(tmp_targets)
Expand Down

0 comments on commit 2f2f5e7

Please sign in to comment.