yogeshojha / rengine

reNgine is an automated reconnaissance framework for web applications with a focus on highly configurable streamlined recon process via Engines, recon data correlation and organization, continuous monitoring, backed by a database, and simple yet intuitive User Interface. reNgine makes it easy for penetration testers to gather reconnaissance with minimal configuration and with the help of reNgine's correlation, it just makes recon effortless.
https://yogeshojha.github.io/rengine/
GNU General Public License v3.0
7.45k stars 1.13k forks source link

Unable to run amass-passive scan #1148

Closed Deathpoolxrs closed 9 months ago

Deathpoolxrs commented 10 months ago

Is there an existing issue for this?

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

github-actions[bot] commented 10 months ago

👋 Hi @Deathpoolxrs, Issues is only for reporting a bug/feature request. Please read documentation before raising an issue https://rengine.wiki For very limited support, questions, and discussions, please join reNgine Discord channel: https://discord.gg/azv6fzhNCE Please include all the requested and relevant information when opening a bug report. Improper reports will be closed without any response.