FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Bugfix - strip uris · RLSoftwareDev/httpscreenshot@82cbeb1 · GitHub

Commit 82cbeb1

Browse files
committed
Bugfix - strip uris
1 parent 1ce5ba5 commit 82cbeb1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎httpscreenshot.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -466,9 +466,9 @@ def signal_handler(signal, frame):
466466
for uri in uris:
467467
url = ''
468468
if port[1] == True:
469-
url = ['https://'+host+':'+port[0]+uri,args.vhosts,args.retries]
469+
url = ['https://'+host+':'+port[0]+uri.strip(),args.vhosts,args.retries]
470470
else:
471-
url = ['http://'+host+':'+port[0]+uri,args.vhosts,args.retries]
471+
url = ['http://'+host+':'+port[0]+uri.strip(),args.vhosts,args.retries]
472472
urls.append(url)
473473
else:
474474
print 'Invalid input file - must be Nmap GNMAP'

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL