Giter Club home page Giter Club logo

Comments (3)

D4rkC0m3t avatar D4rkC0m3t commented on July 29, 2024

Hi There,

I`m facing the below issue please provide fix for this

Traceback (most recent call last):
File "set_empty_pw.py", line 3, in
from impacket.dcerpc.v5 import nrpc, epm
ModuleNotFoundError: No module named 'impacket.dcerpc'

from zerologon.

Aareon avatar Aareon commented on July 29, 2024

Hi!

The title shows every time I run the "set_empty_pw.py" script, but right after the 'error' your script says: "success! dc should now have the empty string as its machine password". But btw, it doesn't!

I've reinstalled impacket, with
"pip3 install impacket"
downloaded the impacket repo from source
"python3.6 setup.py install"
"python3.6 setup.py build"
"sudo apt install python-impacket"
I've tried to change all the "#!/usr/bin/env " to "!/usr/bin/python3.6"
and the script keep complaining on that "has no attribute". I wrote a python3.6 script using NetrServerPasswordSet2 and then it doesn't get error.

You should use a virtual environment.
Make sure you’re using Python 3.6+

cd zerologon/
python3 -m venv venv
./venv/Scripts/activate

Ensure the env is active
python3 --version
pip install impacket just in-case venv doesn’t work, use --user

python3 setup.py install

from zerologon.

Aareon avatar Aareon commented on July 29, 2024

Hi There,

I`m facing the below issue please provide fix for this

Traceback (most recent call last):
File "set_empty_pw.py", line 3, in
from impacket.dcerpc.v5 import nrpc, epm
ModuleNotFoundError: No module named 'impacket.dcerpc'

Follow the same instructions in my previous comment

from zerologon.

Related Issues (12)

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.