Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- Copyright Black Sniper ... 2015
- ContactMe : fb.com/black4sniperr
- Mail : schlachtmsi@gmail.com
- */
- //save result fonction
- $savewp=1; // put 0 if u dont want save
- $getargv1=@file_get_contents($argv[1]);
- if (!$getargv1) {
- die("Usage : php $argv[0] list\n");
- }
- $exploded=explode("\n",$getargv1);
- foreach ($exploded as $explodedsites ) {
- $fullexploded=$explodedsites."/wp-includes/wlwmanifest.xml";
- $getcontents=@file_get_contents($fullexploded);
- echo "[*] Scanning $explodedsites"."\n";
- if (preg_match('#<clientType>WordPress</clientType>#i', $getcontents)) {
- echo "[+] Wordpress Site = $explodedsites "."\n";
- echo "\n";
- if ($savewp == 1) {
- $fp=fopen("Wordpress.txt","a+");
- fwrite($fp, $explodedsites."\n");
- fclose($fp);
- }
- } else {
- echo "\n";
- echo "[-] Not WordPress"."\n";
- echo "\n";
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement