Git Product home page Git Product logo

Comments (7)

maaaaz avatar maaaaz commented on July 20, 2024 1

@byt3bl33d3r
If the fix you provided is OK, you should also apply it to every print_*() call.

from crackmapexec.

maaaaz avatar maaaaz commented on July 20, 2024

Attaching a pcap file might help.

from crackmapexec.

its0x08 avatar its0x08 commented on July 20, 2024

thats all I can attach 👍
root@backbox:/home/its_0x08/Desktop/exploits/CrackMapExec# python crackmapexec.py -t 100 list.txt
[] 192.168.195.1:445 is running Windows 6.3 Build 9600 (name:ACER) (domain:ACER)
[
] 192.168.195.0:445 is running Windows 6.1 Build 7600 (name:КАМИЛЛА-ПК) (domain:КАМИЛЛА-ПК)
[] 192.168.202.0:445 is running Windows 6.3 Build 9600 (name:HP) (domain:HP)
[
] 192.168.196.0:445 is running Windows 10.0 Build 10240 (name:CLAUDE-PC) (domain:CLAUDE-PC)
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 2929, in connect
smb.logoff()
File "/usr/local/lib/python2.7/dist-packages/impacket/smbconnection.py", line 296, in logoff
return self._SMBConnection.logoff()
File "/usr/local/lib/python2.7/dist-packages/impacket/smb3.py", line 1234, in logoff
ans = self.recvSMB(packetID)
File "/usr/local/lib/python2.7/dist-packages/impacket/smb3.py", line 356, in recvSMB
data = self._NetBIOSSession.recv_packet(self._timeout)
File "/usr/local/lib/python2.7/dist-packages/impacket/nmb.py", line 855, in recv_packet
data = self.__read(timeout)
File "/usr/local/lib/python2.7/dist-packages/impacket/nmb.py", line 933, in __read
data = self.read_function(4, timeout)
File "/usr/local/lib/python2.7/dist-packages/impacket/nmb.py", line 918, in non_polling_read
raise NetBIOSTimeout
NetBIOSTimeout: The NETBIOS connection with the remote host timed out.
<Greenlet at 0xb650dc0cL: connect('192.168.202.0')> failed with NetBIOSTimeout

^CKeyboardInterrupt
[*] Got CTRL-C! Exiting..

from crackmapexec.

byt3bl33d3r avatar byt3bl33d3r commented on July 20, 2024

@its0x08 check the new version out

from crackmapexec.

its0x08 avatar its0x08 commented on July 20, 2024

now this unicode error happen' again .. :3
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 "/home/its_0x08/Desktop/exploits/CrackMapExec/core/maingreenlet.py", line 64, in connect
smb = smart_login(host, smb, domain)
File "/home/its_0x08/Desktop/exploits/CrackMapExec/core/smartlogin.py", line 135, in smart_login
print_succ("{}:{} Login successful {}{}:{}".format(host, settings.args.port, domain, user, passwd))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-2: ordinal not in range(128)
<Greenlet at 0xb52e9f7cL: connect('192.168.192.161')> 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 "/home/its_0x08/Desktop/exploits/CrackMapExec/core/maingreenlet.py", line 64, in connect
smb = smart_login(host, smb, domain)
File "/home/its_0x08/Desktop/exploits/CrackMapExec/core/smartlogin.py", line 140, in smart_login
print_error("{}:{} {}{}:{} {}".format(host, settings.args.port, domain, user, passwd, e))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-11: ordinal not in range(128)
<Greenlet at 0xb528211cL: connect('192.168.192.165')> failed with UnicodeEncodeError

from crackmapexec.

byt3bl33d3r avatar byt3bl33d3r commented on July 20, 2024

@its0x08 my bad, should be fixed now

from crackmapexec.

its0x08 avatar its0x08 commented on July 20, 2024

now is good 👍

from crackmapexec.

Related Issues (20)

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.