Mitt forum är hackat!

Detta är ett arkiv för phpBB2 Support, Diskussion, MODar, Stilar och översättningar. Den tillhandahålls endast för referensändamål.

Moderatorer: Moderatorgrupp, Supportgrupp

Användarens profilbild
PazZze
Support
Support
Inlägg: 1028
Blev medlem: 2004-05-10 11:19
Svar: 0

Inlägg av PazZze »

som sagt, jag tror du fortfarande saknar en databas fil (Då detta fel fanns förrut då den klagade på det engelska språket)
Joel PazZze Martinsson - phpBB Sverige Support
Användarens profilbild
WickeD
Extra aktiv medlem
Extra aktiv medlem
Inlägg: 979
Blev medlem: 2004-11-08 12:17
Svar: 0

Inlägg av WickeD »

Jag är för dåligt insatt för att kunna lösa detta själv.
Hoppas på att Holger ska komma Online :D Man saknar honom... :cry:
Bästa hälsningar - Mikael Andersson

Välkommen till: http://www.bikersite.se - Träffpunkten för svenska bikers!
Användarens profilbild
Holger
Support - Ledare
Support - Ledare
Inlägg: 6573
Blev medlem: 2004-06-09 09:32
Svar: 1

Inlägg av Holger »

Har du nu kört uppdate-filen?
Filen heter install_ctracker.php.
Har du kört den? Utan felmeddelanden?

Dessutom är detta mycket viktigt:
##############################################################
## Author Notes:
##
## VERY IMPORTANT!!!
##
## After Uploading all included Files and after doing every action
## shown into the following MOD File, you have to set CHMOD 777
## on these files before using this MOD:
##
## - ctracker/engine/definitions.php
## - ctracker/engine/cachelist.php
## - ctracker/logfiles/logfile_injects.txt
## - ctracker/logfiles/logfile_login.txt
## - ctracker/counter.txt
Holger Gremminger
Ingen support via PM!
Användarens profilbild
WickeD
Extra aktiv medlem
Extra aktiv medlem
Inlägg: 979
Blev medlem: 2004-11-08 12:17
Svar: 0

Inlägg av WickeD »

Det är det som är så konstigt, jag körde install utan felmeddelande.
Och jag kollade nu att jag hade ändrat till 777, ska jag ändra själva mapparna också eller bara filerna i mapparna?
Bästa hälsningar - Mikael Andersson

Välkommen till: http://www.bikersite.se - Träffpunkten för svenska bikers!
Användarens profilbild
Holger
Support - Ledare
Support - Ledare
Inlägg: 6573
Blev medlem: 2004-06-09 09:32
Svar: 1

Inlägg av Holger »

Det är filerna som skall ha 777

Har du dessutom gjort alla ändringar (dubbelkolla) som beskrivs i install.txt?

Jag har frågat Christian (CBACK) vad som kan vara fel.
Holger Gremminger
Ingen support via PM!
Användarens profilbild
WickeD
Extra aktiv medlem
Extra aktiv medlem
Inlägg: 979
Blev medlem: 2004-11-08 12:17
Svar: 0

Inlägg av WickeD »

Ska kolla install texten igen få se så jag inte missat något...
Bästa hälsningar - Mikael Andersson

Välkommen till: http://www.bikersite.se - Träffpunkten för svenska bikers!
Användarens profilbild
Holger
Support - Ledare
Support - Ledare
Inlägg: 6573
Blev medlem: 2004-06-09 09:32
Svar: 1

Inlägg av Holger »

Kolla även i din databas om tabellen CRACKTRACK verkligen finns!
Holger Gremminger
Ingen support via PM!
Användarens profilbild
WickeD
Extra aktiv medlem
Extra aktiv medlem
Inlägg: 979
Blev medlem: 2004-11-08 12:17
Svar: 0

Inlägg av WickeD »

Jag ser en sak som jag är osäker på.

Det står i Install text:

Kod: Markera allt

#
#-----[ FIND ]------------------------------------------
#
//
// Show the overall footer.
//
$admin_link = ( $userdata['user_level'] == ADMIN ) ? '<a href="admin/index.' . $phpEx . '?sid=' . $userdata['session_id'] . '">' . $lang['Admin_panel'] . '</a><br /><br />' : '';
Och i min file står det så här:

