Giter Club home page Giter Club logo

Comments (11)

wumb0 avatar wumb0 commented on July 19, 2024 7

a note: use a virtualenv to make your life easier...

python3 -m pip install virtualenv
python3 -m virtualenv impkt
source impkt/bin/activate
(or on windows .\impkt\Scripts\activate.ps1)
pip install git+https://github.com/SecureAuthCorp/impacket

then run the POC.
sourcing the activate script will put the virtualenv's module dirs first so you shouldn't run into the same issues involving pulling an old version from some place.

from cve-2020-1472.

andreluna avatar andreluna commented on July 19, 2024 2

First one: Run on Linux system.
Remove impacket (if installed / Kali Distro):

apt remove --purge impacket-scripts python3-impacket
apt autoremove

Download de Impacket:
https://github.com/SecureAuthCorp/impacket

And run in folder:
pip install .

Result:
Capturar

from cve-2020-1472.

dirkjanm avatar dirkjanm commented on July 19, 2024

Make sure you uninstall all previous versions of impacket and install the latest from github source https://github.com/SecureAuthCorp/impacket
Or run it from a virtualenv to make sure it doesn't conflict with other impacket installations.

from cve-2020-1472.

anixet avatar anixet commented on July 19, 2024

Dear sir, I have reinstall impackets ,but find a new error!
捕获

from cve-2020-1472.

nop5L3D avatar nop5L3D commented on July 19, 2024

I am also having the same issue. I followed the instructions to remove the packages with apt and redownloaded and installed.

Error:
AttributeError: module 'impacket.dcerpc.v5.nrpc' has no attribute 'NetrServerPasswordSet2'

from cve-2020-1472.

TheWeasel1150 avatar TheWeasel1150 commented on July 19, 2024

Same error here:
AttributeError: module 'impacket.dcerpc.v5.nrpc' has no attribute 'NetrServerPasswordSet2'

from cve-2020-1472.

GHULI3V avatar GHULI3V commented on July 19, 2024

i have a some problem in windows machine. But in kali worked

from cve-2020-1472.

DCAU7 avatar DCAU7 commented on July 19, 2024

I kept getting the "AttributeError: module 'impacket.dcerpc.v5.nrpc' has no attribute 'NetrServerPasswordSet2'" as well, but after many, many hours, I was able to fix it.

So, you definitely need to start with a fresh copy of the latest impacket.

Follow the instructions from andreluna (repeated below):

apt remove --purge impacket-scripts python3-impacket
apt autoremove

Download the latest Impacket from: https://github.com/SecureAuthCorp/impacket

Change into that folder and then do the following:
pip install .

Note the [dot] above.

This still didn't fix it for me, but it is the right path.

Then type and press Enter after:

python3 setup.py install

It should then start to install and copy a number of scripts/libraries etc.

Once this finishes, you can then change into the CVE-2020-1472 folder and run the command.

Note: I was then prompted to install pyfiglet and termcolor.

This all requires the use of python3, so make sure that you install pyfiglet and termcolor using pip3.

Hope this works for you.

Cheers,
Darren

from cve-2020-1472.

discover2019 avatar discover2019 commented on July 19, 2024

we had same issue, we uninstalled older python versions, we end-up using 3.8 python version on Linux CentOS and 3.6 python worked for us in Windows 10. we used impacket latest version as Github recommended.

from cve-2020-1472.

manasmbellani avatar manasmbellani commented on July 19, 2024

@DCAU7 your solution worked. I also had to run the following commands to uninstall impacket via pip - I just added all possible names that impacket may be installed with:

python3 -m pip uninstall impacket python-impacket python3-impacket

from cve-2020-1472.

dirkjanm avatar dirkjanm commented on July 19, 2024

Hope the directions above help people, it's not something I can fix from here as it's impacket related, so closing.

from cve-2020-1472.

Related Issues (10)

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.