Skip to content

Dynamic Variable Usage

Nikos Vourdas edited this page Jan 19, 2025 · 4 revisions

About

💁‍♂️ Optional command-line flag.

ℹ️ Dynamic variable name is used to insert the desired variable name for the shellcode payload. This approach adds flexibility to the output code by incorporating variables, improving its copy-and-paste utility. Use the -var switch with your preferred value. The default value is shellcode.

Usage Example

ℹ️ The following example illustrates how an adversary uses XOR encryption with the C# language option, setting the variable value to nickvourd:

./Supernova -input <path_to_raw_payload_file> -enc xor -lang csharp -key <key_size_number> -var nickvourd

Outcome:

Dynamic Variable Example

Clone this wiki locally