Skip to content

Commit

Permalink
Merge pull request #1149 from Deathpoolxrs/local-variable-error-fixed…
Browse files Browse the repository at this point in the history
…-amass

Fixed (subdomain_discovery | ERROR | local variable 'use_amass_config' referenced before assignment)
  • Loading branch information
yogeshojha authored Dec 26, 2023
2 parents 22585a5 + 181ad8a commit 95eda6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/reNgine/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,7 @@ def subdomain_discovery(
proxy = get_random_proxy()
if tool in default_subdomain_tools:
if tool == 'amass-passive':
use_amass_config = config.get(USE_AMASS_CONFIG, False)
cmd = f'amass enum -passive -d {host} -o {self.results_dir}/subdomains_amass.txt'
cmd += ' -config /root/.config/amass.ini' if use_amass_config else ''

Expand Down

0 comments on commit 95eda6a

Please sign in to comment.