Code Monkey home page Code Monkey logo

Comments (10)

sandeepl337 avatar sandeepl337 commented on August 19, 2024

changed the the path and it is working thank you please close this issue.

from domain.

arpit1997 avatar arpit1997 commented on August 19, 2024

hey @coreb1t some suggestions for improving the code.

  • first make a src folder for all the source codes.
  • absolute paths.
reconPath = "/usr/share/recon-ng/"
altDnsPath = "/root/Desktop/altdns-master/"

instead of these you should use os.path.join

  • add a license in your project it would be good to know that how someone can use your code
    😸 😸

from domain.

coreb1t avatar coreb1t commented on August 19, 2024

Hi @arpit1997 I think the question regarding the license should be addressed to @jhaddix. I just forked his project. Do you mean to use os.path.join anstead of sys.path.insert()?

from domain.

sappi13 avatar sappi13 commented on August 19, 2024

Hello @sandeepl337
I'm also getting same error can you tell me what you did?

from domain.

polytron avatar polytron commented on August 19, 2024

Hi @sandeepl337 @coreb1t can you please tell us how to fix this problem?
"File "./enumall.py", line 26, in
from recon.core import base
ImportError: No module named recon.core"

from domain.

Graystripe17 avatar Graystripe17 commented on August 19, 2024

@polytron @sappi13 Edit enumall.py and change reconPath and altDnsPath to your system's path, ie /Users/kitty/Code/Security/domain/enumall/recon-ng. I'm assuming the script was written on a linux system that made assumptions about where you installed your dependencies, so that's what arpit1997 was referencing.

from domain.

coreb1t avatar coreb1t commented on August 19, 2024

Yes, that script should work on any unix like system. Please modify reconPath and altDnsPath before using.

from domain.

bughunter12 avatar bughunter12 commented on August 19, 2024

Traceback (most recent call last):
File "enumall.py", line 27, in
sys.path.insert(0,reconPath)
NameError: name 'reconPath' is not defined

receiving error please help... :( #jhaddix

from domain.

EzioRaison avatar EzioRaison commented on August 19, 2024

Changed the path of altdns and recon.
But it's giving error in base.py file saysinvalid syntax.

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 33
framework.Framework._spool.write(f"{args[0]}{os.linesep}")
^
SyntaxError: invalid syntax

from domain.

EzioRaison avatar EzioRaison commented on August 19, 2024

This way worked or me :

What i did is cloned this https://github.com/methos2016/recon-ng. It's just 5mb.
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.

from domain.

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.