byt3bl33d3r / CrackMapExec

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

Binary File Not Working Upon Making it Executable #371

Closed jsarkisian closed 4 years ago

jsarkisian commented 4 years ago

When downloading the latest Ubuntu binary, chmod-ing, and running, I get the following:

File "./cme", line 2 SyntaxError: Non-UTF-8 code starting with '\xbb' in file ./cme on line 3, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

Expected behavior:

CME runs as expected

Running on:

RPi 4 Linux Kali 4.19.93-Re4son-v8l+ #1 SMP PREEMPT Tue Jan 7 22:53:24 UTC 2020 aarch64 GNU/Linux

mpgn commented 4 years ago

This one https://github.com/byt3bl33d3r/CrackMapExec/releases/tag/v5.0.1dev ?

jsarkisian commented 4 years ago

https://github.com/byt3bl33d3r/CrackMapExec/actions/runs/95564438

I am apparently looking in the wrong place?

mpgn commented 4 years ago

No it's ok, when you unzip the archive, can you just try python3 cme ?

jsarkisian commented 4 years ago

All set! That worked... thinking I had some weird file transfer corruption or something. Thanks!