Benign Download

minimal-x86-64/nixos-minimal-25.05.813814.ac62194c3917-x86_64-linux/nix-store.squashfs.d/crs1ks6b3513ymkmxn8g4iivxz95gvkf-nixos-25.05.813814.ac62194c3917/nixos/nixos/tests/php

References a loopback HTTP URLCalls PHP phpinfo()
SHA-2564ae875eb2e2fcc376afcd8377d11297e7cd37d9e6c2dced5a1ea004e8b577dce
MaleculeH₂(CmOs)

Evidence

Calls PHP phpinfo() lines 1–21
⋯13 lines
14 virtualHosts."phpfpm" =
15 let
16 testdir = pkgs.writeTextDir "web/index.php" "<?php phpinfo();";
17 in
18 {
19 root = "${testdir}/web";
20 locations."~ \\.php$".extraConfig = ''
21 …
References a loopback HTTP URL lines 55–61
55:31… luated PHP back
56 response = machine.succeed("curl -fvvv -s http://127.0.0.1:80/")
57 assert "PHP Version ${php.version}" in response, "PHP version not detected"
58
59 # Check so we have database and some other extensions loaded
60 for ext in ["json", "opcache", "pdo_mysql", "pdo_pgsql", "pdo_sqlite", "apcu"]:
61 assert ex …

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.