mirror of
https://github.com/EgeBalci/sgn
synced 2026-06-08 10:56:31 +00:00
e2ccc66ff3
This commit also optimizes bad-byte checking and improves code style. - fix(main): Correct payload selection logic for ASCII and bad byte constraints - refactor(main): Improve readability of payload selection conditions - fix(sgn): Correct register definitions for ESI, EDI, and RDI - fix(sgn): Remove PUSH/POP of RSP from x64 register save/restore opcodes - fix(sgn): Rework random register selection to prevent returning invalid registers - perf(utils): Optimize `ContainsBytes` by using `bytes.IndexByte` - style(utils): Export `ContainsBytes` function - chore(main): Remove unused `bytes` import