byt3bl33d3r / CrackMapExec

A swiss army knife for pentesting networks
BSD 2-Clause "Simplified" License
8.46k stars 1.64k forks source link

sys.excepthook is missing #132

Closed voidnecron closed 7 years ago

voidnecron commented 8 years ago

Steps to reproduce

  1. Fresh installed Kali 2016.2 amd64. Updated fully with apt-get update, upgrade, dist-upgrade.
  2. Followed steps for installing via virtualenvwrapper
  3. ???
  4. Profit not so much, crashes out with: (CME) root@kali:~# crackmapexec 10.0.2.15 09-29-2016 16:06:03 [] First time use detected 09-29-2016 16:06:03 [] Creating home directory structure 09-29-2016 16:06:03 [] Initializing the database 09-29-2016 16:06:03 [] Copying default configuration file 09-29-2016 16:06:03 [] Generating SSL certificate 09-29-2016 16:06:03 [] KTHXBYE! Unhandled exception in thread started by sys.excepthook is missing lost sys.stderr (CME) root@kali:~# crackmapexec 10.0.2.15 09-29-2016 16:06:15 [] KTHXBYE! Unhandled exception in thread started by sys.excepthook is missing lost sys.stderr (CME) root@kali:~# crackmapexec 10.0.2.15 -u administrator -p Pa$$w0rd 09-29-2016 16:06:45 [] KTHXBYE! Unhandled exception in thread started by sys.excepthook is missing lost sys.stderr

    Command string used

See above output

CME verbose output (using the --verbose flag)

Even less output with verbose flag.

OS

Kali 2016.2

Target OS

Win7, Win10

Detailed issue explanation

Not sure, I'm not a dev, mearly opssec curious.

byt3bl33d3r commented 8 years ago

@voidnecron Sorry for the late response been busy :/ I've tried reproducing this with no success, what version of python are you using?

byt3bl33d3r commented 8 years ago

just did some more digging and this actually seems to be a bug in Python itself http://bugs.python.org/issue11380 Did you ever get CME working and/or find a work around? really curious now lol Thanks!

byt3bl33d3r commented 7 years ago

Closing since I can't reproduce. Let me know if you encounter the same problem with v4.0