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 ccfdf54 commit aebe847Copy full SHA for aebe847
searchsploit.py
@@ -170,14 +170,12 @@ def update():
170
""" This function is used to update all the databases via github (because github is the best update system for databases this size)
171
"""
172
cwd = os.getcwd()
173
- path = ""
174
for i in range(len(files_array)):
175
- path = path_array[i]
176
print("[i] Path: " + path_array[i])
177
print("[i] Git Pulling: " + name_array[i] + " ~ " + path_array[i])
178
179
# update via git
180
- os.chdir(path) # set path to repos directory
+ os.chdir(path_array[i]) # set path to repos directory
181
os.system("git pull -v upstream master")
182
print("[i] Git Pull Complete")
183
os.chdir(cwd)
0 commit comments