jhaddix / domain

Setup script for Regon-ng
913 stars 242 forks source link

Syntax error #32

Open murtough226 opened 4 years ago

murtough226 commented 4 years ago

Traceback (most recent call last): File "./enumall.py", line 28, in from recon.core import base File "/usr/share/recon-ng/recon/core/base.py", line 32 framework.Framework._spool.write(f"{args[0]}{os.linesep}") ^ SyntaxError: invalid syntax

murtough226 commented 4 years ago

The syntax error is for the closing quotes.. no idea why its referencing something else..

smallpygmy commented 4 years ago

Are you using recon-ng v5? If so, downgrade to v4 and it should work.

Oneiroi commented 4 years ago

recon-ng v5 is python3, this tool is python2, there is effort in #34 to port to python3 + recon-ng v5 however this is not as yet complete.

EzioRaison commented 4 years ago

This way worked or me :

  1. What i did is cloned this https://github.com/methos2016/recon-ng. It's just 5mb.
  2. Changed the path in config.py and enumall.py in accordance to newly downloaded recon-ng. 3.That's it.

The main problem is that new recong-ng is based on pytohn3 and this script dependencies are of older recon-ng that was based on python2.