Comments (9)
@its0x08 This was addressed in #16 , do a git pull
and it should be fixed. If not comment below.
from crackmapexec.
Just made some changes that might resolve this, let me know if this is fixed
from crackmapexec.
not yet :/ .. same output again!
root@backbox:/home/its_0x08/Desktop/exploits/CrackMapExec# python crackmapexec.py -t 100 192.168.192.0-255
[] 192.168.192.71:445 is running Windows 6.1 Build 7601 (name:PC-20150922UBVI) (domain:PC-20150922UBVI)
[] 192.168.192.89:445 is running Windows 6.3 Build 9600 (name:LENOVO-PC) (domain:LENOVO-PC)
[_] 192.168.192.55:445 is running Windows 10.0 Build 10240 (name:HP) (domain:HP)
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
result = self._run(_self.args, **self.kwargs)
File "crackmapexec.py", line 2857, in connect
print_status("{}:{} is running {} (name:{}) (domain:{})".format(host, args.port, smb.getServerOS(), s_name, domain))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 5-6: ordinal not in range(128)
<Greenlet at 0xb535752cL: connect('192.168.192.146')> failed with UnicodeEncodeError
[_] 192.168.192.208:445 is running Windows 6.3 Build 9600 (name:CHERRY) (domain:CHERRY)
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
result = self._run(_self.args, **self.kwargs)
File "crackmapexec.py", line 2857, in connect
print_status("{}:{} is running {} (name:{}) (domain:{})".format(host, args.port, smb.getServerOS(), s_name, domain))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-11: ordinal not in range(128)
<Greenlet at 0xb49d593cL: connect('192.168.192.197')> failed with UnicodeEncodeError
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
result = self._run(_self.args, *_self.kwargs)
File "crackmapexec.py", line 2857, in connect
print_status("{}:{} is running {} (name:{}) (domain:{})".format(host, args.port, smb.getServerOS(), s_name, domain))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-2: ordinal not in range(128)
<Greenlet at 0xb49e202cL: connect('192.168.192.218')> failed with UnicodeEncodeError
^CKeyboardInterrupt
[*] Got CTRL-C! Exiting..
root@backbox:/home/its_0x08/Desktop/exploits/CrackMapExec#
from crackmapexec.
again and again ... --
root@backbox:/home/its_0x08/Desktop/exploits/CrackMapExec# python crackmapexec.py -t 100 192.168.205.0-255
[] 192.168.205.6:445 is running Windows 6.1 Build 7601 (name:HOME-PC) (domain:HOME-PC)
[] 192.168.205.61:445 is running Windows 6.1 Build 7601 (name:ASPIRE-PC) (domain:ASPIRE-PC)
[] 192.168.205.90:445 is running Windows 6.1 Build 7600 (name:MACBOOK-PRO-MACBOOK) (domain:MACBOOKPRO-8A48)
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
result = self._run(_self.args, **self.kwargs)
File "crackmapexec.py", line 2857, in connect
print_status("{}:{} is running {} (name:{}) (domain:{})".format(host, args.port, smb.getServerOS(), s_name, domain))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-5: ordinal not in range(128)
<Greenlet at 0xb6610d9cL: connect('192.168.205.28')> failed with UnicodeEncodeError
[] 192.168.205.118:445 is running Windows 6.3 Build 9600 (name:PC) (domain:PC)
[] 192.168.205.5:445 is running Windows 10.0 Build 10240 (name:HOME) (domain:HOME)
[_] 192.168.205.20:445 is running Windows 6.1 Build 7601 (name:GEOLOG) (domain:GEOLOG)
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
result = self._run(_self.args, **self.kwargs)
File "crackmapexec.py", line 2857, in connect
print_status("{}:{} is running {} (name:{}) (domain:{})".format(host, args.port, smb.getServerOS(), s_name, domain))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-5: ordinal not in range(128)
<Greenlet at 0xb65b966cL: connect('192.168.205.55')> failed with UnicodeEncodeError
[] 192.168.205.171:445 is running Windows 6.2 Build 9200 (name:IDEA-PC) (domain:IDEA-PC)
[] 192.168.205.77:445 is running Windows 6.3 Build 9600 (name:EKATERINAMESSI) (domain:EKATERINAMESSI)
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
result = self._run(_self.args, *_self.kwargs)
File "crackmapexec.py", line 2857, in connect
print_status("{}:{} is running {} (name:{}) (domain:{})".format(host, args.port, smb.getServerOS(), s_name, domain))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-8: ordinal not in range(128)
<Greenlet at 0xb49dcd4cL: connect('192.168.205.206')> failed with UnicodeEncodeError
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
result = self._run(_self.args, *_self.kwargs)
File "crackmapexec.py", line 2857, in connect
print_status("{}:{} is running {} (name:{}) (domain:{})".format(host, args.port, smb.getServerOS(), s_name, domain))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 4-5: ordinal not in range(128)
<Greenlet at 0xb49dc4dcL: connect('192.168.205.179')> failed with UnicodeEncodeError
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
result = self._run(_self.args, *_self.kwargs)
File "crackmapexec.py", line 2857, in connect
print_status("{}:{} is running {} (name:{}) (domain:{})".format(host, args.port, smb.getServerOS(), s_name, domain))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 6-7: ordinal not in range(128)
<Greenlet at 0xb535834cL: connect('192.168.205.138')> failed with UnicodeEncodeError
[] 192.168.205.224:445 is running Windows 10.0 Build 10240 (name:TOSHIBA-PC) (domain:TOSHIBA-PC)
[] 192.168.205.237:445 is running Windows 10.0 Build 10240 (name:TIMA-PC) (domain:TIMA-PC)
[] 192.168.205.213:445 is running Windows 6.3 Build 9600 (name:ALPHA-PC) (domain:ALPHA-PC)
[] 192.168.205.200:445 is running Windows 6.1 Build 7601 (name:GB-PK) (domain:GB-PK)
[] 192.168.205.116:445 is running Windows 6.3 Build 9600 (name:ROXYLLCFOX) (domain:ROXYLLCFOX)
[] 192.168.205.136:445 is running Windows 6.1 Build 7601 (name:ACER-PC) (domain:ACER-PC)
[_] 192.168.205.219:445 is running Windows 6.1 Build 7601 (name:BEST) (domain:BEST)
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
result = self._run(_self.args, **self.kwargs)
File "crackmapexec.py", line 2857, in connect
print_status("{}:{} is running {} (name:{}) (domain:{})".format(host, args.port, smb.getServerOS(), s_name, domain))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-8: ordinal not in range(128)
<Greenlet at 0xb53587acL: connect('192.168.205.152')> failed with UnicodeEncodeError
[_] 192.168.205.98:445 is running Windows 6.3 Build 9600 (name:VAIO) (domain:VAIO)
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
result = self._run(_self.args, **self.kwargs)
File "crackmapexec.py", line 2857, in connect
print_status("{}:{} is running {} (name:{}) (domain:{})".format(host, args.port, smb.getServerOS(), s_name, domain))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-9: ordinal not in range(128)
<Greenlet at 0xb65b9e3cL: connect('192.168.205.80')> failed with UnicodeEncodeError
[_] 192.168.205.195:445 is running Windows 6.1 Build 7601 (name:MIHAIL) (domain:MIHAIL)
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
result = self._run(_self.args, **self.kwargs)
File "crackmapexec.py", line 2857, in connect
print_status("{}:{} is running {} (name:{}) (domain:{})".format(host, args.port, smb.getServerOS(), s_name, domain))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 5-6: ordinal not in range(128)
<Greenlet at 0xb49eb57cL: connect('192.168.205.234')> failed with UnicodeEncodeError
^CKeyboardInterrupt
[*] Got CTRL-C! Exiting..
root@backbox:/home/its_0x08/Desktop/exploits/CrackMapExec#
from crackmapexec.
@its0x08 I'm going to need the hostname and domain name of the machine it's trying to connect to so I can reproduce this error
from crackmapexec.
wut? I just need the hostname and domain of the machine the script is trying to connect to
from crackmapexec.
Also you're not supposed to be running this Tool without permission. Closing.
from crackmapexec.
@its0x08 I closed it since you're unable to provide me the information that I need to fix this.
from crackmapexec.
I need the hostname and the domain name of the machine that the script throws the error on which isn't in the output's you posted
from crackmapexec.
Related Issues (20)
- State of CrackMapExec HOT 4
- git tag for v6.x
- New version compilation unsuccessful
- 'utf-8' codec can't decode byte 0xf1 HOT 6
- 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.