Moderator: Integra Moderator
"Drop-Forged";p="14891" wrote:...I found a page that seemed to have some good advise for making php more secure with .htaccess.
RewriteEngine onRewriteRule phpbb_root_path hacker_trying_again [L]
RewriteRule (.*)phpbb_root_path(.*) /hacking_attempt.cgi?first=$1&last=$2
"macarlisle";p="15068" wrote:Hey guys, I have just added the lines of code and I'm now getting this issue.
Parse error: syntax error, unexpected ':' in /home/westtexas/www/www/phpBB2/includes/functions.php on line 29
Any clues?
"macarlisle";p="15074" wrote:Sorry about that, I didnt pay attiontion to entire line of code.
"twitchy";p="14471" wrote:Ive got one <img>
it actually only affects my album (so far ) wehn i try to access it it says
Hacking attempt... Details Logged
plz help
"jwernerny";p="15144" wrote:"twitchy";p="14471" wrote:it actually only affects my album (so far ) wehn i try to access it it says
Hacking attempt... Details Logged
I seem to be in the same boat. (http://www.snowtire.info/forum/album.php) I've gone back through the fixes and I have the latest. Any other suggestions? Is it possible that in the initial flurry of patches I still have an old one that should be unpatched?
// Hack Fixes 280806 //if(strstr($phpbb_root_path, '"')){ die('Hacking attempt... Details Logged'); exit;}if($phpbb_root_path[0] != '.' && $phpbb_root_path[1] != '/' || $phpbb_root_path[0] != '.' && $phpbb_root_path[1] != '.'){ $phpbb_root_path = './'; die('Hacking attempt... Details Logged'); exit;}// Hack Fixes 280806 //
"jwernerny";p="15152" wrote:"jwernerny";p="15144" wrote:"twitchy";p="14471" wrote:it actually only affects my album (so far ) wehn i try to access it it says
Hacking attempt... Details Logged
I seem to be in the same boat. (http://www.snowtire.info/forum/album.php) I've gone back through the fixes and I have the latest. Any other suggestions? Is it possible that in the initial flurry of patches I still have an old one that should be unpatched?
Found it. It looks like I left in a couple of the early patches. If you are having the same problem, look to see if you still have lines that look like below and remove them. The 2nd post in this topic doesn't have them and they just cause problems.
- Code: Select all
// Hack Fixes 280806 //if(strstr($phpbb_root_path, '"')){ die('Hacking attempt... Details Logged'); exit;}if($phpbb_root_path[0] != '.' && $phpbb_root_path[1] != '/' || $phpbb_root_path[0] != '.' && $phpbb_root_path[1] != '.'){ $phpbb_root_path = './'; die('Hacking attempt... Details Logged'); exit;}// Hack Fixes 280806 //
- John (Who is learning more about PHP then he really wanted to.)
Registered users: Bing [Bot], Google [Bot], Majestic-12 [Bot]