Haha

Download Raw Clone


  1. <?php
  2. date_default_timezone_set('Asia/Jakarta');
  3. $end="\033[0m";
  4. $black="\033[0;30m";
  5. $blackb="\033[1;30m";
  6. $white="\033[0;37m";
  7. $whiteb="\033[1;37m";
  8. $red="\033[0;31m";
  9. $redb="\033[1;31m";
  10. $green="\033[0;32m";
  11. $greenb="\033[1;32m";
  12. $yellow="\033[0;33m";
  13. $yellowb="\033[1;33m";
  14. $blue="\033[0;34m";
  15. $blueb="\033[1;34m";
  16. $purple="\033[0;35m";
  17. $purpleb="\033[1;35m";
  18. $lightblue="\033[0;36m";
  19. $lightblueb="\033[1;36m";
  20. function minTen($s, $m) {
  21. $m2 = "0".$m;
  22. if ($s != 0) {
  23. $s = $s-1;
  24. if ($s<10 OR $s == 0) {
  25. $s2 = "0".$s;
  26. $time = $m2.":".$s2;
  27. return $time;
  28. } else {
  29. $time = $m2.":".$s;
  30. return $time;
  31. }
  32. } else if ($s == 0) {
  33. $m = $m-1;
  34. $s = 59;
  35. $time = "0".$m.":".$s;
  36. return $time;
  37. }
  38. }
  39. function plusTen($s, $m) {
  40. $m = $m;
  41. if ($s != 0) {
  42. $s = $s-1;
  43. if ($s<10 OR $s == 0) {
  44. $s2 = "0".$s;
  45. $time = $m.":".$s2;
  46. return $time;
  47. } else {
  48. $time = $m.":".$s;
  49. return $time;
  50. }
  51. } else if ($s == 0) {
  52. $m = $m-1;
  53. $s = 59;
  54. $time = "0".$m.":".$s;
  55. return $time;
  56. }
  57. }
  58. function algoTime($s, $m) {
  59. if ($m < 10) {
  60. $time = minTen($s, $m);
  61. return $time;
  62. } else {
  63. $time = plusTen($s,$m);
  64. return $time;
  65. }
  66. }
  67. function timer($i) {
  68. global $redb;
  69. global $blueb;
  70. global $yellowb;
  71. global $whiteb;
  72. global $purpleb;
  73. if ($i > 0) {
  74. $s = $i%60;
  75. $m = floor($i/60);
  76. $time = algoTime($s, $m);
  77. echo $purpleb." [".date("H:i:s")."]".$yellowb." Wait ".$whiteb."[".$time."]".$yellowb." For Next Claim\r";
  78. sleep(1);
  79. echo "\r \r";
  80. timer($i-1);
  81. }
  82. }
  83. function ex($a,$b,$res){
  84. $a = explode($a,$res);
  85. $b = explode($b,$a[1]);
  86. return $b[0];
  87. }
  88. function cok() {
  89. global $proxy;
  90. $ch = curl_init('https://allowweb.com/cryptohouse/');
  91. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  92. curl_setopt($ch, CURLOPT_PROXY, $proxy);
  93. curl_setopt($ch, CURLOPT_HEADER, 1);
  94. curl_setopt($ch, CURLOPT_TIMEOUT, 30);
  95. $result = curl_exec($ch);
  96. preg_match_all('/^Set-Cookie:\s*([^;]*)/mi', $result, $matches);
  97. global $item;
  98. $cookies = array();
  99. foreach($matches[1] as $item) {
  100. parse_str($item, $cookie);
  101. $cookies = array_merge($cookies, $cookie);
  102. }
  103. }
  104. function login($data,$item) {
  105. $ch = curl_init();
  106. global $proxy;
  107. curl_setopt($ch, CURLOPT_URL, 'https://allowweb.com/cryptohouse/index.php/user/login');
  108. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  109. curl_setopt($ch, CURLOPT_PROXY, $proxy);
  110. curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
  111. curl_setopt($ch, CURLOPT_POST, 1);
  112. curl_setopt($ch, CURLOPT_ENCODING, 'gzip, deflate');
  113. $headers = array();
  114. $headers[] = "Host: allowweb.com";
  115. $headers[] = "user-agent: Mozilla/5.0 (Linux; Android 9; Redmi Note 4 Build/PQ3A.190705.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/74.0.3729.157 Mobile Safari/537.36";
  116. $headers[] = "referer: https://allowweb.com/cryptohouse/";
  117. $headers[] = "content-type: application/x-www-form-urlencoded";
  118. $headers[] = "cookie: {$item}";
  119. curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
  120. $result = curl_exec($ch);
  121. $info = curl_getinfo($ch);
  122. $info_code = $info["http_code"];
  123. if($info_code == 303) {
  124. print"Succsess Login\n";
  125. }else{
  126. print"Failed Login\n";
  127. }
  128. return $info_code;
  129. }
  130. function dash($item) {
  131. $ch = curl_init();
  132. global $proxy;
  133. curl_setopt($ch, CURLOPT_URL, 'https://allowweb.com/cryptohouse/index.php/dashboard');
  134. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  135. curl_setopt($ch, CURLOPT_PROXY, $proxy);
  136. curl_setopt($ch, CURLOPT_ENCODING, 'gzip, deflate');
  137. $headers = array();
  138. $headers[] = "Host: allowweb.com";
  139. $headers[] = "user-agent: Mozilla/5.0 (Linux; Android 9; Redmi Note 4 Build/PQ3A.190705.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/74.0.3729.157 Mobile Safari/537.36";
  140. $headers[] = "referer: https://allowweb.com/cryptohouse/";
  141. $headers[] = "content-type: application/x-www-form-urlencoded";
  142. $headers[] = "cookie: {$item}";
  143. curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
  144. $result = curl_exec($ch);
  145. $info = curl_getinfo($ch);
  146. $info_code = $info["http_code"];
  147. if($info_code == 200) {
  148. return $result;
  149. }
  150. }
  151. function reff($item) {
  152. $ch = curl_init();
  153. global $proxy;
  154. curl_setopt($ch, CURLOPT_URL, 'https://allowweb.com/cryptohouse/index.php/friends/validate');
  155. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  156. curl_setopt($ch, CURLOPT_PROXY, $proxy);
  157. $data = "friend_code=3vfk5";
  158. curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
  159. curl_setopt($ch, CURLOPT_POST, 1);
  160. curl_setopt($ch, CURLOPT_ENCODING, 'gzip, deflate');
  161. $headers = array();
  162. $headers[] = "Host: allowweb.com";
  163. $headers[] = "user-agent: Mozilla/5.0 (Linux; Android 9; Redmi Note 4 Build/PQ3A.190705.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/74.0.3729.157 Mobile Safari/537.36";
  164. $headers[] = "referer: https://allowweb.com/cryptohouse/";
  165. $headers[] = "content-type: application/x-www-form-urlencoded";
  166. $headers[] = "cookie: {$item}";
  167. curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
  168. $result = curl_exec($ch);
  169. $info = curl_getinfo($ch);
  170. $info_code = $info["http_code"];
  171. if($info_code == 303) {
  172. return $result;
  173. }else{
  174. reff($item);
  175. }
  176. }
  177. function get($url,$item) {
  178. $ch = curl_init();
  179. global $proxy;
  180. curl_setopt($ch, CURLOPT_URL, $url);
  181. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  182. curl_setopt($ch, CURLOPT_PROXY, $proxy);
  183. curl_setopt($ch, CURLOPT_ENCODING, 'gzip, deflate');
  184. $headers = array();
  185. $headers[] = "Host: allowweb.com";
  186. $headers[] = "user-agent: Mozilla/5.0 (Linux; Android 9; Redmi Note 4 Build/PQ3A.190705.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/74.0.3729.157 Mobile Safari/537.36";
  187. $headers[] = "referer: https://allowweb.com/cryptohouse/";
  188. $headers[] = "content-type: application/x-www-form-urlencoded";
  189. $headers[] = "cookie: {$item}";
  190. curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
  191. $result = curl_exec($ch);
  192. $info = curl_getinfo($ch);
  193. $info_code = $info["http_code"];
  194. if($info_code == 200) {
  195. return $result;
  196. }
  197. }
  198. function reg($data,$item) {
  199. $ch = curl_init();
  200. global $proxy;
  201. curl_setopt($ch, CURLOPT_URL, 'https://allowweb.com/cryptohouse/index.php/user/doRegister');
  202. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  203. curl_setopt($ch, CURLOPT_PROXY, $proxy);
  204. curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
  205. curl_setopt($ch, CURLOPT_POST, 1);
  206. curl_setopt($ch, CURLOPT_ENCODING, 'gzip, deflate');
  207. $headers = array();
  208. $headers[] = "Host: allowweb.com";
  209. $headers[] = "user-agent: Mozilla/5.0 (Linux; Android 9; Redmi Note 4 Build/PQ3A.190705.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/74.0.3729.157 Mobile Safari/537.36";
  210. $headers[] = "referer: https://allowweb.com/cryptohouse/";
  211. $headers[] = "content-type: application/x-www-form-urlencoded";
  212. $headers[] = "cookie: {$item}";
  213. curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
  214. $result = curl_exec($ch);
  215. $info = curl_getinfo($ch);
  216. $info_code = $info["http_code"];
  217. if($info_code == 303) {
  218. print"Succsess Regist\n";
  219. }else{
  220. print"Failed Regist\n";
  221. }
  222. return $info_code;
  223. }
  224. function daily($id,$item){
  225. $ch = curl_init();
  226. global $proxy;
  227. curl_setopt($ch, CURLOPT_URL, 'https://allowweb.com/cryptohouse/index.php/SpecialBonus/addDailyBonus');
  228. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  229. curl_setopt($ch, CURLOPT_PROXY, $proxy);
  230. $data = "id={$id}";
  231. curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
  232. curl_setopt($ch, CURLOPT_POST, 1);
  233. curl_setopt($ch, CURLOPT_ENCODING, 'gzip, deflate');
  234. $headers = array();
  235. $headers[] = "Host: allowweb.com";
  236. $headers[] = "user-agent: Mozilla/5.0 (Linux; Android 9; Redmi Note 4 Build/PQ3A.190705.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/74.0.3729.157 Mobile Safari/537.36";
  237. $headers[] = "referer: https://allowweb.com/cryptohouse/";
  238. $headers[] = "content-type: application/x-www-form-urlencoded";
  239. $headers[] = "cookie: {$item}";
  240. curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
  241. $result = curl_exec($ch);
  242. $info = curl_getinfo($ch);
  243. $info_code = $info["http_code"];
  244. if($info_code == 303) {
  245. return $result;
  246. }
  247. }
  248. function claim($item) {
  249. $id = array('1','2','3');
  250. foreach($id as $no){
  251. $ch = curl_init();
  252. global $proxy;
  253. curl_setopt($ch, CURLOPT_URL, 'https://allowweb.com/cryptohouse/index.php/balance/addPoint');
  254. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  255. curl_setopt($ch, CURLOPT_PROXY, $proxy);
  256. $data = "id={$no}";
  257. curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
  258. curl_setopt($ch, CURLOPT_POST, 1);
  259. curl_setopt($ch, CURLOPT_ENCODING, 'gzip, deflate');
  260. $headers = array();
  261. $headers[] = "Host: allowweb.com";
  262. $headers[] = "user-agent: Mozilla/5.0 (Linux; Android 9; Redmi Note 4 Build/PQ3A.190705.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/74.0.3729.157 Mobile Safari/537.36";
  263. $headers[] = "referer: https://allowweb.com/cryptohouse/";
  264. $headers[] = "content-type: application/x-www-form-urlencoded";
  265. $headers[] = "cookie: {$item}";
  266. curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
  267. $result = curl_exec($ch);
  268. if (curl_errno($ch)) {
  269. return;
  270. }else{
  271. $res = json_decode($result,true);
  272. if($res["message"] == "Invalid Action") {
  273. echo "Claim ".$res["button"]["name"]." >> Already Claim\n";
  274. }else{
  275. echo "Claim ".$res["button"]["name"]." >> ".$res["message"]." >> Update Balance >> ".$res["pointBalance"]." \n";
  276. }
  277. }
  278. }
  279. }
  280. function n($length = 4) {
  281. $characters = 'qwertyitsitstqiagohxljcuioipasdfghjklzxcvbnm0123456789';
  282. $charactersLength = strlen($characters);
  283. $randomString = '';
  284. for ($i = 0; $i < $length; $i++) {
  285. $randomString .= $characters[rand(0, $charactersLength - 1)];
  286. }
  287. return $randomString;
  288. }
  289. function m($length = 4) {
  290. $characters = 'qwertyuioipasdfghjklzxcvohlhdllhoskysobnm0123456789';
  291. $charactersLength = strlen($characters);
  292. $randomString = '';
  293. for ($i = 0; $i < $length; $i++) {
  294. $randomString .= $characters[rand(0, $charactersLength - 1)];
  295. }
  296. return $randomString;
  297. }
  298. while(true){
  299. $proxyUrl = "https://www.sslproxies.org";
  300. $ch = curl_init();
  301. curl_setopt($ch, CURLOPT_URL, $proxyUrl);
  302. curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  303. $resp = curl_exec($ch);
  304. curl_close($ch);
  305. preg_match_all('/<tr><td>([0-9.]+)<\/td><td>([0-9]+)<\/td>/', $resp, $result);
  306. $proxy = array_combine($result[1], $result[2]);
  307. $i = 0;
  308. foreach($proxy as $ip => $port) {
  309. if($con = @fsockopen($ip, $port, $errno, $error, 10)) {
  310. print "\033[1;32mHidup >> ". $ip .':'. $port . PHP_EOL;
  311. global $proxy;
  312. $proxy="{$ip}:{$port}";
  313. $nama = n().m();
  314. cok();
  315. $data = "user_name={$nama}&email={$nama}@gmail.com&[email protected]";
  316. $a = reg($data,$item);
  317. if($a == 303) {
  318. $data = "email={$nama}@gmail.com&[email protected]";
  319. $login = login($data,$item);
  320. $dash = dash($item);
  321. $d = get('https://allowweb.com/cryptohouse/index.php/SpecialBonus',$item);
  322. $id = ex('name="user_id" value="','"',$d);
  323. echo "Account ID => ".$id." \n";
  324. $bal = ex('id="pointBalance">','<',$dash);
  325. echo "Balance => ".$bal." \n\n";
  326. reff($item);
  327. $reset = get('https://allowweb.com/cryptohouse/index.php/dashboard/getDesabledButtons',$item);
  328. $allow = get('https://allowweb.com/cryptohouse/index.php/Dashboard/checkXtwoMoment',$item);
  329. $cekdaily = json_decode(get('https://allowweb.com/cryptohouse/index.php/SpecialBonus/checkDailyPointStatus',$item));
  330. if($cekdaily->data->delay == 0) {
  331. $d = get('https://allowweb.com/cryptohouse/index.php/SpecialBonus',$item);
  332. $id = ex('name="user_id" value="','"',$d);
  333. daily($id,$item);
  334. $get = get('https://allowweb.com/cryptohouse/index.php/SpecialBonus',$item);
  335. $bal = ex('pointBalance">','<',$get);
  336. echo "Claim Daily Button >> Update Balance >> ". $bal." \n";
  337. }
  338. $claim = claim($item);
  339. echo "\n\n";
  340. }
  341. }
  342. }
  343. }
  344. ?>

Raw paste data: