domain icon indicating copy to clipboard operation
domain copied to clipboard

Syntax error

Open murtough226 opened this issue 5 years ago • 4 comments

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 avatar Sep 18 '19 23:09 murtough226

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

murtough226 avatar Sep 18 '19 23:09 murtough226

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

smallpygmy avatar Oct 19 '19 10:10 smallpygmy

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.

Oneiroi avatar Jan 27 '20 15:01 Oneiroi

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.

EzioRaison avatar May 29 '20 11:05 EzioRaison