Comments (6)
did it get fixed or you found an fix? i have this too
from crackmapexec.
i maybe found a loop hole or a reason. test using another wordlist. rockyou is "UTF-8 text" but other wordlists are "ASCII text" and those will work.
but this dont fix the fact it cant read files that are "UTF-8 text", some people want/have to use the rockyou wordlist and cant do it right now
from crackmapexec.
i didn't fix
from crackmapexec.
Can be fixed by simply opening the rockyou.txt in a text editor like leafpad and in save as option use the UTF-8 encoding while saving this will solve the issue
from crackmapexec.
Can be fixed by simply opening the rockyou.txt in a text editor like leafpad and in save as option use the UTF-8 encoding while saving this will solve the issue
error say
"UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf1 in position 933: invalid continuation byte "
and checking rockyou.txt we get
$ file /usr/share/wordlists/rockyou.txt
/usr/share/wordlists/rockyou.txt: Unicode text, UTF-8 text
from crackmapexec.
Some of the wordlists I have downloaded from the inter-webs have had malformed utf-8 contents. You can run this Linux command to clean up the UTF-8 by removing any non UTF-8 characters:
sudo iconv -f utf-8 -t utf-8 -c rockyou.txt
or
sudo iconv -f utf-8 -t utf-8 -c rockyou.txt > rockyou_utf_8.txt (keep original rockyou.txt)
It's also wise to clean up any leading white-space since I don't know how john the ripper or other cracking applications will deal with it.
sed "s/^[ \t]*//" -i rockyou.txt
sed "s/^[ \t]*//" -i rockyou_utf_8..txt
┌──(kali㉿kali)-[~/CrackMapExec]
└─$ poetry run crackmapexec rdp 192.168.1.14 -u you -p /usr/share/wordlists/rockyou_utf_8.txt --no-brutepass
from crackmapexec.
Related Issues (20)
- State of CrackMapExec HOT 4
- git tag for v6.x
- New version compilation unsuccessful
- unable to run crackmapexec on kali 2023.2 HOT 4
- UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf1 in position 933: invalid continuation byte HOT 1
- cme wont read ANY password file
- API Authentication Error
- Delay between requests
- target needs to be first but program output says last
- ValueError: p must be exactly 1024, 2048, 3072, or 4096 bits long
- Traceback
- How to authenticate with AzureAD HOT 1
- Installing lxml (4.9.2): Failed
- --disks option is broken
- Failures when using modules (-M)
- Error while start
- Can't check many ID's from cmedb
- ValueError: too many values to unpack (expected 2) HOT 2
- Feature/extension: Free-form URLs for LNK files (slinky module) HOT 1
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 crackmapexec.