Coder Social home page Coder Social logo

recon-ng", line 16 about recon-ng HOT 10 CLOSED

lanmaster53 avatar lanmaster53 commented on July 18, 2024
recon-ng", line 16

from recon-ng.

Comments (10)

cam-barts avatar cam-barts commented on July 18, 2024

Hi @meetgyn. Readline is generally only available on GNU based os, which is usually some flavor linux. Recon-ng will still work without it, but you simply wont have command completion or history. Are you on running on linux? Also, this is the marketplace repo, this error might be better suited for the framework repo for future reference.

from recon-ng.

meetgyn avatar meetgyn commented on July 18, 2024

Look
sorry for my ignorance.
I'm using Debian 9

from recon-ng.

lanmaster53 avatar lanmaster53 commented on July 18, 2024

That error doesn't even make any sense because I am capturing the readline exception and accounting for it. I believe it has something to do with the f-string formatting, not readline. You are probably running an older version of Python 3, before those were supported. What version are you running?

from recon-ng.

meetgyn avatar meetgyn commented on July 18, 2024

i have python 3.7.4

from recon-ng.

lanmaster53 avatar lanmaster53 commented on July 18, 2024

Well, that became available in Python 3.6, so 3.7.4 should be fine. There is definitely something different about your environment. What you pasted above is not the entire error because it is missing the traceback and exception type. Please send the entire error so we have additional context.

from recon-ng.

greyjedimaster avatar greyjedimaster commented on July 18, 2024

Here is the error message in full:

File "./recon-ng", line 16
print(f"{Colors.R}[!] Module 'readline' not available. Tab complete disabled.{Colors.N}")
^
SyntaxError: invalid syntax

I am using python3.6 and installed with pip3.

from recon-ng.

lanmaster53 avatar lanmaster53 commented on July 18, 2024

I need more information. OS you are using, method of install, command used to launch, etc. The only time I can replicate this error is when I launch Recon-ng with Python 2, or something under Python 3.6. It's an environmental issue. Based on that error, the only 2 things it can be is your version of python not supporting the print function or f-strings.

from recon-ng.

greyjedimaster avatar greyjedimaster commented on July 18, 2024

I was using Ubuntu 16.04. Turns out, updating to 18.04 resolved the issue.

from recon-ng.

lanmaster53 avatar lanmaster53 commented on July 18, 2024

Yep. Had to be an environmental thing. Likely the same for the OP too.

from recon-ng.

lanmaster53 avatar lanmaster53 commented on July 18, 2024

https://github.com/lanmaster53/recon-ng/wiki/Getting-Started#prerequisites

from recon-ng.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.