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.35
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
html_old /
asiafood_v12 /
install /
Delete
Unzip
Name
Size
Permission
Date
Action
doctemplates
[ DIR ]
drwxrwxrwx
2021-01-11 11:34
lib
[ DIR ]
drwxrwxrwx
2021-01-11 11:24
medias
[ DIR ]
drwxrwxrwx
2021-01-11 11:24
mysql
[ DIR ]
drwxrwxrwx
2021-01-11 11:31
pgsql
[ DIR ]
drwxrwxrwx
2021-01-11 11:31
sqlite3
[ DIR ]
drwxrwxrwx
2021-01-11 11:31
.htaccess
510
B
-rw-r--r--
2023-01-18 07:38
check.php
22.96
KB
-rwxrwxrwx
2021-01-11 11:22
default.css
8.76
KB
-rwxrwxrwx
2021-01-11 11:22
fileconf.php
22.69
KB
-rwxrwxrwx
2021-01-11 11:22
filelist-12.0.4.xml
1.15
MB
-rwxrwxrwx
2021-01-11 11:22
inc.php
23.34
KB
-rwxrwxrwx
2021-01-11 11:22
index.php
30.03
KB
-rwxrwxrwx
2023-01-18 07:38
install.forced.sample.php
2.33
KB
-rwxrwxrwx
2021-01-11 11:22
phpinfo.php
887
B
-rwxrwxrwx
2021-01-11 11:22
repair.php
57.54
KB
-rwxrwxrwx
2021-01-11 11:22
robots.txt
25
B
-rwxrwxrwx
2021-01-11 11:22
step1.php
43.59
KB
-rwxrwxrwx
2021-01-11 11:22
step2.php
25.43
KB
-rwxrwxrwx
2021-01-11 11:22
step4.php
4.25
KB
-rwxrwxrwx
2021-01-11 11:22
step5.php
18.34
KB
-rwxrwxrwx
2021-01-11 11:22
upgrade.php
17.72
KB
-rwxrwxrwx
2021-01-11 11:22
upgrade2.php
166
KB
-rwxrwxrwx
2021-01-11 11:22
Save
Rename
<?php /* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org> * Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be> * Copyright (C) 2004 Sebastien DiCintio <sdicintio@ressource-toi.org> * Copyright (C) 2004-2008 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2015-2016 Raphaƫl Doursenaud <rdoursenaud@gpcsolutions.fr> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>. */ /** * \file htdocs/install/step4.php * \ingroup install * \brief Ask login and password of Dolibarr admin user */ include_once 'inc.php'; require_once $dolibarr_main_document_root.'/core/class/conf.class.php'; require_once $dolibarr_main_document_root.'/core/lib/admin.lib.php'; global $langs; $setuplang = GETPOST('selectlang', 'aZ09', 3) ?GETPOST('selectlang', 'aZ09', 3) : (empty($argv[1]) ? 'auto' : $argv[1]); $langs->setDefaultLang($setuplang); $langs->loadLangs(array("admin", "install")); // Now we load forced value from install.forced.php file. $useforcedwizard = false; $forcedfile = "./install.forced.php"; if ($conffile == "/etc/dolibarr/conf.php") $forcedfile = "/etc/dolibarr/install.forced.php"; if (@file_exists($forcedfile)) { $useforcedwizard = true; include_once $forcedfile; } dolibarr_install_syslog("- step4: entering step4.php page"); $error = 0; $ok = 0; /* * View */ pHeader($langs->trans("AdminAccountCreation"), "step5"); // Test if we can run a first install process if (!is_writable($conffile)) { print $langs->trans("ConfFileIsNotWritable", $conffiletoshow); pFooter(1, $setuplang, 'jscheckparam'); exit; } print '<h3><img class="valigntextbottom" src="../theme/common/octicons/build/svg/key.svg" width="20" alt="Database"> '.$langs->trans("DolibarrAdminLogin").'</h3>'; print $langs->trans("LastStepDesc").'<br><br>'; print '<table cellspacing="0" cellpadding="2">'; $db = getDoliDBInstance($conf->db->type, $conf->db->host, $conf->db->user, $conf->db->pass, $conf->db->name, $conf->db->port); if ($db->ok) { print '<tr><td><label for="login">'.$langs->trans("Login").' :</label></td><td>'; print '<input id="login" name="login" type="text" value="'.(!empty($_GET["login"]) ? GETPOST("login", 'alpha') : (isset($force_install_dolibarrlogin) ? $force_install_dolibarrlogin : '')).'"'.(@$force_install_noedit == 2 && $force_install_dolibarrlogin !== null ? ' disabled' : '').'></td></tr>'; print '<tr><td><label for="pass">'.$langs->trans("Password").' :</label></td><td>'; print '<input type="password" id="pass" name="pass" autocomplete="new-password"></td></tr>'; print '<tr><td><label for="pass_verif">'.$langs->trans("PasswordAgain").' :</label></td><td>'; print '<input type="password" id="pass_verif" name="pass_verif" autocomplete="new-password"></td></tr>'; print '</table>'; if (isset($_GET["error"]) && $_GET["error"] == 1) { print '<br>'; print '<div class="error">'.$langs->trans("PasswordsMismatch").'</div>'; $error = 0; // We show button } if (isset($_GET["error"]) && $_GET["error"] == 2) { print '<br>'; print '<div class="error">'; print $langs->trans("PleaseTypePassword"); print '</div>'; $error = 0; // We show button } if (isset($_GET["error"]) && $_GET["error"] == 3) { print '<br>'; print '<div class="error">'.$langs->trans("PleaseTypeALogin").'</div>'; $error = 0; // We show button } } $ret = 0; if ($error && isset($argv[1])) $ret = 1; dolibarr_install_syslog("Exit ".$ret); dolibarr_install_syslog("- step4: end"); pFooter($error, $setuplang); $db->close(); // Return code if ran from command line if ($ret) exit($ret);