We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d363d3 commit b45e473Copy full SHA for b45e473
.gitignore
@@ -7,3 +7,4 @@ uid.p
7
etc/tokens/*
8
autosploit_out/*
9
venv/*
10
+etc/json/*
lib/settings.py
@@ -335,7 +335,10 @@ def download_modules_list(search_string):
335
length = len(raw_exploits)
336
lib.output.info("downloading a total of {} module paths".format(length))
337
for i, line in enumerate(raw_exploits):
338
- tmp.write(line.split(" ")[3] + os.linesep)
+ try:
339
+ tmp.write(line.split(" ")[3] + os.linesep)
340
+ except IndexError:
341
+ pass
342
tmp.seek(0)
343
lib.jsonize.text_file_to_dict(random_temp_file_for_download, filename=filepath)
344
lib.output.misc_info("removing created tmp file: '{}'".format(random_temp_file_for_download))
0 commit comments