Tutorial on how to make a posting bot

by datagroove - 03-26-2019 - 03:01 PM
Posts:
547

Reputation:
0

Credits:

Wise One
Posts:
547

Threads:
334

Joined:
Jan 2016

Likes:
10

Credits:

Reputation:
0

Warning Level:

2 Years Of Service
#1
OP
Posted: 03-26-2019 - 03:01 PM
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

Buy Threads, Replies, Reactions, Signatures, etc - http://electrify.atspace.eu/shop/
[url=https://selly.gg/p/7cdaf9a1][/url]
Posts:
19

Reputation:
0

Credits:

Rookie User
Posts:
19

Threads:
16

Joined:
Mar 2019

Likes:
0

Credits:

Reputation:
0

Warning Level:

#2
Posted: 04-11-2019 - 04:40 PM
you should make a video on this.
Posts:
547

Reputation:
0

Credits:

Wise One
Posts:
547

Threads:
334

Joined:
Jan 2016

Likes:
10

Credits:

Reputation:
0

Warning Level:

2 Years Of Service
#3
OP
Posted: 04-11-2019 - 05:26 PM
@Anonmusk - Probably something to do in the future.

Buy Threads, Replies, Reactions, Signatures, etc - http://electrify.atspace.eu/shop/
[url=https://selly.gg/p/7cdaf9a1][/url]
Posts:
81

Reputation:
0

Credits:

Junior Member
Posts:
81

Threads:
5

Joined:
Mar 2018

Likes:
0

Credits:

Reputation:
0

Warning Level:

1 Year Of Service
#4
Posted: 04-16-2019 - 11:59 AM
Hey, nice tut. Thanks for share :)




USERS BROWSING THIS THREAD:  1 Guest(s)
"Join for the content, stay for the community."
© All Rights Reserved DemonForums.
© 2015-2019 / DemonForums
Server time: 04-24-2019, 06:02 PM (1277 Days Online)