Skip to content

Commit

Permalink
🐛 issue #26 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Tuhinshubhra committed Aug 21, 2018
1 parent 044235e commit 175c170
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions deepscans/wp/init.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,13 @@ def start(id, url, ua, ga, source): ## ({ID of the cms}, {url of target}, {User
usernames = uenum[1]

## Version Vulnerability Detection
version_vuln = wp_vuln_scan.start(version, ua)
wpvdbres = version_vuln[0]
result = version_vuln[1]
if wpvdbres != 0 and version != 0:
vulnss = len(result['vulnerabilities'])
vfc = version_vuln[2]
if version != '0':
version_vuln = wp_vuln_scan.start(version, ua)
wpvdbres = version_vuln[0]
result = version_vuln[1]
if wpvdbres != '0' and version != '0':
vulnss = len(result['vulnerabilities'])
vfc = version_vuln[2]

### Deep Scan Results comes here
comptime = round(time.time() - cmseek.cstart, 2)
Expand Down

0 comments on commit 175c170

Please sign in to comment.