Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError when executing module via API #92

Closed
vinnybod opened this issue Feb 1, 2020 · 0 comments
Closed

AttributeError when executing module via API #92

vinnybod opened this issue Feb 1, 2020 · 0 comments

Comments

@vinnybod
Copy link

vinnybod commented Feb 1, 2020

Empire Version

3.0.6

OS Information (Linux flavor, Python version)

Debian Buster, Python 3.7.5 (Docker build)

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

When attempting to execute a module on an agent using the API, it doesn't execute and the response comes back with

AttributeError("'str' object has no attribute 'decode'")

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

AttributeError("'str' object has no attribute 'decode'")

Any additional information

I've tried multiple modules, and they all come back with that response.

Cx01N added a commit that referenced this issue Feb 1, 2020
vinnybod added a commit that referenced this issue Feb 1, 2020
Co-authored-by: Anthony Rose <anthonyrose88@gmail.com>
@vinnybod vinnybod closed this as completed Feb 1, 2020
Cx01N added a commit that referenced this issue Feb 5, 2020
* Fixed str decode error in API - #92

* Fixed stager outfile bytes error using API

* Fixed python3 conversion errors for backdoorlnkmacro

* Fixed zipfile error in multi/war

* Added string encoding check to osx/dylib

* Fixed byte errors in osx/macho launcher

* Fixed byte and system errors in osx/pkg generation

* Removed print statement in lnk launcher

* Removed debug statements

* Fixed exception error in autorun queue - #95

* Cleaned up save_file in agents.py

* Updated version

* Updated changelog
vinnybod pushed a commit that referenced this issue Jul 27, 2021
* not working, just saving rsa conversion and pycryptodome

* fixed pycryptodome functions

* cleaned up code

* readded requirements files

* updated changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant