An open API service indexing awesome lists of open source software.

https://github.com/5noxi/base64-wrapper

Obfuscates your script by using B64 - Adjustable Iterations.
https://github.com/5noxi/base64-wrapper

b64 base64 encoding obfuscation obfuscator powershell security tool wrapper

Last synced: 6 months ago
JSON representation

Obfuscates your script by using B64 - Adjustable Iterations.

Awesome Lists containing this project

README

          

# Base64-Wrapper
Obfuscates your script by using [B64](https://www.base64decode.org/) - iterations make the file **very large very quickly**, so test until when it is still usable or use the default (1). Uses randomized predefined obfuscated commands.

## How it works
1. Gets content of input
2. Converts content to b64 & uses randomized MBA obfuscated iex command & strings
3. Writes encoded content into
```
iex([System.Text.Encoding]::UTF8.GetString([Convert]::FromBase64String(b64payload)))
```
4. Does this as often as you want (iterations)

**Obfuscated `UTF8` example:**
```
([char](((-15212 -Band 4405) + (-15212 -Bor 4405) + 3213 + 7679))+[char](((-1237 -Band 5295) + (-1237 -Bor 5295) - 8168 + 4226))+[char](((3833 -Band 616) + (3833 -Bor 616) + 1393 - 5772))+[char](((-1442 -Band 9351) + (-1442 -Bor 9351) - 9352 + 1499)))
```

## Usage
`nvi` -> Input

`nvo` -> Output

`. \NV-Wrapper.ps1; main -nvi ".\Test.ps1" -nvo ".\Wrapped.ps1" -iterations 1`

Using too many iterations will end in a **big** file!

Preview:
![b64pre](https://github.com/5Noxi/Base64-Wrapper/blob/main/wrapper.png?raw=true)
**Before & after:**
![before](https://github.com/5Noxi/Base64-Wrapper/blob/main/before.png?raw=true)
![after](https://github.com/5Noxi/Base64-Wrapper/blob/main/after.png?raw=true)

## Disclaimer
Do not use the encoder to create malware, **I take no responsibility for the abuse of this tool.**

## Discord Server
- https://discord.gg/E2ybG4j9jU