Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.41
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
html /
btm2000.apps-dev.fr /
public /
test /
Delete
Unzip
Name
Size
Permission
Date
Action
index.html
1
B
-rw-r--r--
2023-12-15 13:44
test_arrays.php
17.66
KB
-rw-r--r--
2023-12-15 13:44
test_badges.php
16.59
KB
-rw-r--r--
2023-12-15 13:44
test_buttons.php
5.17
KB
-rw-r--r--
2023-12-15 13:44
test_csrf.php
2.46
KB
-rw-r--r--
2023-12-15 13:44
test_exec.php
2.47
KB
-rw-r--r--
2023-12-15 13:44
test_forms.php
7.15
KB
-rw-r--r--
2023-12-15 13:44
test_sessionlock.php
2.45
KB
-rw-r--r--
2023-12-15 13:44
Save
Rename
<?php if (!defined('NOREQUIREUSER')) { define('NOREQUIREUSER', '1'); } if (!defined('NOREQUIREDB')) { define('NOREQUIREDB', '1'); } if (!defined('NOREQUIRESOC')) { define('NOREQUIRESOC', '1'); } if (!defined('NOREQUIRETRAN')) { define('NOREQUIRETRAN', '1'); } if (!defined('NOSTYLECHECK')) { define('NOSTYLECHECK', '1'); // Do not check style html tag into posted data } if (!defined('NOREQUIREMENU')) { define('NOREQUIREMENU', '1'); // If there is no need to load and show top and left menu } if (!defined('NOREQUIREHTML')) { define('NOREQUIREHTML', '1'); // If we don't need to load the html.form.class.php } if (!defined('NOREQUIREAJAX')) { define('NOREQUIREAJAX', '1'); // Do not load ajax.lib.php library } if (!defined("NOLOGIN")) { define("NOLOGIN", '1'); // If this page is public (can be called outside logged session) } // If you don't need session management (can't be logged if no session used). You must also set // NOCSRFCHECK, NOTOKENRENEWAL, NOLOGIN // Disable module with GETPOST('disablemodules') won't work. Variable 'dol_...' will not be set. // $_SESSION are then simple vars if sessions are not active. // TODO We can close session with session_write_close() as soon as we just need read access everywhere in code. if (!defined("NOSESSION")) { define("NOSESSION", '1'); } // Special // We add header and output some content before the include of main.inc.php !! // Because we need to So we can make header("Content-type: text/html; charset=UTF8"); // Security options header("X-Content-Type-Options: nosniff"); // With the nosniff option, if the server says the content is text/html, the browser will render it as text/html (note that most browsers now force this option to on) header("X-Frame-Options: SAMEORIGIN"); // Frames allowed only if on same domain (stop some XSS attacks) print "Legend:<br>\n"; print 'PHP_SESSION_DISABLED='.PHP_SESSION_DISABLED."<br>\n"; print 'PHP_SESSION_NONE='.PHP_SESSION_NONE."<br>\n"; print 'PHP_SESSION_ACTIVE='.PHP_SESSION_ACTIVE."<br>\n"; print '<br>'; print 'session_status='.session_status().' (before main.inc.php)'; print '<br>'; // Load Dolibarr environment require '../../main.inc.php'; // Security if ($dolibarr_main_prod) { accessforbidden(); } /* * View */ print 'session_status='.session_status().' (after main.inc.php)'; print '<br>'; //print 'a'.$_SESSION['disablemodules'].'b'; print "\n<br>This page is visible. It means you are not locked by another page called in same session."; //session_write_close();