Git Product home page Git Product logo

Comments (4)

byt3bl33d3r avatar byt3bl33d3r commented on July 20, 2024

@maaaaz yup, it should be converted to unicode only when printing, I'll take care of this today. Thanks!

from crackmapexec.

byt3bl33d3r avatar byt3bl33d3r commented on July 20, 2024

@maaaaz this should be fixed, if not comment below

from crackmapexec.

maaaaz avatar maaaaz commented on July 20, 2024

I confirm that this is fixed.
Thanks!

from crackmapexec.

maaaaz avatar maaaaz commented on July 20, 2024

But as I'm reviewing the Service Interaction module I can experience the same errors for service names, display etc. :

(venvcrackmapexec)root@kali:~/Partage/CrackMapExec# python ../CrackMapExec_fork/crackmapexec.py 192.168.11.136 -u administrator -p <password>  --service create --name àloléservice --display àloléservice --bin-path "C:\àloléservice.exe"
12-20-2015 17:02:44 [*] 192.168.11.136:445 is running Windows 6.3 Build 9600 (name:DC01) (domain:ADYOLO)
12-20-2015 17:02:44 [+] 192.168.11.136:445 Login successful ADYOLO\administrator:<password>
CRITICAL:root:'ascii' codec can't decode byte 0xc3 in position 0: ordinal not in range(128)

I fixed these errors with the PR #62

(venvcrackmapexec)root@kali:~/Partage/CrackMapExec# python ../CrackMapExec_fork/crackmapexec.py 192.168.11.136 -u administrator -p <password>  --service create --name àloléservice --display àloléservice --bin-path "C:\àloléservice.exe" --verbose
12-20-2015 17:14:26 [*] 192.168.11.136:445 is running Windows 6.3 Build 9600 (name:DC01) (domain:ADYOLO)
12-20-2015 17:14:26 [+] 192.168.11.136:445 Login successful ADYOLO\administrator:<password>
12-20-2015 17:14:26 Trying protocol 445/SMB...
12-20-2015 17:14:26 [*] 192.168.11.136:445 Creating service àloléservice
12-20-2015 17:14:26 SCMR SessionError: code: 0x431 - ERROR_SERVICE_EXISTS - The specified service already exists.
(venvcrackmapexec)root@kali:~/Partage/CrackMapExec# python ../CrackMapExec_fork/crackmapexec.py 192.168.11.136 -u administrator -p <password> --service status --name àloléservice
12-20-2015 17:17:15 [*] 192.168.11.136:445 is running Windows 6.3 Build 9600 (name:DC01) (domain:ADYOLO)
12-20-2015 17:17:15 [+] 192.168.11.136:445 Login successful ADYOLO\administrator:<password>
12-20-2015 17:17:15 [+] 192.168.11.136:445 Service status for àloléservice:
12-20-2015 17:17:15 àloléservice - STOPPED

By the way, a specific SCMR exception should be caught: it seems that it does exist in impacket code.

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.