Decoded Output
Download<?php
interface defaultInterface { public function getItems($itemList); } function getComponentId($installName) { global $db; global $db_type; $query = "SELECT id FROM component WHERE install_name=:install_name"; $parameters = array("query" => $query, "db" => $db, "db_type" => $db_type); $stmt = vdv_prepare_query($parameters); $stmt->execute(array(":install_name" => $installName)); $result = $stmt->fetchAll(PDO::FETCH_ASSOC); return $result[0]["id"]; } class paramClass { public $name; public $label; public $type; public $values; public $category; public $weight; function __construct($objName, $objLabel = "test", $objType, $objValues, $objCategory = "tmp", $objWeight = 99) { $this->name = $objName; $this->label = $objLabel; $this->type = $objType; $this->values = $objValues; $this->category = $objCategory; $this->weight = $objWeight; } } class valueClass { public $name; public $value; function __construct($valName, $valValue) { $this->name = $valName; $this->value = $valValue; } } ?>
Did this file decode correctly?
How would you describe this file?
Thank you for your feedback! This will help us detect malicious PHP files more accurately in the future.
Function Calls
None
Variables
None
Stats
| MD5 | 629db9578b1e7e5b |
|---|---|
| Eval Count | 0 |
| Decode Time | 85 ms |
Original Code
<?php
interface defaultInterface { public function getItems($itemList); } function getComponentId($installName) { global $db; global $db_type; $query = "\123\105\114\x45\x43\124\x20\151\144\x20\106\x52\117\115\40\x63\x6f\x6d\160\x6f\156\145\x6e\x74\x20\127\110\x45\x52\x45\x20\151\x6e\163\164\x61\x6c\154\x5f\156\141\x6d\145\75\x3a\x69\x6e\163\x74\141\x6c\x6c\137\x6e\x61\155\145"; $parameters = array("\161\x75\x65\162\171" => $query, "\x64\x62" => $db, "\144\142\x5f\x74\x79\160\145" => $db_type); $stmt = vdv_prepare_query($parameters); $stmt->execute(array("\72\x69\x6e\x73\x74\141\x6c\154\x5f\156\141\155\145" => $installName)); $result = $stmt->fetchAll(PDO::FETCH_ASSOC); return $result[0]["\x69\x64"]; } class paramClass { public $name; public $label; public $type; public $values; public $category; public $weight; function __construct($objName, $objLabel = "\x74\x65\163\x74", $objType, $objValues, $objCategory = "\x74\155\160", $objWeight = 99) { $this->name = $objName; $this->label = $objLabel; $this->type = $objType; $this->values = $objValues; $this->category = $objCategory; $this->weight = $objWeight; } } class valueClass { public $name; public $value; function __construct($valName, $valValue) { $this->name = $valName; $this->value = $valValue; } }