Hack Forums
[PHP] Setting up first booter from rage booter source - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Web Development (https://hackforums.net/forumdisplay.php?fid=183)
+---- Thread: [PHP] Setting up first booter from rage booter source (/showthread.php?tid=4667052)



Setting up first booter from rage booter source - .Cherry - Feb 2, 2015

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);



* - Sakuto - Feb 2, 2015

Check this thread and fix the bug : http://stackoverflow.com/questions/14612551/mysql-remote-connection-fails-with-unknown-authentication-method


* - .Cherry - Feb 2, 2015

(Feb 2, 2015 10:34 AM)Sakuto Wrote:  Check this thread and fix the bug :

Where should I implement The
old_passwords=0;


* - Sakuto - Feb 2, 2015

Did you read the thread ? http://stackoverflow.com/questions/1340488/mysql-php-incompatibility/1340538#1340538


* - .Cherry - Feb 2, 2015

(Feb 2, 2015 11:27 AM)Sakuto Wrote:  Did you read the thread ?
Yes and I dont understand im not so good at english


* - stackoverflowin - Feb 2, 2015

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

<?php 
find 
/ -name php.ini 

Add this line:
PHP Code

<?php 
old_password
=1 



* - Kiddie - Jun 11, 2015

$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


* - selinux - Jun 11, 2015

How old is that Rage booter source? Rage booter has been hacked many times, so various source codes obviously have vulnerabilities lingering.