fixed issue where foundParams are not being checked for in reflected response; added vscode folder to gitignore

This commit is contained in:
JohnPeng47
2018-12-21 11:13:22 -05:00
parent 1e171e48af
commit 21b926bd21
2 changed files with 4 additions and 2 deletions

3
.gitignore vendored
View File

@@ -102,3 +102,6 @@ venv.bak/
# mypy
.mypy_cache/
#vscode
.vscode/

View File

@@ -28,8 +28,7 @@ def arjun(url, GET, headers, delay, timeout):
continue
print('%s Heuristics found a potentially valid parameter: %s%s%s. Priortizing it.' % (
good, green, foundParam, end))
if foundParam in blindParams:
blindParams.remove(foundParam)
if foundParam not in blindParams:
blindParams.insert(0, foundParam)
threadpool = concurrent.futures.ThreadPoolExecutor(max_workers=threadCount)
futures = (threadpool.submit(checky, param, paraNames, url,