403Webshell
Server IP : 208.122.213.31  /  Your IP : 216.73.216.185
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/tits-bigtits.com/phphits/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/tits-bigtits.com/phphits/setup.php
<?php

// ~~~~~ Include shared functions ~~~~~

include "phphits.inc.php";

?>
<html>
<head>
<title>phphits :: setup</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="robots" content="NOINDEX,NOFOLLOW">
<meta name="author" content="Johannes Gamba (jgamba@geekfactory.de)">
<style type="text/css">
<!--
a:link {  color: #0066FF; text-decoration: underline}
a:visited {  color: #666666; text-decoration: underline}
a:hover {  color: #0066cc; text-decoration: none}
input {  border: 1 solid #999999; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; color: #000000}
select {  border: 1 solid #999999; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; color: #000000}
-->
</style>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%" align="center">
  <tr> 
	<td valign="middle" align="center"> 
	  <div align="center"> 
		<form name="frm_setup" method="post" action="install.php">
		  <table width="100%" border="0">
			<tr> 
			  <td><b><font face="Verdana, Arial, Helvetica, sans-serif" size="3">php</font></b><font face="Verdana, Arial, Helvetica, sans-serif" size="3"><i>hits</i>&nbsp;v<?php echo(SCRIPT_VERSION); ?>&nbsp;::&nbsp;setup</font></td>
			  <td> 
				<div align="right"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Coded 
				  by <a href="mailto:jgamba@geekfactory.de?subject=phphits">Johannes 
				  Gamba</a></font></div>
			  </td>
			</tr>
			<tr> 
			  <td colspan="2"> 
				<hr noshade>
			  </td>
			</tr>
			<tr> 
			  <td colspan="2">&nbsp;</td>
			</tr>
			<tr> 
			  <td colspan="2"> 
				<table width="640" border="0" cellspacing="0" cellpadding="0">
				  <tr> 
					<td colspan="2" height="20" bgcolor="#eeeeee"><b><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Admin 
					  settings</font></b></td>
				  </tr>
				  <tr> 
					<td width="440">&nbsp;</td>
					<td valign="top" width="200">&nbsp;</td>
				  </tr>
				  <tr> 
					<td width="440"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Admin 
					  user name:<br>
					  <font size="1">(needed to open log file, to view stats and 
					  to reset counter)</font></font></td>
					<td valign="top" width="200"> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> 
					  <input type="text" name="admin_user" size="25" maxlength="50" value="admin" onclick="admin_user.select();">
					  </font></td>
				  </tr>
				  <tr> 
					<td width="440">&nbsp;</td>
					<td valign="top" width="200">&nbsp;</td>
				  </tr>
				  <tr> 
					<td width="440"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Admin 
					  password:<br>
					  <font size="1">(needed to open log file, to view stats and 
					  to reset counter)</font></font></td>
					<td valign="top" width="200"> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> 
					  <input type="text" name="admin_pwd" size="25" maxlength="50" value="phphits" onclick="admin_pwd.select();">
					  </font></td>
				  </tr>
				  <tr> 
					<td width="440">&nbsp;</td>
					<td valign="top" width="200">&nbsp;</td>
				  </tr>
				  <tr> 
					<td colspan="2" bgcolor="#eeeeee" height="20"><b><font face="Verdana, Arial, Helvetica, sans-serif" size="2">MySQL 
					  settings</font></b></td>
				  </tr>
				  <tr> 
					<td width="440">&nbsp;</td>
					<td valign="top" width="200">&nbsp;</td>
				  </tr>
				  <tr> 
					<td width="440"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">IP 
					  or host name of MySQL server:</font></td>
					<td valign="top" width="200"> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> 
					  <input type="text" name="sql_host" size="25" maxlength="50" value="localhost" onclick="sql_host.select();">
					  </font></td>
				  </tr>
				  <tr> 
					<td width="440">&nbsp;</td>
					<td valign="top" width="200">&nbsp;</td>
				  </tr>
				  <tr> 
					<td width="440"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">MySQL 
					  user name:</font></td>
					<td valign="top" width="200"> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> 
					  <input type="text" name="sql_user" size="25" maxlength="50" value="user" onclick="sql_user.select();">
					  </font></td>
				  </tr>
				  <tr> 
					<td width="440">&nbsp;</td>
					<td valign="top" width="200">&nbsp;</td>
				  </tr>
				  <tr> 
					<td width="440"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">MySQL 
					  password:</font></td>
					<td valign="top" width="200"> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> 
					  <input type="text" name="sql_pwd" size="25" maxlength="50" value="password" onclick="sql_pwd.select();">
					  </font></td>
				  </tr>
				  <tr> 
					<td width="440">&nbsp;</td>
					<td valign="top" width="200">&nbsp;</td>
				  </tr>
				  <tr> 
					<td width="440"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Name 
					  of MySQL database:<br>
					  <font size="1">(will be automatically created by phphits)</font></font></td>
					<td valign="top" width="200"> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> 
					  <input type="text" name="sql_db" size="25" maxlength="50" value="phphits" onclick="sql_db.select();">
					  </font></td>
				  </tr>
				  <tr> 
					<td width="440">&nbsp;</td>
					<td valign="top" width="200">&nbsp;</td>
				  </tr>
				  <tr> 
					<td width="440"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Name 
					  of MySQL log table:<br>
					  <font size="1">(will be automatically created by phphits)</font></font></td>
					<td valign="top" width="200"> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> 
					  <input type="text" name="sql_table_log" size="25" maxlength="50" value="log" onclick="sql_table_log.select();">
					  </font></td>
				  </tr>
				  <tr> 
					<td width="440">&nbsp;</td>
					<td valign="top" width="200">&nbsp;</td>
				  </tr>
				  <tr> 
					<td width="440"><font face="Verdana, Arial, Helvetica, sans-serif" size="2"> 
					  Name of MySQL counter table:<br>
					  <font size="1">(will be automatically created by phphits)</font></font></td>
					<td valign="top" width="200"> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> 
					  <input type="text" name="sql_table_counter" size="25" maxlength="50" value="counter" onclick="sql_table_counter.select();">
					  </font></td>
				  </tr>
				  <tr> 
					<td width="440">&nbsp;</td>
					<td valign="top" width="200">&nbsp;</td>
				  </tr>
				  <tr> 
					<td width="440"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Show 
					  MySQL error messages:</font></td>
					<td valign="top" width="200"> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> 
					  <select name="sql_show_errors">
						<option value="1" selected>Yes</option>
						<option value="0">No</option>
					  </select>
					  </font></td>
				  </tr>
				  <tr> 
					<td width="440">&nbsp;</td>
					<td valign="top" width="200">&nbsp;</td>
				  </tr>
				  <tr> 
					<td colspan="2" bgcolor="#eeeeee" height="20"><b><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Counter 
					  settings</font></b></td>
				  </tr>
				  <tr> 
					<td width="440">&nbsp;</td>
					<td valign="top" width="200">&nbsp;</td>
				  </tr>
				  <tr> 
					<td width="440"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Counter 
					  mode:</font></td>
					<td valign="top" width="200"> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> 
					  <select name="counter_mode">
						<option value="1" selected>Text mode</option>
						<option value="2">Image mode</option>
					  </select>
					  </font></td>
				  </tr>
				  <tr> 
					<td width="440">&nbsp;</td>
					<td valign="top" width="200">&nbsp;</td>
				  </tr>
				  <tr> 
					<td width="440"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Directory 
					  where the counter images are located:<br>
					  <font size="1">(needed for image mode only)</font></font></td>
					<td valign="top" width="200"> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> 
					  <input type="text" name="counter_img_subdir" size="25" maxlength="50" value="digits" onclick="counter_img_subdir.select();">
					  </font></td>
				  </tr>
				  <tr> 
					<td width="440">&nbsp;</td>
					<td valign="top" width="200">&nbsp;</td>
				  </tr>
				  <tr> 
					<td width="440"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Number 
					  of counter digits:</font></td>
					<td valign="top" width="200"> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> 
					  <select name="counter_digits">
						<option value="2">2 digits</option>
						<option value="3">3 digits</option>
						<option value="4" selected>4 digits</option>
						<option value="5">5 digits</option>
						<option value="6">6 digits</option>
						<option value="7">7 digits</option>
					  </select>
					  </font></td>
				  </tr>
				  <tr> 
					<td width="440">&nbsp;</td>
					<td valign="top" width="200">&nbsp;</td>
				  </tr>
				  <tr> 
					<td width="440"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Counter 
					  hits offset:<br>
					  <font size="1">(this value is added to the &quot;real&quot; 
					  hits count)</font></font></td>
					<td valign="top" width="200"> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> 
					  <input type="text" name="counter_hits_offset" size="10" maxlength="10" value="0" onclick="counter_hits_offset.select();">
					  </font></td>
				  </tr>
				  <tr> 
					<td width="440">&nbsp;</td>
					<td valign="top" width="200">&nbsp;</td>
				  </tr>
				  <tr> 
					<td width="440"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Ignore 
					  hit if same visitor has already been counted within<br>
					  the last ... minutes:<br>
					  <font size="1">(IP block)</font></font></td>
					<td valign="top" width="200"> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> 
					  <select name="counter_block_time">
						<option value="0">Count all hits</option>
						<option value="3">3 minutes</option>
						<option value="5">5 minutes</option>
						<option value="10" selected>10 minutes</option>
						<option value="15">15 minutes</option>
						<option value="30">30 minutes</option>
						<option value="60">60 minutes</option>
					  </select>
					  </font></td>
				  </tr>
				  <tr> 
					<td width="440">&nbsp;</td>
					<td valign="top" width="200">&nbsp;</td>
				  </tr>
				  <tr> 
					<td width="440"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Always 
					  ignore hits from visitors with this IP:<br>
					  <font size="1">(useful for webmasters with fixed IPs)</font></font></td>
					<td valign="top" width="200"> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> 
					  <input type="text" name="counter_block_ip" size="15" value="0.0.0.0" maxlength="15" onclick="counter_block_ip.select();">
					  </font></td>
				  </tr>
				  <tr> 
					<td width="440">&nbsp;</td>
					<td valign="top" width="200">&nbsp;</td>
				  </tr>
				  <tr> 
					<td width="440"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Show 
					  number of users who have visited the site within<br>
					  the last ... minutes as &quot;currently online&quot;:</font></td>
					<td valign="top" width="200"> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> 
					  <select name="counter_useronline_time">
						<option value="1">1 minute</option>
						<option value="3" selected>3 minutes</option>
						<option value="5">5 minutes</option>
						<option value="10">10 minutes</option>
					  </select>
					  </font></td>
				  </tr>
				  <tr> 
					<td width="440">&nbsp;</td>
					<td valign="top" width="200">&nbsp;</td>
				  </tr>
				  <tr> 
					<td colspan="2" height="20" bgcolor="#eeeeee"><b><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Log 
					  settings</font></b></td>
				  </tr>
				  <tr> 
					<td width="440">&nbsp;</td>
					<td valign="top" width="200">&nbsp;</td>
				  </tr>
				  <tr> 
					<td width="440"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Number 
					  of hits phphits should store in the log table:<br>
					  <font size="1">(storing all hits might use a lot of DB space 
					  if you have high traffic)</font></font></td>
					<td valign="top" width="200"> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> 
					  <select name="sql_log_hits">
						<option value="0" selected>Store all hits</option>
						<option value="10000">Store only the last 10000 hits</option>
						<option value="5000">Store only the last 5000 hits</option>
						<option value="1000">Store only the last 1000 hits</option>
						<option value="500">Store only the last 500 hits</option>
						<option value="100">Store only the last 100 hits</option>
					  </select>
					  </font></td>
				  </tr>
				  <tr> 
					<td width="440">&nbsp;</td>
					<td valign="top" width="200">&nbsp;</td>
				  </tr>
				  <tr> 
					<td width="440"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Look 
					  up and record visitor's hostname:</font></td>
					<td valign="top" width="200"> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> 
					  <select name="counter_rec_host">
						<option value="1" selected>Yes</option>
						<option value="0">No</option>
					  </select>
					  </font></td>
				  </tr>
				  <tr> 
					<td width="440">&nbsp;</td>
					<td valign="top" width="200">&nbsp;</td>
				  </tr>
				  <tr> 
					<td width="440"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Record 
					  visitor's user agent (browser):</font></td>
					<td valign="top" width="200"> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> 
					  <select name="counter_rec_browser">
						<option value="1" selected>Yes</option>
						<option value="0">No</option>
					  </select>
					  </font></td>
				  </tr>
				  <tr> 
					<td width="440">&nbsp;</td>
					<td valign="top" width="200">&nbsp;</td>
				  </tr>
				  <tr> 
					<td width="440"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Record 
					  visitor's user language:</font></td>
					<td valign="top" width="200"> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> 
					  <select name="counter_rec_language">
						<option value="1" selected>Yes</option>
						<option value="0">No</option>
					  </select>
					  </font></td>
				  </tr>
				  <tr> 
					<td width="440">&nbsp;</td>
					<td valign="top" width="200">&nbsp;</td>
				  </tr>
				  <tr> 
					<td width="440"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Record 
					  page where visitor came from (referrer):</font></td>
					<td valign="top" width="200"> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> 
					  <select name="counter_rec_referrer">
						<option value="1" selected>Yes</option>
						<option value="0">No</option>
					  </select>
					  </font></td>
				  </tr>
				  <tr> 
					<td width="440">&nbsp;</td>
					<td valign="top" width="200">&nbsp;</td>
				  </tr>
				  <tr> 
					<td width="440"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Record 
					  name of page visitor is looking at:</font></td>
					<td valign="top" width="200"> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> 
					  <select name="counter_rec_page">
						<option value="1" selected>Yes</option>
						<option value="0">No</option>
					  </select>
					  </font></td>
				  </tr>
				  <tr> 
					<td width="440">&nbsp;</td>
					<td valign="top" width="200">&nbsp;</td>
				  </tr>
				  <tr> 
					<td colspan="2" height="20" bgcolor="#eeeeee"><b><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Log 
					  file settings</font></b></td>
				  </tr>
				  <tr> 
					<td width="440">&nbsp;</td>
					<td valign="top" width="200">&nbsp;</td>
				  </tr>
				  <tr> 
					<td width="440"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Number 
					  of hits to show in log file:<br>
					  <font size="1">(the more hits you choose, the longer it 
					  will take to load the page)</font></font></td>
					<td valign="top" width="200"> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> 
					  <select name="log_num_hits">
						<option value="0">Show all hits</option>
						<option value="1000">Show only the last 1000 hits</option>
						<option value="500" selected>Show only the last 500 hits</option>
						<option value="250">Show only the last 250 hits</option>
						<option value="100">Show only the last 100 hits</option>
						<option value="50">Show only the last 50 hits</option>
					  </select>
					  </font></td>
				  </tr>
				  <tr> 
					<td width="440">&nbsp;</td>
					<td valign="top" width="200">&nbsp;</td>
				  </tr>
				  <tr> 
					<td width="440"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Font(s) 
					  used in log file:</font></td>
					<td valign="top" width="200"> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> 
					  <input type="text" name="log_font_face" size="25" maxlength="50" value="Verdana, Arial, Helvetica, sans-serif">
					  </font></td>
				  </tr>
				  <tr> 
					<td width="440">&nbsp;</td>
					<td valign="top" width="200">&nbsp;</td>
				  </tr>
				  <tr> 
					<td width="440"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Mark 
					  hits within the last ... hours in special color:</font></td>
					<td valign="top" width="200"> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> 
					  <select name="log_highlight_time">
						<option value="24" selected>24 hours</option>
						<option value="12">12 hours</option>
						<option value="6">6 hours</option>
						<option value="1">1 hour</option>
					  </select>
					  </font></td>
				  </tr>
				  <tr> 
					<td width="440">&nbsp;</td>
					<td valign="top" width="200">&nbsp;</td>
				  </tr>
				  <tr> 
					<td width="440"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Use 
					  this color to mark these hits:</font></td>
					<td valign="top" width="200"> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> 
					  <select name="log_highlight_color">
						<option value="#eeeeee" selected>Grey</option>
						<option value="#ffcccc">Red</option>
						<option value="#66ffcc">Green</option>
						<option value="#66ddff">Blue</option>
						<option value="#ffffcc">Yellow</option>
					  </select>
					  </font></td>
				  </tr>
				  <tr> 
					<td width="440">&nbsp;</td>
					<td valign="top" width="200">&nbsp;</td>
				  </tr>
				  <tr> 
					<td width="440"> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> 
					  <input type="submit" name="Submit" value="Install phphits!">
					  </font></td>
					<td valign="top" width="200">&nbsp;</td>
				  </tr>
				  <tr> 
					<td width="440">&nbsp;</td>
					<td valign="top" width="200">&nbsp;</td>
				  </tr>
				</table>
			  </td>
			</tr>
			<tr> 
			  <td colspan="2">&nbsp;</td>
			</tr>
			<tr> 
			  <td colspan="2"> 
				<hr noshade>
			  </td>
			</tr>
		  </table>
		</form>
	  </div>
	</td>
  </tr>
</table>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit