aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorheqnx <root@heqnx.com>2025-05-22 19:04:11 +0300
committerheqnx <root@heqnx.com>2025-05-22 19:04:11 +0300
commitac3cf7613767d06c34c2c79c19859587c27974b8 (patch)
tree3aa9332b10d7647b60a34153a8684ecb0254e5e2
parent30b700c5f77c71e37682dc3968db72bad4752eca (diff)
downloadgo-shellcode2uuid-main.tar.gz
go-shellcode2uuid-main.zip
updated readmeHEADmain
-rw-r--r--README.md4
-rw-r--r--main.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 8cc7bfe..2ed5c03 100644
--- a/README.md
+++ b/README.md
@@ -1,13 +1,13 @@
# go-shellcode2uuid
-`go-shellcode2uuid` is an offensive security utility that encodes arbitrary binary shellcode into UUID strings, generating Python, C and Rust stubs to decode and execute the shellcode at runtime. It supports Linux and Windows platforms, with optional single-byte XOR or 16bit random key RC4 encryption/decryption for obfuscation. This is a golang implementation of the popular technique written in many other programming lanauges by multiple authors.
+`go-shellcode2uuid` is an offensive security utility that encodes arbitrary binary shellcode into UUID strings, generating Python, C, CSharp and Rust stubs to decode and execute the shellcode at runtime. It supports Linux and Windows platforms, with optional single-byte XOR or 16bit random key RC4 encryption/decryption for obfuscation. This is a golang implementation of the popular technique written in many other programming lanauges by multiple authors.
> **WARNING**: This tool is intended for **authorized security assessments only**. Misuse may violate laws or regulations. The author disclaims any responsibility for unlawful use. Always obtain explicit permission before conducting any security tests.
## Features
- **UUID encoding**: Converts raw shellcode bytes into UUID string literals for easy embedding.
-- **Multi-platform stubs**: Generates testing stubs for Python, C (Linux and Windows), Rust (Linux and Windows).
+- **Multi-platform stubs**: Generates testing stubs for Python, C (Linux and Windows), CSharp, Rust (Linux and Windows).
- **XOR or RC4 encryption**: Supports single-byte XOR or 16bit RC4 random key encryption/decryption for lightweight obfuscation.
- **Automatic shellcode padding**: Pads shellcode to a multiple of 16 bytes to fit UUID size.
diff --git a/main.go b/main.go
index a6853ee..2e90cf9 100644
--- a/main.go
+++ b/main.go
@@ -586,7 +586,7 @@ fn main() {
func main() {
filePath := flag.String("file", "", "path to binary shellcode file")
- stubLang := flag.String("stub", "", "stub language to output (py, c, cwin, rs)")
+ stubLang := flag.String("stub", "", "stub language to output (py, c, cwin, cs, rs)")
xorFlag := flag.Bool("xor", false, "enable single-byte xor encoding with random key")
rc4Flag := flag.Bool("rc4", false, "enable rc4 encryption with 16bit random key")
flag.Parse()