X7ROOT File Manager
Current Path:
/var/softaculous/classicpress
var
/
softaculous
/
classicpress
/
??
..
??
.htaccess
(482 B)
??
_htaccess
(333 B)
??
_index.php
(59 B)
??
_wp-config.php
(3.44 KB)
??
check_charset.php
(1.82 KB)
??
classicpress.sql
(29.67 KB)
??
classicpress.zip
(10.84 MB)
??
clone.php
(15.71 KB)
??
edit.php
(5.16 KB)
??
edit.xml
(628 B)
??
extend.php
(3.96 KB)
??
fileindex.php
(305 B)
??
images
??
import.php
(5.71 KB)
??
info.xml
(2.89 KB)
??
install.js
(924 B)
??
install.php
(19.64 KB)
??
install.xml
(1.23 KB)
??
md5
(3.76 KB)
??
multisite.sql
(37.09 KB)
??
notes.txt
(1.76 KB)
??
php53
??
php56
??
php71
??
php81
??
php82
??
sign_on.php
(1010 B)
??
soft.htaccess
(127 B)
??
wp-config.php
(3.15 KB)
Editing: 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(); }
Upload File
Create Folder