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] #275

Open
RedTeamMagic opened this issue Oct 19, 2022 · 0 comments
Open

[BUG] #275

RedTeamMagic opened this issue Oct 19, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@RedTeamMagic
Copy link

Description

Error in python dropper

Execution Environment:

All of this must be filled in

Data Value
Full Posh version (all the text between the === at the top of the Implant Handler) PoshC2 v8.1 (7b5a881 2022-08-07 19:12:53)
OS & version Debian 5.10.113-1 GNU/Linux 11 (bullseye)
Using Docker/containerisation? No

Implant Info

  • What implant does the problem occur on? Python
  • How was the implant created? Running a default payload

Defensive Technologies

  • Is the target environment running any particular defensive products? No

To Reproduce

Steps to reproduce the behavior:

  1. Running a default python dropper, both py_dropper.py and py_dropper.sh

Expected behavior

The dropper to run without python errors.
I am getting the errors:
Error in part 1: non-integer arg 1 for randrange()
Error in part 2: 'utf-8' codec can't decode byte 0x91 in position 0: invalid start byte

When running the default python dropper, the bash dropper for python, and the decoded version of the payload. I've tried with a couple different versions of python3 including python 3.10.4

Screenshots

image
image

Attach files if required

Additional context

Not sure what the problem is, curious if anyone else has python error when running the default python dropper

@RedTeamMagic RedTeamMagic added the bug Something isn't working label Oct 19, 2022
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

No branches or pull requests

1 participant