Skip to content

Conversation

@X0RW3LL
Copy link

@X0RW3LL X0RW3LL commented Aug 21, 2024

This PR builds on the work of @daniruiz and other contributors. It addresses all the major repeating issues and outstanding PRs submitted, but never merged to-date.

Fixes include encoding and mixed indentation issues, Python 3 port, as well as Python 3.12 Syntax Warnings.

daniruiz and others added 7 commits August 21, 2024 14:35
* UTF-8 codecs are used for reading files, encoding and decoding operations.
  The correct codecs to use should be Latin-1. Reason being that UTF-8 does not
  include 0xFE and 0xFF.
  .
  This poses a significant issue that goes unnoticed during testing, but affects
  core functionality. Since raw shellcode, which is essentially read from a
  file, may contain those characters, subsequent encoding/decoding is going
  to be incorrect, thus affecting the final payload which breaks at runtime.
  .
  For more information, please refer to the following links:
  https://en.wikipedia.org/wiki/UTF-8
  https://en.wikipedia.org/wiki/ISO/IEC_8859-1
  https://docs.python.org/3/howto/unicode.html#id2
  https://datatracker.ietf.org/doc/html/rfc3629#section-3
* Closes mdsecactivebreach#29
* Closes mdsecactivebreach#34
* Closes mdsecactivebreach#37
* Fixes mdsecactivebreach#42
This commit addresses Python 3.12 Syntax Warnings. This is done in
preparation for Python 3.12 becoming the default python interpreter
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

Successfully merging this pull request may close these issues.

2 participants