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

[BUG] slack token error when agent connected #181

Closed
ghost5egy opened this issue Apr 18, 2020 · 2 comments · Fixed by #186
Closed

[BUG] slack token error when agent connected #181

ghost5egy opened this issue Apr 18, 2020 · 2 comments · Fixed by #186
Labels
bug Something isn't working

Comments

@ghost5egy
Copy link

Empire Version

  • Empire 3.x

OS Information (Linux flavor, Python version)

  • OS: debian
  • Python: 3

Describe the bug
I got this message when agent register on empire if I set the slack token :
TypeError: POST data should be bytes, an iterable of bytes, or a file object. It cannot be of type str.

the I lose the agent it goes to loop trying to register vise versa
To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
I think it's caused because of shifting from python 2 to python3 .

Screenshots
none
Additional context
nope

@ghost5egy ghost5egy added the bug Something isn't working label Apr 18, 2020
@Cx01N
Copy link

Cx01N commented Apr 18, 2020

@ghost5egy We must have missed a few lines during the python3 conversion. I will see about getting this fixed in a future release. We also take PRs if you think you can fix it. Thanks.

@Cx01N
Copy link

Cx01N commented Apr 22, 2020

@ghost5egy @Gl3bGl4z
I fixed the slack encoding issue, however, it looks like slack is dropping legacy API support and will discontinue token creation on May 5th. I recommend getting a new token ASAP before they drop that functionality. Especially since it may be some time before we update the slack functionality to work with the newer API.

@Cx01N Cx01N closed this as completed Apr 27, 2020
vinnybod added a commit that referenced this issue Jul 27, 2021
* fixed invoke-obfuscation issue when files not loaded during install/reset

* Update install.sh

* update dockerfile to ensure invoke obfuscation is properly installed (#184)

Co-authored-by: Vincent Rose <vrose04@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants