Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 25, 2012, 06:57:41 AM

Pages: [1]   Go Down
  Print  
Author Topic: phpbb questions and concerns  (Read 451 times)
wickedintense
Newbie
*
Offline Offline

Posts: 2


« on: April 07, 2005, 07:02:29 PM »

I'm not even sure if this is the proper place or if you can help me with this but my board was hacked last night by mygot.com...  I fan a toolkit that allowed me to change the admin and mod passwords so i could at least log in to my board then i ran a fix.php so that i could regain control of the theme.  as I was trying to repair all the files, becuse the board is heavily modded i erased the "shadow files" in the attachement mod which i thought weren't needed and were not there before now my bulltetinboard is coming up as page not found... which is aggrevating since everything as far as all the files and the database seem to be fine and intact, but i have no idea what could be missing or defective with any of the files.  i checked my config.php file and it is empty, don't think it is suppose to be empty but i don't know where to find the file info to add it into the file.

I really need some suggestions... I do believe that i can get the board back to it's original form, posts and all i just don't know what to look for and am running out of ideas as to why the page is coming up as "not found"

help please
here's the url for the BB www.tantriczone.com/bulletinboard
Logged
Ryom
Spacescooter Operator
*****
Offline Offline

Posts: 39



« Reply #1 on: April 08, 2005, 01:04:18 AM »

Copy your forum directory to your pc, and then delete all forum files on your server and upload a fresh copy of phpbb from phpbb.com. Users and posts are stored in the db, so you won't lose them by doing these. The purpose of this part is to remove any potential backdoors that were left in your forum files.

Run the install script and give it your db info again. After the forum is re-installed, use the toolkit you found to check for extra admins in the db and delete them. Change all your passwords... Admin pass to forum, and db pass.

You can use cpanel to slap an .htaccess file onto your phpbb/admin directory so that if someone hacks phpbb they get stopped from gaining access to the admin panel and thus limiting the damage they can do. Make sure to use a different username and password than what you use on the forum for the .htaccess directory protection.
Logged
JamesG
Web Designer UK
Berserker Poster
*****
Offline Offline

Posts: 12038


Web Designer


WWW
« Reply #2 on: April 08, 2005, 01:15:22 AM »

make sure to backup everything before attemting this

try this thread:
http://www.lunarforums.com/forum/viewtopic.php?t=22727
Logged

Johnny
MR-Disabled
Über Jedi
*
Offline Offline

Posts: 1914



« Reply #3 on: April 08, 2005, 05:03:23 PM »

As Ryom suggested, first back up your database and phpbb files. I would leave the database intact, remove the phpbb directory from the server. Once you have uploaded the full phpBB package, you'll  want to run the installer by typing in the url to your domain, and add this to the end
Quote

/install/update_to_latest.php


Also, note, you can create a config file, and upload it. I use wordpad to code in. So you could open wordpad, and add the following:

Code:
<?php


// phpBB 2.x auto-generated config file
// Do not change anything in this file!

$dbms 'mysql4';

$dbhost 'localhost';
$dbname 'username_databasename';
$dbuser 'username_databaseusername';
$dbpasswd 'yourpassword';

$table_prefix 'phpbb_';  Note* if the prefix is phpbbit not chane it to the prefix_ you chose.

define&#40;'PHPBB_INSTALLED', true&#41;;

?>
Set the permission to 644 on this file.

You will lose your mods, but, you would only need to mod the files that are required for the mod, since the database would reatin the current tables, if any were added, for the mod.  Wink
Logged

Pages: [1]   Go Up
  Print  
 
Jump to: