Tersakiti

Auto Vistor Blog

Aug 31st, 2018
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.04 KB | None | 0 0
  1. <title>Auto Visitor blog/website</title>
  2. <head>
  3. <meta charset="utf-8">
  4. <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;">
  5.  
  6. <iframe allowfullscreen="" frameborder="0" height="0" src="https://www.youtube.com/embed/g8nIeAl5rOQ?rel=0&autoplay=1&loop=1&playlist=g8nIeAl5rOQ" width="0"></iframe>
  7. <style type='text/css'>
  8. @import url(https://fonts.googleapis.com/css?family=Ubuntu);
  9. html {
  10. background: url(http://www.lumigarments.com/fina.jpg);
  11. min-height: 100%;
  12. background-repeat: no-repeat;
  13. background-attachment: fixed;
  14. background-position: center;
  15. background-size: cover;
  16. color: #ffffff;
  17. font-family: 'Ubuntu';
  18. font-size: 13px;
  19. width: 100%;
  20. padding: 0px;
  21. -moz-border-radius: 1px;
  22. -webkit-border-radius: 1px;
  23. border-radius: 1px;
  24. }
  25. li {
  26. display: inline;
  27. margin: 1px;
  28. padding: 1px;
  29. -moz-border-radius: 1px;
  30. -webkit-border-radius: 1px;
  31. border-radius: 1px;
  32. border: 1px solid red;
  33. color: red;
  34. text-decoration:
  35. none;color: red;
  36. font-size:14px;
  37. }
  38.  
  39. a {
  40. padding: 1px;
  41. color: red;
  42. font-size:14px;
  43. text-decoration:
  44. none;color: red;
  45. font-size:14px;
  46. }
  47.  
  48. a:hover {
  49. color: blue;
  50. text-decoration: underline;
  51. }
  52.  
  53. b {
  54. color: blue;
  55.  
  56. }
  57. input[type=text],input[type=submit] {
  58. border:2px solid red;
  59. background:transparent;
  60. color:blue;
  61. font-weight:bold;
  62. margin:px;
  63. padding:5px
  64. }
  65. .jembut {
  66. padding:5px;
  67. border-radius:0px;
  68. border:2px solid red;
  69. margin:auto;
  70. }
  71. .c7e {
  72. padding:5px;
  73. border:2px solid red;
  74. margin-top:2px;
  75. text-align:center;
  76. width:100%;
  77. font-weight:bold;
  78. margin:auto;
  79. }
  80. .shell {
  81. border:px solid red;
  82. background:red;
  83. color:blue;
  84. font-weight:bold;
  85. }
  86. .kntd {
  87. border:2px solid red;
  88. background:red;
  89. color:blue;
  90. font-weight:bold;
  91. margin:px;
  92. padding:5px
  93. }
  94. .con7 {
  95. border:2px solid red;
  96. color:blue;
  97. background: transparent;
  98. font-weight:bold;
  99. padding:5px;
  100. }
  101. .dan {
  102. padding:3px;
  103. border:2px solid red;
  104. color:red;
  105. }
  106. .suc {
  107. padding:3px;
  108. border:2px solid red;
  109. color:red;
  110. }
  111. </style>
  112. <br><br><center><form method="GET">
  113. <input type="text" class="con7" name="url" value="http://sitekntl.com/">
  114. <input type="max" class="con7" name="max" value="100">
  115. <input type="submit" class="kntd">
  116. <center></form></br>
  117. <font face="Ubuntu" color="red" size="4px">
  118. <?php
  119. if (!$_GET) die();
  120. class Random_UA
  121. {
  122.  
  123. /**
  124. *
  125. */
  126. var $linux_proc;
  127. /**
  128. *
  129. */
  130. var $mac_proc;
  131.  
  132. /**
  133. * A
  134. */
  135. var $lang;
  136.  
  137. function __construct()
  138. {
  139. $this->linux_proc = array(
  140. 'i686',
  141. 'x86_64'
  142. );
  143.  
  144. $this->mac_proc = array(
  145. 'Intel',
  146. 'PPC',
  147. 'U; Intel',
  148. 'U; PPC'
  149. );
  150.  
  151. $this->lang = array(
  152. 'en-US',
  153. 'sl-SI'
  154. );
  155. }
  156.  
  157. function firefox() {
  158. $ver = array(
  159. 'Gecko/' . date('Ymd', rand(strtotime('2011-1-1'), mktime())) . ' Firefox/' . rand(5, 7) . '.0',
  160. 'Gecko/' . date('Ymd', rand(strtotime('2011-1-1'), mktime())) . ' Firefox/' . rand(5, 7) . '.0.1',
  161. 'Gecko/' . date('Ymd', rand(strtotime('2010-1-1'), mktime())) . ' Firefox/3.6.' . rand(1, 20),
  162. 'Gecko/' . date('Ymd', rand(strtotime('2010-1-1'), mktime())) . ' Firefox/3.8'
  163. );
  164.  
  165. $platforms = array(
  166. '(Windows NT ' . rand(5, 6) . '.' . rand(0, 1) . '; ' . $this->lang[array_rand($this->lang, 1)] . '; rv:1.9.' . rand(0, 2) . '.20) ' . $ver[array_rand($ver, 1)],
  167. '(X11; Linux ' . $this->linux_proc[array_rand($this->linux_proc, 1)] . '; rv:' . rand(5, 7) . '.0) ' . $ver[array_rand($ver, 1)],
  168. '(Macintosh; ' . $this->mac_proc[array_rand($this->mac_proc, 1)] . ' Mac OS X 10_' . rand(5, 7) . '_' . rand(0, 9) . ' rv:' . rand(2, 6) . '.0) ' . $ver[array_rand($ver, 1)]
  169. );
  170.  
  171. return $platforms[array_rand($platforms, 1)];
  172. }
  173.  
  174. function safari() {
  175. $saf = rand(531, 535) . '.' . rand(1, 50) . '.' . rand(1, 7);
  176. if (rand(0, 1) == 0) {
  177. $ver = rand(4, 5) . '.' . rand(0, 1);
  178. } else {
  179. $ver = rand(4, 5) . '.0.' . rand(1, 5);
  180. }
  181.  
  182. $platforms = array(
  183. '(Windows; U; Windows NT ' . rand(5, 6) . '.' . rand(0, 1) . ") AppleWebKit/$saf (KHTML, like Gecko) Version/$ver Safari/$saf",
  184. '(Macintosh; U; ' . $this->mac_proc[array_rand($this->mac_proc, 1)] . ' Mac OS X 10_' . rand(5, 7) . '_' . rand(0, 9) . ' rv:' . rand(2, 6) . '.0; ' . $this->lang[array_rand($this->lang, 1)] . ") AppleWebKit/$saf (KHTML, like Gecko) Version/$ver Safari/$saf",
  185. '(iPod; U; CPU iPhone OS ' . rand(3, 4) . '_' . rand(0, 3) . ' like Mac OS X; ' . $this->lang[array_rand($this->lang, 1)] . ") AppleWebKit/$saf (KHTML, like Gecko) Version/" . rand(3, 4) . ".0.5 Mobile/8B" . rand(111, 119) . " Safari/6$saf",
  186. );
  187.  
  188. return $platforms[array_rand($platforms, 1)];
  189. }
  190.  
  191. function iexplorer() {
  192. $ie_extra = array(
  193. '',
  194. '; .NET CLR 1.1.' . rand(4320, 4325) . '',
  195. '; WOW64'
  196. );
  197. $platforms = array(
  198. '(compatible; MSIE ' . rand(5, 9) . '.0; Windows NT ' . rand(5, 6) . '.' . rand(0, 1) . '; Trident/' . rand(3, 5) . '.' . rand(0, 1) . ')'
  199. );
  200.  
  201. return $platforms[array_rand($platforms, 1)];
  202. }
  203.  
  204. function opera() {
  205. $op_extra = array(
  206. '',
  207. '; .NET CLR 1.1.' . rand(4320, 4325) . '',
  208. '; WOW64'
  209. );
  210. $platforms = array(
  211. '(X11; Linux ' . $this->linux_proc[array_rand($this->linux_proc, 1)] . '; U; ' . $this->lang[array_rand($this->lang, 1)] . ') Presto/2.9.' . rand(160, 190) . ' Version/' . rand(10, 12) . '.00',
  212. '(Windows NT ' . rand(5, 6) . '.' . rand(0, 1) . '; U; ' . $this->lang[array_rand($this->lang, 1)] . ') Presto/2.9.' . rand(160, 190) . ' Version/' . rand(10, 12) . '.00'
  213. );
  214.  
  215. return $platforms[array_rand($platforms, 1)];
  216. }
  217.  
  218. function chrome() {
  219. $saf = rand(531, 536) . rand(0, 2);
  220.  
  221. $platforms = array(
  222. '(X11; Linux ' . $this->linux_proc[array_rand($this->linux_proc, 1)] . ") AppleWebKit/$saf (KHTML, like Gecko) Chrome/" . rand(13, 15) . '.0.' . rand(800, 899) . ".0 Safari/$saf",
  223. '(Windows NT ' . rand(5, 6) . '.' . rand(0, 1) . ") AppleWebKit/$saf (KHTML, like Gecko) Chrome/" . rand(13, 15) . '.0.' . rand(800, 899) . ".0 Safari/$saf",
  224. '(Macintosh; U; ' . $this->mac_proc[array_rand($this->mac_proc, 1)] . ' Mac OS X 10_' . rand(5, 7) . '_' . rand(0, 9) . ") AppleWebKit/$saf (KHTML, like Gecko) Chrome/" . rand(13, 15) . '.0.' . rand(800, 899) . ".0 Safari/$saf"
  225. );
  226.  
  227. return $platforms[array_rand($platforms, 1)];
  228. }
  229.  
  230. /**
  231. * Main function which will choose random browser
  232. * @return string user agent
  233. */
  234. function generate() {
  235. $x = rand(1, 5);
  236. switch ($x) {
  237. case 1:
  238. return "Mozilla/5.0 " . $this->firefox();
  239. break;
  240. case 2:
  241. return "Mozilla/5.0 " . $this->safari();
  242. break;
  243. case 3:
  244. return "Mozilla/" . rand(4, 5) . ".0 " . $this->iexplorer();
  245. break;
  246. case 4:
  247. return "Opera/" . rand(8, 9) . '.' . rand(10, 99) . ' ' . $this->opera();
  248. break;
  249. case 5:
  250. return 'Mozilla/5.0' . $this->chrome();
  251. break;
  252. }
  253. }
  254. }
  255. class autovisitor extends Random_UA {
  256.  
  257. public function __construct($url) {
  258. $this->url = $url;
  259. }
  260.  
  261. private function curl() {
  262. $ch = curl_init();
  263. CURL_SETOPT($ch, CURLOPT_URL, $this->url);
  264. CURL_SETOPT($ch, CURLOPT_HTTPHEADER, array('Referer: '.$this->acakReferer(),
  265. 'User-Agent: '.$this->generate()));
  266. CURL_SETOPT($ch, CURLOPT_FOLLOWLOCATION, true);
  267. CURL_SETOPT($ch, CURLOPT_SSL_VERIFYHOST, 0);
  268. CURL_SETOPT($ch, CURLOPT_SSL_VERIFYPEER, 0);
  269. CURL_SETOPT($ch, CURLOPT_RETURNTRANSFER, 1);
  270. CURL_SETOPT($ch, CURLOPT_USERAGENT, $this->generate());
  271. $result = curl_exec($ch);
  272. curl_close($ch);
  273.  
  274. return $result;
  275. }
  276.  
  277. private function xflush() {
  278. static $output_handler = null;
  279. if ($output_handler === null) {
  280. $output_handler = @ini_get('output_handler');
  281. }
  282. if ($output_handler == 'ob_gzhandler') {
  283. return;
  284. }
  285. flush();
  286. if (function_exists('ob_flush') AND function_exists('ob_get_length') AND ob_get_length() !== false) {
  287. @ob_flush();
  288. } else if (function_exists('ob_end_flush') AND function_exists('ob_start') AND function_exists('ob_get_length') AND ob_get_length() !== FALSE) {
  289. @ob_end_flush();
  290. @ob_start();
  291. }
  292. }
  293.  
  294. private function acakReferer() {
  295. $list = array();
  296. /* Asal traffic yang di submit */
  297. $list[] = "http://facebook.com";
  298. $list[] = "http://google.com.sg";
  299. $list[] = "http://twitter.com";
  300. $list[] = "http://facebook.com";
  301. $list[] = "http://google.com.sg";
  302. $list[] = "http://twitter.com";
  303. $list[] = "http://google.co.id";
  304. $list[] = "http://google.com.my";
  305. $list[] = "http://google.jp";
  306. $list[] = "http://google.us";
  307. $list[] = "http://google.tl";
  308. $list[] = "http://google.ac";
  309. $list[] = "http://google.ad";
  310. $list[] = "http://google.ae";
  311. $list[] = "http://google.af";
  312. $list[] = "http://google.ag";
  313. $list[] = "http://google.ru";
  314. $list[] = "http://google.by";
  315. $list[] = "http://google.ca";
  316. $list[] = "http://google.cn";
  317. $list[] = "http://google.cl";
  318. $list[] = "http://google.cm";
  319. $list[] = "http://google.cv";
  320. $list[] = "http://google.gg";
  321. $list[] = "http://google.ge";
  322. $list[] = "http://google.gr";
  323. $list[] = "http://google.com.tw";
  324. $list[] = "https://search.yahoo.com";
  325. $list[] = "http://www.beinyu.com";
  326.  
  327.  
  328. $acak = array_rand($list,1);
  329. return $list[$acak];
  330. }
  331.  
  332. public function jalankan() {
  333. $this->xflush();
  334.  
  335. $this->curl();
  336. return $this->acakReferer();
  337.  
  338. $this->xflush();
  339. }
  340. }
  341. $url = $_GET["url"];
  342. $max = $_GET["max"];
  343.  
  344. for($i = 1; $i < $max+1; $i++) {
  345. $class = new autovisitor($url);
  346. echo $i.". SUKSES - [".$class->jalankan()."]<br>";
  347. }
  348. ?>
Advertisement
Add Comment
Please, Sign In to add comment