Comments (11)
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.
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 .
from cve-2020-1472.
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.
Dear sir, I have reinstall impackets ,but find a new error!
from cve-2020-1472.
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.
Same error here:
AttributeError: module 'impacket.dcerpc.v5.nrpc' has no attribute 'NetrServerPasswordSet2'
from cve-2020-1472.
i have a some problem in windows machine. But in kali worked
from cve-2020-1472.
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.
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.
@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.
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)
- python37 attack fail HOT 2
- Restore Steps HOT 1
- Error while restoring password
- socket.gaierror: [Errno -2] Name or service not known HOT 2
- modify secretsdump.py to print hex values HOT 3
- No results running secretsdump.py HOT 7
- Does not work with python 2 and 3.5 HOT 9
- close
- Question - isn't it supposed to clear password? Successful however I can still login to DC. Host that I am executing script is not tied to victim DC, may be that is the problem. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cve-2020-1472.