Skip to content

Unable to run amass-passive scan #1148

@Deathpoolxrs

Description

@Deathpoolxrs

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Getting Following error
rengine-celery-1 | subdomain_discovery | ERROR | local variable 'use_amass_config' referenced before assignment
rengine-celery-1 | Traceback (most recent call last):
rengine-celery-1 | File "/usr/src/app/reNgine/celery_custom_task.py", line 129, in call
rengine-celery-1 | self.result = self.run(*args, **kwargs)
rengine-celery-1 | File "/usr/src/app/reNgine/tasks.py", line 420, in subdomain_discovery
rengine-celery-1 | cmd += ' -config /root/.config/amass.ini' if use_amass_config else ''
rengine-celery-1 | UnboundLocalError: local variable 'use_amass_config' referenced before assignment

Expected Behavior

It should give subdomains after amass-passive scan

Steps To Reproduce

Just run a subdomain scan with the following engine configurations

subdomain_discovery: {
  'uses_tools': [
    'subfinder', 
    'ctfr', 
    'sublist3r', 
    'tlsx', 
    'oneforall', 
    'netlas',
    'amass-passive'
  ],
  'enable_http_crawl': true,
  'threads': 30,
  'timeout': 5,
}
http_crawl: {}

Environment

- reNgine: 2.0.2

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions