403Webshell
Server IP : 207.244.250.86  /  Your IP : 216.73.216.10
Web Server : Apache
System : Linux plesk1.codeponents.com 4.18.0-240.10.1.el8_3.x86_64 #1 SMP Mon Jan 18 17:05:51 UTC 2021 x86_64
User : motionave ( 10025)
PHP Version : 8.0.15
Disable Function : opcache_get_status
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/vhosts/motionave.com/copiaoriginal.motionave.com/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/motionave.com/copiaoriginal.motionave.com//find.php
<?php
    $root = __DIR__;
    
    $iter = new RecursiveIteratorIterator(
        new RecursiveDirectoryIterator($root, RecursiveDirectoryIterator::SKIP_DOTS),
        RecursiveIteratorIterator::SELF_FIRST,
        RecursiveIteratorIterator::CATCH_GET_CHILD // Ignore "Permission denied"
    );
    
    $paths = array($root);
    foreach ($iter as $path => $dir) {
        if ($dir->isDir()) {
            $paths[] = $path;
        }
    }

    $string = 'about-motion-ave';
    $i = 0;
    foreach($paths as $path) {
        $items = new DirectoryIterator($path);
        foreach ($items as $item) {
			if($item->isFile()) {
				$content = @file_get_contents($item->getPathname());
				if($content == null) {
					//echo $item->getPathname() . " no se dejo abrir :0<br>";
					continue;
				} else if (strpos($content, $string) !== false) {
					// Bingo
					echo $item->getPathname() . "<br>";
					$i++;
				}
			}
        }
    }
    if($i == 0)
        echo "No se han encontrado coincidencias";
    return;

Youez - 2016 - github.com/yon3zu
LinuXploit