Kod: Markera allt

//
// Show the overall footer.
//
include_once($phpbb_root_path . 'includes/functions_jr_admin.' . $phpEx);
$admin_link = jr_admin_make_admin_link();
Och detta ska jag lägga in:

Kod: Markera allt

#
#-----[ AFTER, ADD ]------------------------------------------
#
  // Do we need the CTracker Counter File?
  if (($ctrack_footerm == 3) or ($ctrack_footerm == 4))
  {
    $countername = $phpbb_root_path . "ctracker/counter.txt";
    $count_value1 = @file_get_contents($countername);
  }

  if ($ctrack_footerm == 1)
  {
    // Button
    $pubview = '<a href="http://www.cback.de" target="_blank"><img src="' . $phpbb_root_path . 'ctracker/images/ct_protect_button.gif" alt="CBACK.DE CrackerTracker" border="0"></a>';
  }
  else if ($ctrack_footerm == 2)
  {
    // Minibutton
    $pubview = '<a href="http://www.cback.de" target="_blank"><img src="' . $phpbb_root_path . 'ctracker/images/ct_protect_small.gif" alt="CBACK.DE CrackerTracker" border="0"></a>';
  }
  else if ($ctrack_footerm == 3)
  {
    // Minibutton with Statistic
    $pubview = '<a href="http://www.cback.de" target="_blank"><img src="' . $phpbb_root_path . 'ctracker/images/ct_protect_small.gif" alt="CBACK.DE CrackerTracker" border="0"></a><br><br>
    			<b>' . $count_value1 . '</b> blocked attacks<br>';
  }
  else if ($ctrack_footerm == 4)
  {
    // Textlink with Statistic
    $pubview = 'Protected by <a href="http://www.cback.de" target="_blank">CBACK.DE CrackerTracker</a> and <a href="http://www.phpbb2.de" target="_blank">phpBB2.de</a>.<br><br>
        			<b>' . $count_value1 . '</b> blocked attacks<br>';
  }
  else
  {
    // Textlink
    $pubview = 'Protected by <a href="http://www.cback.de" target="_blank">CBACK.DE CrackerTracker</a> and <a href="http://www.phpbb2.de" target="_blank">phpBB2.de</a>.';
  }
Och jag har lagt det så här:

Kod: Markera allt

//
// Show the overall footer.
//
include_once($phpbb_root_path . 'includes/functions_jr_admin.' . $phpEx);
$admin_link = jr_admin_make_admin_link();
  // Do we need the CTracker Counter File?
  if (($ctrack_footerm == 3) or ($ctrack_footerm == 4))
  {
    $countername = $phpbb_root_path . "ctracker/counter.txt";
    $count_value1 = @file_get_contents($countername);
  }

  if ($ctrack_footerm == 1)
  {
    // Button
    $pubview = '<a href="http://www.cback.de" target="_blank"><img src="' . $phpbb_root_path . 'ctracker/images/ct_protect_button.gif" alt="CBACK.DE CrackerTracker" border="0"></a>';
  }
  else if ($ctrack_footerm == 2)
  {
    // Minibutton
    $pubview = '<a href="http://www.cback.de" target="_blank"><img src="' . $phpbb_root_path . 'ctracker/images/ct_protect_small.gif" alt="CBACK.DE CrackerTracker" border="0"></a>';
  }
  else if ($ctrack_footerm == 3)
  {
    // Minibutton with Statistic
    $pubview = '<a href="http://www.cback.de" target="_blank"><img src="' . $phpbb_root_path . 'ctracker/images/ct_protect_small.gif" alt="CBACK.DE CrackerTracker" border="0"></a><br><br>
    			<b>' . $count_value1 . '</b> blocked attacks<br>';
  }
  else if ($ctrack_footerm == 4)
  {
    // Textlink with Statistic
    $pubview = 'Protected by <a href="http://www.cback.de" target="_blank">CBACK.DE CrackerTracker</a> and <a href="http://www.phpbb2.de" target="_blank">phpBB2.de</a>.<br><br>
        			<b>' . $count_value1 . '</b> blocked attacks<br>';
  }
  else
  {
    // Textlink
    $pubview = 'Protected by <a href="http://www.cback.de" target="_blank">CBACK.DE CrackerTracker</a> and <a href="http://www.phpbb2.de" target="_blank">phpBB2.de</a>.';
  }
