One Hat Cyber Team
Your IP :
216.73.216.115
Server IP :
194.44.31.54
Server :
Linux zen.imath.kiev.ua 4.18.0-553.77.1.el8_10.x86_64 #1 SMP Fri Oct 3 14:30:23 UTC 2025 x86_64
Server Software :
Apache/2.4.37 (Rocky Linux) OpenSSL/1.1.1k
PHP Version :
5.6.40
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
sam
/
public_html
/
go
/
imagin
/
Edit File:
install.php-orig
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta name="title" content="imagin" /> <meta name="description" content="Imagin is a Flash photo gallery for photographers. " /> <meta name="keywords" content="imagin, gallery, photos, photographers, software, flash, slideshow, slide show, photo slide show, slide show software, flash slide show" /> <meta name="language" content="en" /> <title>imagin - installation</title> <style type="text/css" media="screen"> body { background-color: #131313; } p { color: #C4C4C4; font-family: Georgia; font-size: 11px; letter-spacing: 1px; line-height:1.4em; margin-top: 0px; margin-bottom: 0px; } h1 { color: #C4C4C4; font-family: Times; font-style: italic; font-size: 22px; letter-spacing: 1px; font-weight: bold; margin-top: 20px; margin-bottom: 20px; } h2 { color: #C4C4C4; font-family: Georgia; font-size: 14px; letter-spacing: 1px; font-weight: normal; margin-top: 10px; margin-bottom: 10px; } a:link, a:visited { font-family: Georgia; text-decoration: none; color: #0087D2; font-size: 10px; } /*#FF342C*/ a:hover { font-family: Georgia; text-decoration: underline; color: #0087D2; font-size: 10px; } #content { margin: 0px auto; width: 648px; } </style> </head> <body> <div id="content"> <?php if ($_GET["action"] == "install") { // check connection if (file_exists('mysql_connect.php')) { require_once('mysql_connect.php'); } else { die("mysql_connect.php file is missing"); } error_reporting(0); // check previeous instalation $result = mysql_query("SELECT * FROM ".$tables_prefix."_settings"); $result = mysql_fetch_assoc($result); if ($result != "") { die("<p>".$database_name." database already installed. Delete all tables from database or chose another tables_prefix in mysql_connect.php file.</p>"); } error_reporting(E_ALL); // // Table structure for table `gallery_settings` // $query = "CREATE TABLE `".$tables_prefix."_gallery_settings` ( `gallery` varchar(50) NOT NULL, `hiden` smallint(1) NOT NULL default '0', `sound` varchar(100) NOT NULL, `background_color` varchar(11) NOT NULL, `date` date NOT NULL, `slideshow_pause` smallint(2) NOT NULL default '6', `transition` smallint(1) NOT NULL default '4' ) ENGINE=MyISAM DEFAULT CHARSET=latin1"; mysql_query($query) or die("table gallery_settings"); // // Table structure for table `messages` // $query = "CREATE TABLE `".$tables_prefix."_messages` ( `date` datetime NOT NULL default '0000-00-00 00:00:00', `name` varchar(20) NOT NULL default '', `email` varchar(40) NOT NULL default '', `website` varchar(40) NOT NULL, `message` text NOT NULL, `gallery` varchar(30) NOT NULL default '' ) ENGINE=MyISAM DEFAULT CHARSET=latin1"; mysql_query($query) or die("error querying database"); // // Table structure for table `picture_settings` // $query = "CREATE TABLE `".$tables_prefix."_picture_settings` ( `gallery` varchar(30) NOT NULL default '', `file_name` varchar(50) NOT NULL, `slideshow_pause` smallint(2) NOT NULL default '0', `picture_name` varchar(255) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1"; mysql_query($query) or die("error querying database"); // // Table structure for table `settings` // $query = "CREATE TABLE `".$tables_prefix."_settings` ( `setare` varchar(30) NOT NULL default '', `valoare` varchar(100) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1"; mysql_query($query) or die("error querying database"); // // Dumping data for table `settings` // $query = "INSERT INTO `".$tables_prefix."_settings` VALUES ('background_color', '19.19.19')"; mysql_query($query) or die("error querying database"); $query = "INSERT INTO `".$tables_prefix."_settings` VALUES ('text_color', '175.180.180')"; mysql_query($query) or die("error querying database"); $query = "INSERT INTO `".$tables_prefix."_settings` VALUES ('default_gallery', '')"; mysql_query($query) or die("error querying database"); $query = "INSERT INTO `".$tables_prefix."_settings` VALUES ('border_color', '0.0.0')"; mysql_query($query) or die("error querying database"); $query = "INSERT INTO `".$tables_prefix."_settings` VALUES ('border_tickness', '1')"; mysql_query($query) or die("error querying database"); $query = "INSERT INTO `".$tables_prefix."_settings` VALUES ('copyright_info', '')"; mysql_query($query) or die("error querying database"); // if all ok echo "<h1>Imagin database installation completed</h1>"; echo "<p>Step3: You can delete 'install.php' file if you want</p>"; echo "<p>Step4: Modify admin password in 'login.php' file</p>"; die("<p>Step5: Go to imagin gallery <a href='index.php' target='_blank'>here</a>. Info about how to use here: <a href='http://imagin.ro/info.php'>http://imagin.ro/info.php</a></p>"); } ?> <h1>Imagin database installation</h1> <h2>You've been redirected here because I couldn't find any database installed. So:</h2> <form id="setup" method="post"> <p>Step1: Go to 'mysql_connect.php' file in your installation folder and edit database login information</p> <p>Step2: Press <a href="install.php?action=install" onclick="document.setup.submit()">Install</a></p> </form> </div> </body> </html>
Simpan