Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/er28-0652/py-invoke-obfuscation

Python implementation of (just a part of) Invoke-Obfuscation for PowerShell
https://github.com/er28-0652/py-invoke-obfuscation

obfuscation powershell python3 redteam security

Last synced: 27 days ago
JSON representation

Python implementation of (just a part of) Invoke-Obfuscation for PowerShell

Awesome Lists containing this project

README

        

[![Actions Status](https://github.com/er28-0652/py-invoke-obfuscation/workflows/Main%20workflow/badge.svg)](https://github.com/er28-0652/py-invoke-obfuscation/actions)

# py-invoke-obfuscation

Python implementation of Invoke-Obfuscation for PowerShell.
Not fully implemented though ;)

## Usage
```python
from invoke_obfuscation.encoded_ascii_command import EncodedAsciiCommand

EncodedAsciiCommand.invoke('Write-Output AAAAA')
# -> [String]::Join('' , ( (87 , 114 , 105,116 , 101, 45, 79, 117 , 116 ,112, 117, 116,32 ,65,65,65 ,65 , 65) |%{ ( [CHaR] [INt]$_) } ))|.($ShellId[1]+$ShellId[13]+'x')
```