Benign php 9 installs Download

ellephanty/controller v0.0.8

“Basic controller for API”

Emits data with a PHP echo statementAccess to php://input (raw POST
SHA-256f9f21e47ba1a44f6d3e69d252ceaffdbb581733e5d957db5bb2ad80110052785

Evidence

Top-level method call in file controllerTest.php · lines 7–8
7$dotenv = new Dotenv\Dotenv(__DIR__ . '/..');
8$dotenv->load();
Starts output buffering controllerTest.php · lines 10–14
10class ControllerTest extends PHPUnit_Framework_TestCase
11{
12 public function testController()
13 {
14 ob_start();
Gets and cleans output buffer controllerTest.php · line 20
20 $output = ob_get_clean();
Access to php://input (raw POST controller.php · lines 10–12
10{
11 try {
12 $data = json_decode(file_get_contents("php://input"), true);
References an HTTP Content-Type header Response.php · lines 21–36
⋯9 lines
30 {
31 if( !headers_sent() ) {
32 header('Content-Type: application/json');
33 }
34 echo json_encode($data);
35 }
36}

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.