Skip to content

Instantly share code, notes, and snippets.

/fail

Created April 2, 2014 18:56
Show Gist options
  • Save anonymous/9940704 to your computer and use it in GitHub Desktop.
Save anonymous/9940704 to your computer and use it in GitHub Desktop.
love it
Url: http://www.carbonhire.com/[email protected]
PHP warning
mysql_connect(): Access denied for user 'geniushire'@'10.147.146.186' (using password: YES)
/var/app/current/track.php(12)
01 <?php 02 03 define('CRONJOB', TRUE); 04 include("index.php"); 05 06 $email = isset($_GET['email']) ? $_GET['email'] : ""; 07 $hash = md5("carbon".$email); 08 setcookie("guid", $hash, time() + (10 * 365 * 24 * 60 * 60), "/", "carbonhire.com"); 09 //print_r($_COOKIE); 10 header("Location: http://hastrk1.com/serve?action=click&publisher_id=59998&site_id=47256&offer_id=274954", true, 302); 11 12 $link = mysql_connect('geniushire-real-1.cbuqrrbjabbr.us-east-1.rds.amazonaws.com', 'geniushire', ';kcvGayqe05t4!?'); 13 if (!$link) { 14 die('Could not connect: ' . mysql_error()); 15 } 16 17 mysql_select_db("geniushire_real_new", $link) or die('Could not select database.');$sql = "UPDATE gh_central SET cookie_id = '".$hash."' WHERE email = '".$email."'"; 18 if($email != ""){ 19 $sql = "UPDATE gh_central SET cookie_id = '".$hash."' WHERE email = '".$email."'"; 20 $r = mysql_query($sql); 21 } 22 ?>
Stack Trace#0
  /var/app/current/track.php(12): mysql_connect("geniushire-real-1.cbuqrrbjabbr.us-east-1.rds.amazonaws.com", "geniushire", ";kcvGayqe05t4!?")
07 $hash = md5("carbon".$email); 08 setcookie("guid", $hash, time() + (10 * 365 * 24 * 60 * 60), "/", "carbonhire.com"); 09 //print_r($_COOKIE); 10 header("Location: http://hastrk1.com/serve?action=click&publisher_id=59998&site_id=47256&offer_id=274954", true, 302); 11 12 $link = mysql_connect('geniushire-real-1.cbuqrrbjabbr.us-east-1.rds.amazonaws.com', 'geniushire', ';kcvGayqe05t4!?'); 13 if (!$link) { 14 die('Could not connect: ' . mysql_error()); 15 } 16 17 mysql_select_db("geniushire_real_new", $link) or die('Could not select database.');$sql = "UPDATE gh_central SET cookie_id = '".$hash."' WHERE email = '".$email."'";
2014-04-02 18:55:09 Apache Yii Framework/1.1.14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment