PoshC2
PoshC2 copied to clipboard
[BUG]
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:
- 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
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