We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi! I am having trouble finding out as to why the functions are not obfuscating in my small script:
test1.ps1--------------- function runmefor-fun { $variablenopurpose = "no purpose" Write-Host $variablenopurpose } #commment runmefor-fun #hi
My command line is: chameleon.py -l 1 -o OUTPUT.ps1 -v -c -f Test1.ps1
and my output file is this: --------------------------------
function runmefor-fun { Write-Host "Hey!" $pretendreallylongobfuscationishortenedfordisplay = "no purpose" Write-Host $pretendreallylongobfuscationishortenedfordisplay
} #commentthatislong runmefor-fun #commentthatislong
any ideas as to why this will not work?
The text was updated successfully, but these errors were encountered:
Hi @AnnaMachovec, thanks for that! I've seen this behaviour before, seems like chameleon misses some functions. I need to investigate it further.
Sorry, something went wrong.
If it helps, it seems not to work for functions with no parameters. When I give the function a parameter, it then works!
No branches or pull requests
Hi!
I am having trouble finding out as to why the functions are not obfuscating in my small script:
test1.ps1---------------
function runmefor-fun {
$variablenopurpose = "no purpose"
Write-Host $variablenopurpose
}
#commment
runmefor-fun
#hi
My command line is:
chameleon.py -l 1 -o OUTPUT.ps1 -v -c -f Test1.ps1
and my output file is this: --------------------------------
function runmefor-fun {
Write-Host "Hey!"
$pretendreallylongobfuscationishortenedfordisplay = "no purpose"
Write-Host $pretendreallylongobfuscationishortenedfordisplay
}
#commentthatislong
runmefor-fun
#commentthatislong
any ideas as to why this will not work?
The text was updated successfully, but these errors were encountered: