BC-SECURITY / Empire

Empire is a post-exploitation and adversary emulation framework that is used to aid Red Teams and Penetration Testers.
https://bc-security.gitbook.io/empire-wiki/
BSD 3-Clause "New" or "Revised" License
4.1k stars 566 forks source link

creds command produces exception #65

Closed Davewarrington closed 4 years ago

Davewarrington commented 4 years ago

Empire Version Latest 3.0.2

OS Information (Linux flavor, Python version) Kali 2019.4

Expected behavior and description of the error, including any actions taken immediately prior to the error. The more detail the better.

Issuing Creds Command produces "[!] Exception: 'str' object has no attribute 'decode'"

Screenshot of error, embedded text output, or Pastebin link to the error

Any additional information

Could be my build.. not really sure.

Hubbl3 commented 4 years ago

@Davewarrington can you give me some more context? were you interacting with an agent or was it from a specific menu? had you run a module such as invoke-mimikatz prior to the error?

I haven't been able to reproduce this error at this time.

Davewarrington commented 4 years ago

hey @Hubbl3 .

If i load empire, from scratch, nothing configured, and run creds . I receive the error. If i try to add creds it's the same issue. creds display seems to work ok. however, as expected it's blank.

Attached SS.

image

image

vinnybod commented 4 years ago

@Hubbl3 I can verify after attempting to add a credential, I get an error on the creds command in both python2 and python3

Hubbl3 commented 4 years ago

@Davewarrington I pushed a commit to 3.0.2-bug-fixes that addresses the problem let me know if that doesn't fix it for you

Davewarrington commented 4 years ago

Did a clean pull on the 3.02 and install .. first run ..

Traceback (most recent call last): File "empire", line 1426, in main = empire.MainMenu(args=args) File "/opt/Empire/lib/common/empire.py", line 114, in init self.listeners = listeners.Listeners(self, args=args) File "/opt/Empire/lib/common/listeners.py", line 43, in init self.load_listeners() File "/opt/Empire/lib/common/listeners.py", line 68, in load_listeners self.loadedListeners[listenerName] = imp.load_source(listenerName, filePath).Listener(self.mainMenu, []) File "/opt/Empire//lib/listeners/http.py", line 450 <<<<<<< HEAD ^ SyntaxError: invalid syntax

Hubbl3 commented 4 years ago

@Davewarrington it looks like something went wrong when we did a merge earlier today. I am trying to figure out what happened

Hubbl3 commented 4 years ago

@Davewarrington we missed a conflict clean up when merging. If you re-pull Empire it should be working now