Install Brave Browser for 30 days and earn money - http://bit.ly/_brave_browser
SearchSearch CalendarCalendar GalleryGalleryAuction-PortalAuctionsMembersMembers StatisticsStats
get your RSS-Feed
Language/Sprache:  Admin  
 Login: ChatChat (0) new User-MapUser-Mapsend Passwordsend Password RegisterRegister

Forum Overview » Beta Cyberlord » JS » Tutorial on how to make a posting bot
Pages: (1) [1] »
Registration necessaryRegistration necessary
Tutorial on how to make a posting bot
coolnoiseno Access no Access first Post cannot be deleted -> delete the whole Topic 
Group: User
Level:


Posts: 77
Joined: 6/3/2023
IP-Address: saved
offline


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 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 execute 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


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


login.html (Replicate iframes as many as you need)

<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)

<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

<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" the value of target 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


Protect yourself with Pure VPN - https://billing.purevpn.com/aff.php?aff=44512
9/3/2023 2:55:07 AM    
Registration necessaryRegistration necessary
Pages: (1) [1] »
all Times are GMT +1:00
Thread-Info
AccessModerators
Reading: all
Writing: all
Group: general
none
Forum Overview » Beta Cyberlord » JS » Tutorial on how to make a posting bot
Install Brave Browser for 30 days and earn money - http://bit.ly/_brave_browser

.: Script-Time: 0.164 || SQL-Queries: 6 || Active-Users: 3,170 :.
Powered by ASP-FastBoard HE v0.8, hosted by cyberlord.at