Kan det vara här problemet ligger?
Bästa hälsningar - Mikael Andersson

Välkommen till: http://www.bikersite.se - Träffpunkten för svenska bikers!
Användarens profilbild
Holger
Support - Ledare
Support - Ledare
Inlägg: 6573
Blev medlem: 2004-06-09 09:32
Svar: 1

Inlägg av Holger »

Egentligen inte, men lägg upp din includes/functions_jr_admin.php här ...
Holger Gremminger
Ingen support via PM!
Användarens profilbild
WickeD
Extra aktiv medlem
Extra aktiv medlem
Inlägg: 979
Blev medlem: 2004-11-08 12:17
Svar: 0

Inlägg av WickeD »

Kod: Markera allt

<?php

define('EXPLODE_SEPERATOR_CHAR', '|');
define('JR_ADMIN_DIR', 'admin/');
define('COPYRIGHT_NIVISEC_FORMAT',
'<br /><span class="copyright"><center>
	%s 
	&copy; %s 
	<a href="http://www.nivisec.com" class="copyright">Nivisec.com</a>.
	</center></span>'
);


if (!function_exists('copyright_nivisec'))
{
	/**
	* @return void
	* @desc Prints a sytlized line of copyright for module
	*/
	function copyright_nivisec($name, $year)
	{
		printf(COPYRIGHT_NIVISEC_FORMAT, $name, $year);
	}
}

if (!function_exists('find_lang_file_nivisec'))
{
	/**
	* @return boolean
	* @param filename string
	* @desc Tries to locate and include the specified language file.  Do not include the .php extension!
	*/
	function find_lang_file_nivisec($filename)
	{
		global $lang, $phpbb_root_path, $board_config, $phpEx;
		
		if (file_exists($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . "/$filename.$phpEx"))
		{
			include_once($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . "/$filename.$phpEx");
		}
		elseif (file_exists($phpbb_root_path . "language/lang_english/$filename.$phpEx"))
		{
			include_once($phpbb_root_path . "language/lang_english/$filename.$phpEx");
		}
		else
		{
			message_die(GENERAL_ERROR, "Unable to find a suitable language file for $filename!", '');
		}
		return true;
	}
}

if (!function_exists('config_update_nivisec'))
{
	/**
	* @return boolean
	* @param item string
	* @param value string
	* @param prefix [optional]string
	* @desc Updates a configuration item.  If the 3rd param is specified, that text is cut off before insertion.  Assumes $status_message is predefined.
	*/
	function config_update_nivisec($item, $value, $prefix = '')
	{
		global $board_config, $db, $status_message, $lang;
		
		if ($prefix != '') $item = preg_replace("/^$prefix/", '', $item);
		//Only bother updating if the value is different
		if ($board_config[$item] != $value)
		{
			$sql = 'UPDATE ' . CONFIG_TABLE . "
				SET config_value = '$value'
				WHERE config_name = '$item'";
			if (!$db->sql_query($sql))
			{
				return false;
			}
			$board_config[$item] = $value;
			$status_message .= sprintf($lang['Updated_Config'], $lang[$item]);
		}
		return true;
	}
}
if (!function_exists('set_filename_nivisec'))
{
	/**
	* @return boolean
	* @param filename string
	* @param handle string
	* @desc Sets the filename to handle in the $template class.  Saves typing for me :)
	*/
	function set_filename_nivisec($handle, $filename)
	{
		global $template;
		
		$template->set_filenames(array(
		$handle => $filename
		));
		
		return true;
	}
}

