Server IP : 149.255.58.128 / Your IP : 216.73.216.80
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
Upload Files :
Command :
Current File : /var/softaculous/classicpress//sign_on.php
<?php
@unlink(__FILE__);
// Validate if the request is from Softaculous
if($_REQUEST['pass'] != '[[autopass]]'){
die("Unauthorized Access");
}
// Dummy plugin dir so that no plugins are loaded as they conflict with our login process
define('WP_PLUGIN_DIR', '[[softpath]]/[[autopass]]');
require('wp-blog-header.php');
require('wp-includes/pluggable.php');
$signon_user = '[[signon_username]]';
//Backword compatibility ($__setting['signon_username'] won't be there in previous versions <= 5.2.3)
if(!empty($signon_user) && !preg_match('/^\[\[(.*?)\]\]$/is', $signon_user)){
$user = get_user_by('login', $signon_user);
}else{
$user_info = get_userdata(1);
// Automatic login //
$username = $user_info->user_login;
$user = get_user_by('login', $username);
}
// Redirect URL //
if ( !is_wp_error( $user ) )
{
wp_clear_auth_cookie();
wp_set_current_user ( $user->ID );
wp_set_auth_cookie ( $user->ID );
$redirect_to = admin_url();
wp_safe_redirect( $redirect_to );
exit();
}
Name |
Size |
Last Modified |
Owner / Group |
Permissions |
Options |
.. | -- | May 23 2025 09:37:16 | 0 / root | 0755 | |
images | -- | March 18 2025 10:37:16 | 0 / root | 0755 | |
php53 | -- | March 18 2025 10:37:16 | 0 / root | 0755 | |
php56 | -- | March 18 2025 10:37:16 | 0 / root | 0755 | |
php71 | -- | March 18 2025 10:37:16 | 0 / root | 0755 | |
php81 | -- | March 18 2025 10:37:16 | 0 / root | 0755 | |
php82 | -- | March 18 2025 10:37:16 | 0 / root | 0755 | |
| | | | | |
.htaccess | 0.471 KB | February 23 2024 04:14:30 | 0 / root | 0644 | |
_htaccess | 0.325 KB | February 23 2024 04:14:30 | 0 / root | 0644 | |
_index.php | 0.058 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
_wp-config.php | 3.438 KB | February 23 2024 04:14:30 | 0 / root | 0644 | |
check_charset.php | 1.815 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
clone.php | 15.632 KB | March 17 2025 08:31:00 | 0 / root | 0644 | |
edit.php | 5.12 KB | March 17 2025 08:31:00 | 0 / root | 0644 | |
edit.xml | 0.613 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
extend.php | 3.937 KB | March 17 2025 08:31:00 | 0 / root | 0644 | |
fileindex.php | 0.298 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
import.php | 5.71 KB | March 17 2025 08:31:00 | 0 / root | 0644 | |
info.xml | 2.893 KB | March 17 2025 06:46:00 | 0 / root | 0644 | |
install.js | 0.902 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
install.php | 19.728 KB | March 17 2025 08:31:00 | 0 / root | 0644 | |
install.xml | 1.231 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
md5 | 3.202 KB | March 17 2025 08:31:00 | 0 / root | 0644 | |
notes.txt | 1.761 KB | December 09 2024 00:21:00 | 0 / root | 0644 | |
sign_on.php | 0.986 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
soft.htaccess | 0.124 KB | December 23 2021 06:54:36 | 0 / root | 0644 | |
wp-config.php | 3.151 KB | February 23 2024 04:14:30 | 0 / root | 0644 | |