Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

PHP 

Setting up first booter from rage booter source

Im getting this error when im trying to visit the index page
Code
Warning: PDO::__construct(): The server requested authentication method unknown to the client [mysql_old_password] in /home/httphid/public_html/index/includes/db.php on line 7

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client' in /home/httphid/public_html/index/includes/db.php:7 Stack trace: #0 /home/httphid/public_html/index/includes/db.php(7): PDO->__construct('mysql:host=loca...', 'httphid_hid', 'hidden') #1 /home/httphid/public_html/index/index.php(3): require_once('/home/httphid/...') #2 {main} thrown in /home/httphid/public_html/index/includes/db.php on line 7

On Line 7
Code
$odb = new PDO('mysql:host=' . DB_HOST . ';dbname=' . DB_NAME, DB_USERNAME, DB_PASSWORD);
[Image: oCBbDSx.png]

Check this thread and fix the bug : http://stackoverflow.com/questions/14612...ion-method
(Feb 2, 2015 10:34 AM)Sakuto Wrote:  Check this thread and fix the bug :

Where should I implement The
old_passwords=0;
[Image: oCBbDSx.png]

Did you read the thread ? http://stackoverflow.com/questions/13404...38#1340538
(Feb 2, 2015 11:27 AM)Sakuto Wrote:  Did you read the thread ?
Yes and I dont understand im not so good at english
[Image: oCBbDSx.png]

Edit your php.ini file; to find it:
PHP Code

<?php 
find 
/ -name php.ini 

Add this line:
PHP Code

<?php 
old_password
=1 
I only use https://ricochet.im - ricochet:lmi3tdtlsnziqwdk

Jabber: [email protected]
$odb = new PDO('mysql:host=' . DB_HOST . ';dbname=' . DB_NAME, DB_USERNAME, DB_PASSWORD);

In your Mysql Database you need follow column: DB_NAME, DB_USERNAME, DB_PASSWORD
How old is that Rage booter source? Rage booter has been hacked many times, so various source codes obviously have vulnerabilities lingering.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[PHP] by PossibilitesOct 18, 2014 12:57 PM 8 603 Oct 18, 2014 12:57 PM
Last Post: Ahmad325
[PHP] by mrchris53471Sep 21, 2013 01:03 PM 14 1,710 Sep 21, 2013 01:03 PM
Last Post: Sm1th‌‌‌‌
[PHP] by BricksquadJan 21, 2013 01:35 PM 4 118 Jan 21, 2013 01:35 PM
Last Post: Swish