Skip to content

Commit 9b2d350

Browse files
committed
Allowed reading iowrapper names for xml
1 parent 05b618c commit 9b2d350

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

searchsploit.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,10 @@ def nmapxml(file=""):
516516
# Read XML file
517517

518518
# ## Feedback to enduser
519+
if (type(file) == str):
519520
print("[i] Reading: " + highlightTerm(str(file), str(file), True))
521+
else:
522+
print("[i] Reading: " + highlightTerm(file.name, file.name, True))
520523
tmpaddr = ""
521524
tmpname = ""
522525
# ## Read in XMP (IP, name, service, and version)

0 commit comments

Comments
 (0)