ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 6315

Tutorial on how to make a posting bot

by datagroove - 03-26-2019 - 03:01 PM
#1
This is a tutorial on how to make a automatic posting bot. All happens in the browser and first the user must run login.html to make the browser login and get the cookies. Then index.html to post the the text. The index.html contains two variables called "title" and "message" and after the user hit the button "Submit" it will forward them to the JavaScript environment. In the JS environment it will run "document.write" that re-writes the page with the html code those making an action. To executed multiple tasks at once just replicate the form in the document.write. 

For this to work you will need to create
- 2 Folders
- Multiple html files

Create a folder called bot
Create a file called login.html inside bot
Create a file called index.html inside bot
Create a folder named data inside bot
Create a file inside the folder data called 1.html

Code:
bot
bot > login.html
bot > index.html
bot > data
bot > data > 1.html 

login.html (Replicate iframes as many as you need)
Code:
<title>Login</title>
Executing logins...
<iframe src="data\1.html" width="0" height="0" frameborder="0"><iframe>

data\1.html (Create as many copies as you need)
Code:
<script>
document.write('<form action="http://website.com/login.php" method="post">');
document.write('<input type="hidden" name="username" value="username">');
document.write('<input type="hidden" name="password" value="password">');
document.write('<input type="submit" name="login" value="Login">');
document.write('</form>');
document.forms[0]["login"].click();
</script>

index.html
Code:
<html>
<title>Poster</title>
<center>
<h1>Poster</h1>
...
<br>
<table>
<tr><td>Title: </td><td><input type="text" id="title"></td></tr>
<tr><td>Message: </td><td><input type="text" id="message"></td><td><input type="button" value="Submit" onclick="poster();" style="width: 100%"></td></tr>
</table>
</center>
</html>
<script>
poster = function() {
var title = document.getElementById('title').value;
var message = document.getElementById('message').value;
if (title == "") {alert('Write a post title!'); return false;}
if (message == "") {alert('Write a message title!'); return false;}
document.write('<html><title>Poster</title><center><h1>Poster</h1>Posting...<br></center>');

// Repeat this entry as many times as you want
document.write('<form method="post" action="http://website.com/poster.php" target="frame0">');
document.write('<input type="hidden" name="title" value="'+title+'">');
document.write('<input type="hidden" name="message" value="'+message+'">');
document.write('<input type="submit" name="subscribe" value="subscribe" style="height:0px; width:0px; background-color:#f0f0f2; border:0px">');
document.write('</form>');
document.write('<iframe name="zero" sandbox="allow-forms" height="0" width="0" frameborder="0"></iframe>');
document.forms[0]["subscribe"].click();

}
</script>

Notes:
- target="frame0" must not repeat and iframe tag must also be renamed.
- document.forms[0] must follow target.
- Remember 0 is also a number

This is a awesome method and i have made around $400 with it...

Privateloader
BestChange - Exchange money at the best rates - https://www.bestchange.com/?p=936130
Pure VPN - Protect your data with the best vpn - https://rebrand.ly/Pure_VPN
Contact me by Email - https://bit.ly/Contact_Hacxx_Gmail
The House Of Credit Card - Findsome.ru
Reply
#2
you should make a video on this.
Reply
#3
@Anonmusk - Probably something to do in the future.
BestChange - Exchange money at the best rates - https://www.bestchange.com/?p=936130
Pure VPN - Protect your data with the best vpn - https://rebrand.ly/Pure_VPN
Contact me by Email - https://bit.ly/Contact_Hacxx_Gmail
The House Of Credit Card - Findsome.ru
Reply
#4
Hey, nice tut. Thanks for share :)
This account is currently banned
Ban reason: Multi
Reply

Users browsing: 3 Guest(s)