htaccess Protection for admincp & any dir
This thread is in the Modification Graveyard.
this is a very simple hack
its only main function is to add htaccess protection for any dir by adding some small lines in the begining of Dir's index our application will be on admincp's index (index.php) Description: This hack will add htaccess protection to any folder by adding small lines in its index.php file & the user name & password for this protection is determined by two varables in the same file & if the data entered was wrong, the page will give a black background with a title (Unauthorized) & a content says (Enter Here Only) when clicking it, it will direct to forum's root (index.php by default), this means douple security (likes Look http://vbulletin.com/forum/admincp. Please Note: The Default User Name & Paaaword for entering through this Protection Is (User: 123 / Pass: 321) See the last two line to know how to change this values installation: open the file index.php present in the dir admincp & search for the following code: PHP Code:
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
PHP Code:
$index['public'] = $index['public'];
Note 1: change the values of the two variables $phpkd['username'] / $phpkd['password'] to the username & password needed & note not to change this $index['public'] = $index['public']; Note 2: This Protection Gives the authority for entering to onnly the username & passord defined in the file (above modification) & after passing through this htaccess protection you will find the Normal vbulletin admincp login screen & then you can go with the normal admin data recorded in the forum itself. Hope I have explained enough for beginners. Download No files for download. |