403Webshell
Server IP : 195.114.193.97  /  Your IP : 216.73.217.172
Web Server : LiteSpeed
System : Linux host 5.15.0-126-generic #136-Ubuntu SMP Wed Nov 6 10:38:22 UTC 2024 x86_64
User : sembi4241 ( 1126)
PHP Version : 8.1.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/local/lsws/admin/misc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/local/lsws/admin/misc/htpasswd.php
<?php
$raw = $_SERVER['argv'][1];
$valid_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/.";
$limit = strlen($valid_chars)-1;
$isMac = (strtoupper(PHP_OS) === 'DARWIN');
if (CRYPT_MD5 == 1 && !$isMac) {
    $salt = '$1$';
    for($i = 0; $i < 8; $i++) 
    {
        $salt .= $valid_chars[rand(0,$limit)];
    }
    $salt .= '$';
}
else
{
    $salt = $valid_chars[rand(0,$limit)];
    $salt .= $valid_chars[rand(0,$limit)];
}
$encypt = crypt($raw, $salt);
echo "$encypt\n";
?>

Youez - 2016 - github.com/yon3zu
LinuXploit