if (!function_exists('sql_query_nivisec'))
{
	/**
	* @return array
	* @param sql string
	* @param error string
	* @param fast boolean
	* @param return_items int
	* @desc Does $sql query and returns a list if $fast = false.  $error displayed on error.  if $return_items = 1, then only the first row data is returned.  Usefull when querying unique entries.
	*/
	function sql_query_nivisec($sql, $error, $fast = true, $return_items = 0)
	{
		global $db;
		
		switch($fast)
		{
			case true:
			{
				
				if (!$db->sql_query($sql))
				{
					message_die(GENERAL_ERROR, $error, '', __LINE__, __FILE__, $sql);
				}
				return false;
			}
			case false:
			{
				if (!$result = $db->sql_query($sql))
				{
					message_die(GENERAL_ERROR, $error, '', __LINE__, __FILE__, $sql);
				}
				if ($return_items != 1)
				{
					return ($db->sql_fetchrowset($result));
				}
				else
				{
					return ($db->sql_fetchrow($result));
				}
			}
			
		}
	}
}

function jr_admin_check_file_hashes($file)
{
	global $phpbb_root_path, $phpEx, $userdata;
	
	//Include the file to get the module list
	$setmodules = 1;
	include($phpbb_root_path.JR_ADMIN_DIR.$file);
	unset($setmodules);
	
	$jr_admin_userdata = jr_admin_get_user_info($userdata['user_id']);
	
	$user_modules = explode(EXPLODE_SEPERATOR_CHAR, $jr_admin_userdata['user_jr_admin']);
	
	foreach($module as $cat => $module_data)
	{
		foreach($module_data as $module_name => $module_file)
		{
			//Remove sid if we find one
			$module_file = preg_replace("/(\?|&|&)sid=[A-Z,a-z,0-9]{32}/", '', $module_file);
			//Make our unique ID
			$file_hash = md5($cat.$module_name.$module_file);
			//See if it is in the array
			if (in_array($file_hash, $user_modules))
			{
				return true;
			}
		}
	}
	
	//If we get this far, the user has no business with the module filename
	return false;
}

function jr_admin_get_module_list($user_module_list = false)
{
	global $db, $phpbb_root_path, $lang, $phpEx, $board_config, $userdata;
	
	/* Debugging for this function. Debugging in this function causes changes to the way ADMIN users
	are interpreted.  You are warned */
	$debug = false;
	/* Even more debug info! */
	$verbose = false;
	
	//Read all the modules
	$setmodules = 1;
	$dir = @opendir($phpbb_root_path.JR_ADMIN_DIR);
	$pattern = "/^admin_.+\.$phpEx$/";
	while (($file = @readdir($dir)) !== false)
	{
		if (preg_match($pattern, $file))
		{
			include($phpbb_root_path.JR_ADMIN_DIR.$file);
		}
	}
	@closedir($dir);
	unset($setmodules);
	
	@ksort($module);
	if ($debug && $verbose)
	{
		print "<pre><font color=\"green\"><span class=\"gensmall\">DEBUG - Module List Non Cache - <br>";
		print_r($module);
		print "</span></font><br></pre>";
	}
	
	//Get the cache list we have and find non-existing and new items
	foreach ($module as $cat => $item_array)
	{
		foreach ($item_array as $module_name => $filename)
		{
			//Remove sid in case some retarted person appended it early *(cough admin_disallow.php cough)*
			$filename = preg_replace("/(\?|&|&)sid=[A-Z,a-z,0-9]{32}/", '', $filename);
			if ($debug && $verbose) print "<span class=\"gensmall\"><font color=\"red\">DEBUG - filename = $filename</font></span><br>";
			//Note the md5 function compilation here to make a unique id
			$file_hash = md5($cat.$module_name.$filename);
			
			//Wee a 3-D array of our info!
			if ($user_module_list && ($userdata['user_level'] != ADMIN || $debug))
			{
				//If we were passed a list of valid modules, make sure we are sending the correct list back
				$user_modules = explode(EXPLODE_SEPERATOR_CHAR, $user_module_list);
				if (in_array($file_hash, $user_modules))
				{
					$module_list[$cat][$module_name]['filename'] = $filename;
					$module_list[$cat][$module_name]['file_hash'] = $file_hash;
				}
			}
			else
			{
				//No list sent?  Send back all of them because we should be an ADMIN!
				$module_list[$cat][$module_name]['filename'] = $filename;
				$module_list[$cat][$module_name]['file_hash'] = $file_hash;
			}
		}
	}
	
	return $module_list;
}

function jr_admin_secure($file)
{
	global $HTTP_GET_VARS, $HTTP_POST_VARS, $db, $lang, $userdata;
	
	/* Debugging in this function causes changes to the way ADMIN users
	are interpreted.  You are warned */
	$debug = false;
	
	$jr_admin_userdata = jr_admin_get_user_info($userdata['user_id']);
	
	if ($debug)
	{
		if (!preg_match("/^index.$phpEx/", $file))
		{
			print '<pre><span class="gen"><font color="red">DEBUG - File Accessed - ';
			print $file;
			print '</pre></font></span><br>';
		}
	}
	if ($userdata['user_level'] == ADMIN && !$debug)
	{
		//Admin always has access
		return true;
	}
	elseif (empty($jr_admin_userdata['user_jr_admin']))
	{
		//This user has no modules and no business being here
		return false;
	}
	elseif (preg_match("/^index.$phpEx/", $file))
	{
		//We are at the index file, which is already secure pretty much
		return true;
	}
	elseif (isset($HTTP_GET_VARS['module']) && in_array($HTTP_GET_VARS['module'], explode(EXPLODE_SEPERATOR_CHAR, $jr_admin_userdata['user_jr_admin'])))
	{
		//The user has access for sure by module_id security from GET vars only
		return true;
	}
	elseif (!isset($HTTP_GET_VARS['module']) && count($HTTP_POST_VARS))
	{
		//This user likely entered a post form, so let's use some checking logic
		//to make sure they are doing it from where they should be!
		
		//Get the filename without any arguments
		$file = preg_replace("/\?.+=.*$/", '', $file);
		//Return the check to make sure the user has access to what they are submitting
		return jr_admin_check_file_hashes($file);
	}
	elseif (!isset($HTTP_GET_VARS['module']) && isset($HTTP_GET_VARS['sid']))
	{
		//This user has clicked on a url that specified items
		if ($HTTP_GET_VARS['sid'] != $userdata['session_id'])
		{
			return false;
		}
		else
		{
			//Get the filename without any arguments
			$file = preg_replace("/\?.+=.*$/", '', $file);
			//Return the check to make sure the user has access to what they are submitting
			return jr_admin_check_file_hashes($file);
		}
	}
	else
	{
		//Something came up that shouldn't have!
		return false;
	}
}

function jr_admin_include_all_lang_files()
{
	global $lang, $phpbb_root_path, $board_config, $phpEx;

	$dir = @opendir($phpbb_root_path.'language/lang_'.$board_config['default_lang']);
	$pattern = "/^lang.+\.$phpEx$/";
	while (($file = @readdir($dir)) !== false)
	{
		if (preg_match($pattern, $file))
		{
			include_once($phpbb_root_path.'language/lang_'.$board_config['default_lang'].'/'.$file);
		}
	}
	@closedir($dir);	
}

function jr_admin_make_left_pane()
{
	global $template, $lang, $module, $phpEx, $userdata;
	
	jr_admin_include_all_lang_files();
	
	@ksort($module);
	//Loop through and set up all the nice form names, etc
	foreach ($module as $cat => $module_array)
	{
		$template->assign_block_vars("catrow", array(
		'ADMIN_CATEGORY' => (isset($lang[$cat])) ? $lang[$cat] : preg_replace("/_/", ' ', $cat)
		));
		@ksort($module_array);
		$i = 0;
		foreach ($module_array as $module_name => $data_array)
		{
			//Compile our module url with lots of options
			$module_url = $data_array['filename'];
			$module_url .= (preg_match("/^.*\.$phpEx\?/", $module_url)) ? '&' : '?';
			$module_url .= "sid=".$userdata['session_id']."&module=".$data_array['file_hash'];
			
			$template->assign_block_vars("catrow.modulerow", array(
			'ROW_CLASS' => (++$i % 2) ? 'row1' : 'row2',
			'ADMIN_MODULE' => (isset($lang[$module_name])) ? $lang[$module_name] : preg_replace("/_/", ' ', $module_name),
			'U_ADMIN_MODULE' => $module_url
			));
		}
	}
}

function jr_admin_make_info_box()
{
	global $template, $lang, $module, $userdata, $board_config;
	
	/* Debug?  Changes the status stnading of ADMIN!!!  You are warned */
	$debug = false;
	
	if ($userdata['user_level'] != ADMIN || $debug)
	{
		find_lang_file_nivisec('lang_jr_admin');
		
		$jr_admin_userdata = jr_admin_get_user_info($userdata['user_id']);
		
		$template->set_filenames(array('JR_ADMIN_INFO' => 'admin/jr_admin_user_info_header.tpl'));
		
		$template->assign_vars(array(
		'JR_ADMIN_START_DATE' => create_date($board_config['default_dateformat'], $jr_admin_userdata['start_date'], $board_config['board_timezone']),
		'JR_ADMIN_UPDATE_DATE' => create_date($board_config['default_dateformat'], $jr_admin_userdata['update_date'], $board_config['board_timezone']),
		'JR_ADMIN_ADMIN_NOTES' => $jr_admin_userdata['admin_notes'],
		'L_VERSION' => $lang['Version'],
		'L_JR_ADMIN_TITLE' => $lang['Junior_Admin_Info'],
		'VERSION' => MOD_VERSION,
		'L_MODULE_COUNT' => $lang['Module_Count'],
		'L_NOTES' => $lang['Notes'],
		'L_ALLOW_VIEW' => $lang['Allow_View'],
		'L_START_DATE' => $lang['Start_Date'],
		'L_UPDATE_DATE' => $lang['Update_Date'],
		'L_ADMIN_NOTES' => $lang['Admin_Notes']
		));
		
		//Switch the info area if allowed to view it
		if ($jr_admin_userdata['notes_view'])
		{
			$template->assign_block_vars('jr_admin_info_switch', array());
		}
		
		$template->assign_var_from_handle('JR_ADMIN_INFO_TABLE', 'JR_ADMIN_INFO');
	}
}

function jr_admin_get_user_info($user_id)
{
	global $lang;
	//Do the query and get the results, return the user row as well.
	return (
	sql_query_nivisec(
	'SELECT * FROM ' . JR_ADMIN_TABLE . "
	WHERE user_id = $user_id",
	
	sprintf($lang['Error_Table'], JR_ADMIN_TABLE),
	false,
	1
	)
	);
}

function jr_admin_make_admin_link()
{
	global $lang, $userdata, $phpEx;
	
	$jr_admin_userdata = jr_admin_get_user_info($userdata['user_id']);
	
	if (!empty($jr_admin_userdata['user_jr_admin']) || $userdata['user_level'] == ADMIN)
	{
		return '<a href="admin/index.' . $phpEx . '?sid=' . $userdata['session_id'] . '">' . $lang['Admin_panel'] . '</a><br /><br />';
	}
	else
	{
		return '';
	}
}
?>
Bästa hälsningar - Mikael Andersson

Välkommen till: http://www.bikersite.se - Träffpunkten för svenska bikers!
Användarens profilbild
WickeD
Extra aktiv medlem
Extra aktiv medlem
Inlägg: 979
Blev medlem: 2004-11-08 12:17
Svar: 0

Inlägg av WickeD »

Jag kollade Databasen, jag hittar INTE den filen. Vad ska jag göra då?
Bästa hälsningar - Mikael Andersson

Välkommen till: http://www.bikersite.se - Träffpunkten för svenska bikers!
Användarens profilbild
WickeD
Extra aktiv medlem
Extra aktiv medlem
Inlägg: 979
Blev medlem: 2004-11-08 12:17
Svar: 0

Inlägg av WickeD »

Men jag hittade en som heter: phpbb_cracktrack
Bästa hälsningar - Mikael Andersson

Välkommen till: http://www.bikersite.se - Träffpunkten för svenska bikers!
Användarens profilbild
Holger
Support - Ledare
Support - Ledare
Inlägg: 6573
Blev medlem: 2004-06-09 09:32
Svar: 1

Inlägg av Holger »

Gör backup först innan du provar följande!

Öppna includes/functions_jr_admin.php

Hitta

Kod: Markera allt

function jr_admin_make_admin_link() 
{ 
   global $lang, $userdata, $phpEx; 
    
   $jr_admin_userdata = jr_admin_get_user_info($userdata['user_id']); 
    
   if (!empty($jr_admin_userdata['user_jr_admin']) || $userdata['user_level'] == ADMIN) 
   { 
      return '<a href="admin/index.' . $phpEx . '?sid=' . $userdata['session_id'] . '">' . $lang['Admin_panel'] . '</a><br /><br />'; 
   } 
   else 
   { 
      return ''; 
   } 
}
Ändra till

Kod: Markera allt

function jr_admin_make_admin_link() 
{ 
   global $lang, $userdata, $phpEx; 
    
   $jr_admin_userdata = jr_admin_get_user_info($userdata['user_id']); 
    
   if (!empty($jr_admin_userdata['user_jr_admin']) || $userdata['user_level'] == ADMIN) 
   { 
      return '<a href="admin/index.' . $phpEx . '?sid=' . $userdata['session_id'] . '">' . $lang['Admin_panel'] . '</a><br /><br />';
  // Do we need the CTracker Counter File? 
  if (($ctrack_footerm == 3) or ($ctrack_footerm == 4)) 
  { 
    $countername = $phpbb_root_path . "ctracker/counter.txt"; 
    $count_value1 = @file_get_contents($countername); 
  } 

  if ($ctrack_footerm == 1) 
  { 
    // Button 
    $pubview = '<a href="http://www.cback.de" target="_blank"><img src="' . $phpbb_root_path . 'ctracker/images/ct_protect_button.gif" alt="CBACK.DE CrackerTracker" border="0"></a>'; 
  } 
  else if ($ctrack_footerm == 2) 
  { 
    // Minibutton 
    $pubview = '<a href="http://www.cback.de" target="_blank"><img src="' . $phpbb_root_path . 'ctracker/images/ct_protect_small.gif" alt="CBACK.DE CrackerTracker" border="0"></a>'; 
  } 
  else if ($ctrack_footerm == 3) 
  { 
    // Minibutton with Statistic 
    $pubview = '<a href="http://www.cback.de" target="_blank"><img src="' . $phpbb_root_path . 'ctracker/images/ct_protect_small.gif" alt="CBACK.DE CrackerTracker" border="0"></a><br><br> 
             <b>' . $count_value1 . '</b> blocked attacks<br>'; 
  } 
  else if ($ctrack_footerm == 4) 
  { 
    // Textlink with Statistic 
    $pubview = 'Protected by <a href="http://www.cback.de" target="_blank">CBACK.DE CrackerTracker</a> and <a href="http://www.phpbb2.de" target="_blank">phpBB2.de</a>.<br><br> 
                 <b>' . $count_value1 . '</b> blocked attacks<br>'; 
  } 
  else 
  { 
    // Textlink 
    $pubview = 'Protected by <a href="http://www.cback.de" target="_blank">CBACK.DE CrackerTracker</a> and <a href="http://www.phpbb2.de" target="_blank">phpBB2.de</a>.'; 
  }
   } 
   else 
   { 
      return ''; 
   } 
} 
Holger Gremminger
Ingen support via PM!
Användarens profilbild
Holger
Support - Ledare
Support - Ledare
Inlägg: 6573
Blev medlem: 2004-06-09 09:32
Svar: 1

Inlägg av Holger »

WickeD skrev:Men jag hittade en som heter: phpbb_cracktrack
Ah! Och hos dig söker den efter biker_a.cracktrack, konstigt!
Börjar alla andra tabeller också med phpbb_?
Holger Gremminger
Ingen support via PM!
Användarens profilbild
WickeD
Extra aktiv medlem
Extra aktiv medlem
Inlägg: 979
Blev medlem: 2004-11-08 12:17
Svar: 0

Inlägg av WickeD »

Ååååå så dåligt av mig! :oops:

Jag hade lagt in en Backup file istället för den som jag hade ändrat på, det var denna file: constants.php

Jag ber tusen gånger om ursäkt för att jag har jagat upp dig för att konstatera att jag har gjort bort mig. :oops:

Men det ser ut att funka bara bra nu.


Tack för allt ditt stöd om detta!!!
Bästa hälsningar - Mikael Andersson

Välkommen till: http://www.bikersite.se - Träffpunkten för svenska bikers!
Skriv svar

Vilka är online

Användare som besöker denna kategori: 1 och 0 gäst