-
Notifications
You must be signed in to change notification settings - Fork 183
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
Not working on half of the scripts? #27
Comments
What version of bash are you using? Bashfuscator needs 4.0+ to work properly I believe |
bash --version
GNU bash, version 4.4.19(1)-release (x86_64-pc-linux-gnu)
…On Mon, Jan 27, 2020 at 5:40 PM Andrew LeFevre ***@***.***> wrote:
What version of bash are you using? Bashfuscator needs 4.0+ to work
properly I believe
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#27?email_source=notifications&email_token=ANXXMJ7MTLAH7HP6QGV75NLQ74MBHA5CNFSM4KL5INZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKAMSZQ#issuecomment-578865510>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANXXMJ5FZKAWCMBKUAHXSELQ74MBHANCNFSM4KL5INZA>
.
|
I love the idea and there are some neat tricks in Bashfuscator. Once it
gets stable and is widely useable it would be a great addition to the cheat
sheet.
skyper
…On Tue, Jan 28, 2020 at 8:59 AM root ***@***.***> wrote:
bash --version
GNU bash, version 4.4.19(1)-release (x86_64-pc-linux-gnu)
On Mon, Jan 27, 2020 at 5:40 PM Andrew LeFevre ***@***.***>
wrote:
> What version of bash are you using? Bashfuscator needs 4.0+ to work
> properly I believe
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#27?email_source=notifications&email_token=ANXXMJ7MTLAH7HP6QGV75NLQ74MBHA5CNFSM4KL5INZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKAMSZQ#issuecomment-578865510>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ANXXMJ5FZKAWCMBKUAHXSELQ74MBHANCNFSM4KL5INZA>
> .
>
|
I agree, this is an interesting idea but unfortunately don't work on real bash scripts with medium level of complexity. Also, script arguments seems to wont work either : Original
Obfuscated
|
I thought it was nice until I found the same issue. Even with a quite newish bash (e.g. CentOS 8), most scripts are useless when obfuscated by bashfuscator. Found |
Love the idea but it does not seem to be reliable. Tested on a few scripts and 50% just wont work.
Here is a simple script that wont work (example):
john@hax-vm:~/research/Bashfuscator$ cat script.sh
#! /bin/bash
echo hello
for x in
seq 1 10
; do echo test $x; donedate
j@hax-vm:
/research/Bashfuscator$ bashfuscator -f script.sh -o script-mutated.sh &>/dev/null/research/Bashfuscator$ chmod 700 script-mutated.shj@hax-vm:
j@hax-vm:
/research/Bashfuscator$ ./script-mutated.sh6} ; ${/+.q1f\/(yTSw} p"r"i${,}ntf %s "${tCzgy~~}" ${@##emo6Vrs|} "${@%%L~Zrw"t}" $@ )" ${^} ${*%%_U{$Vmvk}./script-mutated.sh: line 6: "${@/pD.H/s:C?$`Q9}" ${@/K\C
DATE$@ <<< "$ ( tCzgy=ECHO: No such file or directory
FOR X IN
SEQ 1 10
; DO ECHO TEST $X; DONE${//bXY9dT(/8Z?v-0} ${!#} ${//nV~83AGv}
The text was updated successfully, but these errors were encountered: