Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output file is not obfuscated #4

Closed
qgrosperrin opened this issue Sep 23, 2020 · 2 comments
Closed

Output file is not obfuscated #4

qgrosperrin opened this issue Sep 23, 2020 · 2 comments

Comments

@qgrosperrin
Copy link

Tried obfuscating powerview but the output .ps1 file is not obfuscated.

± python3 PyFuscation.py -f --ps ./PowerView.ps1

------------------------------------------------------------------------------------------------------
_|_|_|              _|_|_|_|                                            _|      _|
_|    _|  _|    _|  _|        _|    _|    _|_|_|    _|_|_|    _|_|_|  _|_|_|_|        _|_|    _|_|_|
_|_|_|    _|    _|  _|_|_|    _|    _|  _|_|      _|        _|    _|    _|      _|  _|    _|  _|    _|
_|        _|    _|  _|        _|    _|      _|_|  _|        _|    _|    _|      _|  _|    _|  _|    _|
_|          _|_|_|  _|          _|_|_|  _|_|_|      _|_|_|    _|_|_|      _|_|  _|    _|_|    _|    _|
                _|
            _|_|

------------------------------------------------------------------------------------------------------
[+] Tool      : PyFuscation
[+] Author    : CB Hue
[+] Twitter   : @_cbhue_
[+] github    : https://github.com/CBHue
------------------------------------------------------------------------------------------------------

[!] Obfuscating: ./PowerView.ps1
sed: 1: "/<#/,/#>/c\\": extra characters after \ at the end of c command
sed: 1: "./09232020_14_53_02/092 ...": invalid command code .
[snipped]
[*] Replaced Remove-DomainGroupMember With: pasteurize
[*] Replaced Remove-DomainObjectAcl With: eradicating
[*] Replaced Remove-RemoteConnection With: giddy
[*] Replaced Resolve-IPAddress With: vertebrae
[*] Replaced Set-DomainObject With: rigidity
[*] Replaced Set-DomainObjectOwner With: serest
[*] Replaced Set-DomainUserPassword With: bulletins
[*] Replaced Split-Path With: assessors
[*] Replaced Test-AdminAccess With: sloths
[*] Replaced Test-Write With: selvedge
[*] Replaced psenum With: blandishments
[*] Replaced struct With: infinity

[-] Obfuscated Functions located  : ./09232020_14_53_02/09232020_14_53_02.functions
[-] Obfuscated script located at  : ./09232020_14_53_02/09232020_14_53_02.ps1
@qgrosperrin qgrosperrin changed the title Output file is not obfuscated... Output file is not obfuscated Sep 23, 2020
@qgrosperrin
Copy link
Author

@qgrosperrin
Copy link
Author

Nevermind, it was because I was running on MacOS and it must be a different sed implementation -_- ... It works fine on Kali

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant