Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- This is an experimental service,
- Please contact us if any problem occurs or if you think a site has been wrongly detected.
- --
- wehh404@gmail.com
- **/
- function hajar($yuerel) {
- $cuih = curl_init();
- curl_setopt($cuih, CURLOPT_URL, $yuerel);
- curl_setopt($cuih, CURLOPT_FOLLOWLOCATION, true);
- curl_setopt($cuih, CURLOPT_RETURNTRANSFER, true);
- curl_setopt($cuih, CURLOPT_SSL_VERIFYPEER, false);
- curl_setopt($cuih, CURLOPT_COOKIESESSION, true);
- $eks = curl_exec($cuih);
- curl_close($cuih);
- return $eks;
- }
- function cmsCheck($uri, $brp) {
- return hajar("https://2ip.io/cms/?url=" . $uri . "&ajax=true&serverId=" . $brp);
- }
- function __header() {
- $h = "\n ##########################\n";
- $h .= " # CMS Detector #\n";
- $h .= " #------------------------#\n";
- $h .= " # php ex.php www.fbi.gov #\n";
- $h .= " #------------------------#\n";
- $h .= " # PoisonSquad #\n";
- $h .= " ##########################\n";
- return $h;
- }
- if (isset($argv[1]) && !empty($argv[1])) {
- echo __header() . "\n\n Checking for : " . $argv[1] . "\n\n";
- for ($i=0; $i < 68; $i++) {
- $cek = cmsCheck($argv[1], $i);
- preg_match_all("/<a target=\"_blank\" href=\"(.*)\"\>(.*)<\/a>/i", $cek, $cms);
- $cms = $cms[2][0];
- echo " " . $cms . ": ";
- if (preg_match("/have been found/", $cek)) echo "Ditemukan!";
- else echo "-";
- echo "\n";
- }
- } else {
- echo __header();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement