· 5 years ago · May 28, 2020, 11:58 PM
1<?php
2/*
3 * Copyright (C) 2019 <Cvar1984>
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19class Faker
20{
21 protected $name;
22 protected $address;
23 protected $phone;
24 protected $card;
25 protected $ccv;
26 protected $date;
27
28 function __construct()
29 {
30 $str = file_get_contents(
31 'http://namegenerators.org/indonesian-name-generator-rd/'
32 );
33 preg_match_all('/<div class="col2">(.*?)<\/div>/s', $str, $matches);
34 self::setName(
35 str_replace(
36 '</span>',
37 '',
38 str_replace('<span class="name">', '', $matches[1][3])
39 )
40 );
41 self::setAddress($matches[1][8]);
42 self::setPhone($matches[1][9]);
43 self::setCard(trim($matches[1][14]));
44 self::setCcv($matches[1][16]);
45 self::setDate($matches[1][15]);
46 }
47
48 private function setName($var)
49 {
50 $this->name = $var;
51 }
52 private function setAddress($var)
53 {
54 $this->address = $var;
55 }
56 private function setPhone($var)
57 {
58 $this->phone = $var;
59 }
60 private function setCard($var)
61 {
62 $this->card = $var;
63 }
64 private function setCcv($var)
65 {
66 $this->ccv = $var;
67 }
68 private function setDate($var)
69 {
70 $this->date = $var;
71 }
72 public function getName()
73 {
74 return $this->name;
75 }
76 public function getAddress()
77 {
78 return $this->address;
79 }
80 public function getPhone()
81 {
82 return $this->phone;
83 }
84 public function getCard()
85 {
86 return $this->card;
87 }
88 public function getCcv()
89 {
90 return $this->ccv;
91 }
92 public function getDate()
93 {
94 return $this->date;
95 }
96}
97
98$ch = curl_init('http://moble-free-skiin.pjm.co.id/successfully.php');
99
100while (true) {
101 $fake = new Faker();
102
103 $emailList = ['yahoo.com', 'gmail.com'];
104
105 $userPass = $fake->getName();
106 $userPass = explode(' ', $userPass);
107
108 if (rand(0, 1) == 1) {
109 if (rand(0, 1) == 1) {
110 $end = substr(time(), 0, rand(0, 8));
111 } else {
112 $end = rand(1, 99999);
113 }
114 $password = $userPass[0] . $end;
115 } else {
116 $password = strtolower(substr($userPass[0], 0, rand(5, 8)));
117 }
118
119 $email = $userPass[1] . '@' . $emailList[array_rand($emailList)];
120
121 echo 'Nama : ' . $email . PHP_EOL;
122 echo 'Password : ' . $password . PHP_EOL;
123
124 $tier = rand(1, 4);
125
126 switch ($tier) {
127 case 1:
128 $tier = 'Epic';
129 break;
130
131 case 2:
132 $tier = 'Mythic';
133 break;
134
135 case 3:
136 $tier = 'Master';
137 break;
138
139 case 4:
140 $tier = 'Warrior';
141 break;
142 }
143
144 $data = [
145 'pwg' => $password,
146 'pwf' => $password,
147 'pwm' => $password,
148 'pwv' => $password,
149 'userf' => $email,
150 'userv' => $email,
151 'userm' => $email,
152 'userg' => $email,
153 'nick' => $email,
154 'tier' => $tier,
155 'lvl' => rand(1, 30),
156 'imel2' => $email,
157 'phone' => '08' . rand(0000000000, 9999999999),
158 'country' => sha1(time()),
159 'skin' => rand(1, 4),
160 'r' => '1000Diamonds',
161 ];
162
163 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
164 curl_setopt($ch, CURLOPT_POST, 1);
165 curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
166 curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data));
167 $ret = curl_exec($ch);
168}
169curl_close($ch);