{
  "ml": {
    "v": "4",
    "fs": [
      {
        "id": 0,
        "prob": 0.9990328550338745,
        "class": 2
      }
    ],
    "prob": 0.99903286,
    "class": 2,
    "models": [
      {
        "m": "az",
        "prob": 0.9841629,
        "class": 0
      },
      {
        "m": "az/scripts",
        "prob": 0.9958476,
        "class": 0
      },
      {
        "m": "az/php",
        "prob": 0.99903286,
        "class": 2
      }
    ],
    "version": "v16.16",
    "thresholds": [
      0.9961138,
      0.99909174
    ],
    "analyzed_at": "2026-05-09T10:05:58Z"
  },
  "path": "wp-info.php",
  "raw": {
    "v": "4",
    "fs": [
      {
        "f": "O(C₄)H₄(Cm₂Db₂FOs)MdTh",
        "k": {
          "source.imports[0]": "basename",
          "source.imports[1]": "file_exists",
          "source.imports[2]": "getcwd",
          "source.imports[3]": "is_writeable",
          "source.imports[4]": "isset",
          "source.imports[5]": "move_uploaded_file",
          "source.strings[0]": " was uploaded successfully!",
          "source.strings[1]": "\u003cp class=\"emsg\"\u003e",
          "source.strings[2]": "\u003cp class=\"msg\"\u003e",
          "source.strings[3]": "The target directory doesn't exists!",
          "source.strings[4]": "The target directory is not writeable!",
          "source.strings[5]": "The upload process failed!",
          "source.strings[6]": "myfile",
          "source.strings[7]": "submitBtn",
          "source.strings[8]": "tmp_name",
          "source.has_imports": true,
          "source.functions[0]": "maxUpload",
          "source.functions[1]": "setUploadLocation",
          "source.functions[2]": "showUploadForm",
          "source.functions[3]": "uploadFile"
        },
        "x": 139,
        "id": 0,
        "is": [
          "getcwd",
          "isset",
          "file_exists",
          "is_writeable",
          "basename",
          "move_uploaded_file",
          "basename"
        ],
        "ms": {
          "file": {
            "size": 3228.0
          },
          "text": {
            "digit_ratio": 0.02,
            "space_count": 843.0,
            "total_lines": 106.0,
            "char_entropy": 4.88,
            "unique_chars": 82.0,
            "import_density": 6.6,
            "string_density": 0.28,
            "avg_line_length": 28.47,
            "max_line_length": 148.0,
            "empty_line_ratio": 0.15,
            "last_line_length": 10.0,
            "most_common_char": "e",
            "whitespace_ratio": 0.33,
            "most_common_ratio": 0.05,
            "identifier_density": 0.51,
            "line_length_stddev": 28.57,
            "normalized_import_count": 0.68,
            "normalized_string_count": 2.91,
            "repeated_char_sequences": 32.0,
            "suspicious_comment_ratio": 1.0,
            "max_inline_whitespace_run": 1.0,
            "normalized_function_count": 0.39,
            "trailing_whitespace_lines": 6.0,
            "imports_to_functions_ratio": 1.75,
            "strings_to_functions_ratio": 7.5,
            "normalized_unique_identifiers": 2.97,
            "identifiers_to_functions_ratio": 5.0
          },
          "imports": {
            "total": 7.0,
            "unique_modules": 6.0,
            "third_party_count": 7.0,
            "third_party_ratio": 1.0
          },
          "strings": {
            "total": 30.0,
            "avg_length": 13.93,
            "max_length": 38.0,
            "avg_entropy": 2.92,
            "total_bytes": 418.0,
            "entropy_stddev": 0.72
          },
          "comments": {
            "chars": 201.0,
            "lines": 3.0,
            "total": 3.0,
            "to_code_ratio": 0.03,
            "base64_in_comments": 1.0,
            "high_entropy_comments": 2.0
          },
          "functions": {
            "total": 4.0,
            "length_stddev": 11.76,
            "avg_name_length": 12.5,
            "no_params_count": 4.0,
            "avg_length_lines": 14.75,
            "max_length_lines": 27.0,
            "min_length_lines": 3.0,
            "high_entropy_names": 1.0,
            "density_per_100_lines": 3.77,
            "code_in_functions_ratio": 0.56
          },
          "identifiers": {
            "total": 54.0,
            "avg_length": 9.4,
            "max_length": 19.0,
            "min_length": 3.0,
            "avg_entropy": 2.69,
            "reuse_ratio": 0.37,
            "unique_count": 20.0,
            "length_stddev": 4.87,
            "high_entropy_count": 1.0,
            "high_entropy_ratio": 0.05,
            "all_lowercase_ratio": 0.55,
            "all_uppercase_ratio": 0.15,
            "underscore_prefix_count": 2.0
          }
        },
        "ss": [
          [
            1553,
            "\u003cp class=\"msg\"\u003e"
          ],
          [
            1554,
            "\u003cp class=\"msg\"\u003e"
          ],
          [
            1576,
            "\u003c/p\u003e"
          ],
          [
            1577,
            "\u003c/p\u003e"
          ],
          [
            1621,
            "\u003cp class=\"emsg\"\u003e"
          ],
          [
            1622,
            "\u003cp class=\"emsg\"\u003e"
          ],
          [
            1647,
            "\u003c/p\u003e"
          ],
          [
            1648,
            "\u003c/p\u003e"
          ],
          [
            2262,
            "submitBtn"
          ],
          [
            2263,
            "submitBtn"
          ],
          [
            2522,
            "The target directory doesn't exists!"
          ],
          [
            2523,
            "The target directory doesn't exists!"
          ],
          [
            2652,
            "The target directory is not writeable!"
          ],
          [
            2653,
            "The target directory is not writeable!"
          ],
          [
            2790,
            "myfile"
          ],
          [
            2791,
            "myfile"
          ],
          [
            2800,
            "name"
          ],
          [
            2801,
            "name"
          ],
          [
            2860,
            "myfile"
          ],
          [
            2861,
            "myfile"
          ],
          [
            2870,
            "tmp_name"
          ],
          [
            2871,
            "tmp_name"
          ],
          [
            2946,
            "myfile"
          ],
          [
            2947,
            "myfile"
          ],
          [
            2956,
            "name"
          ],
          [
            2957,
            "name"
          ],
          [
            2987,
            " was uploaded successfully!"
          ],
          [
            2988,
            " was uploaded successfully!"
          ],
          [
            3073,
            "The upload process failed!"
          ],
          [
            3074,
            "The upload process failed!"
          ]
        ],
        "sz": 3228,
        "ts": [
          {
            "c": 0.6000000238418579,
            "d": "Generates HTML tags",
            "e": [
              "\u003chtml"
            ],
            "i": "micro-behaviors/data/format/html::html-generator-tags",
            "l": 3
          },
          {
            "a": "T1071.001",
            "c": 0.6000000238418579,
            "d": "enctype attribute",
            "e": [
              "enctype="
            ],
            "i": "micro-behaviors/communications/http/post::enctype-attr",
            "l": 3,
            "m": "C0002"
          },
          {
            "c": 0.699999988079071,
            "d": "PHP error suppression operator usage",
            "e": [
              "@move_uploaded_file($_FILES['myfile']['tmp_name'], $target_path)"
            ],
            "i": "micro-behaviors/os/stdio::error-suppress-prefix",
            "l": 3
          },
          {
            "a": "T1105",
            "c": 0.8500000238418579,
            "d": "File upload access ($_FILES)",
            "e": [
              "$_FILES"
            ],
            "i": "micro-behaviors/communications/http/request/params::files",
            "l": 3
          },
          {
            "a": "T1505.003",
            "d": "PHP open tag",
            "e": [
              "\u003c?php"
            ],
            "i": "objectives/command-and-control/backdoor/webshell/request::php-tag",
            "l": 1,
            "m": "B0030"
          },
          {
            "c": 0.8999999761581421,
            "d": "File has 30 or more lines",
            "e": [
              "text.total_lines = 106.00"
            ],
            "i": "metadata/file/text/metrics::file-has-30-plus-lines",
            "l": 1
          },
          {
            "c": 0.7599999904632568,
            "d": "Regex component marker",
            "e": [
              "directory"
            ],
            "i": "micro-behaviors/data/text/llm/action::llm-path-navigation-action--rx-21",
            "l": 1
          },
          {
            "c": 0.8600000143051147,
            "d": "Regex component marker",
            "e": [
              "method="
            ],
            "i": "objectives/command-and-control/backdoor/webshell/ui::self-named-get-form--rx-3",
            "l": 1,
            "m": "B0030"
          },
          {
            "a": "T1105",
            "c": 0.8500000238418579,
            "d": "Moves uploaded PHP file",
            "e": [
              "move_uploaded_file"
            ],
            "i": "micro-behaviors/fs/write/file/direct::move-uploaded-file",
            "l": 3,
            "m": "C0052"
          },
          {
            "a": "T1505.003",
            "c": 0.8500000238418579,
            "d": "PHP request superglobal access",
            "e": [
              "$_POST"
            ],
            "i": "objectives/command-and-control/backdoor/webshell/upload::php-request-variadic-function-call",
            "l": 3,
            "m": "B0030"
          },
          {
            "a": "T1059",
            "c": 0.8500000238418579,
            "d": "HTTP POST parameter access ($_POST)",
            "e": [
              "$_POST"
            ],
            "i": "micro-behaviors/communications/http/request/params::post-dup",
            "l": 3
          },
          {
            "c": 0.8399999737739563,
            "d": "Regex component marker",
            "e": [
              " was uploaded successfully!",
              "The upload process failed!"
            ],
            "i": "micro-behaviors/data/text/llm/action::llm-send-action--rx-11",
            "l": 1
          },
          {
            "a": "T1505.003",
            "c": 1.0,
            "d": "Inequality check in WordPress user list",
            "e": [
              "!="
            ],
            "i": "objectives/command-and-control/backdoor/webshell/hide::wp-user-hiding-not-trait",
            "l": 1,
            "m": "B0030"
          },
          {
            "a": "T1505.003",
            "c": 0.4000000059604645,
            "d": "PHP $_POST parameter access",
            "e": [
              "$_POST["
            ],
            "i": "objectives/command-and-control/backdoor/webshell/request::php-post",
            "l": 1,
            "m": "B0030"
          },
          {
            "c": 0.699999988079071,
            "d": "AJAX request handler pattern",
            "e": [
              "$_POST['submitBtn']"
            ],
            "i": "objectives/command-and-control/backdoor/webshell/ui::ajax-handler",
            "l": 4,
            "m": "B0030"
          },
          {
            "a": "T1071.001",
            "c": 0.6000000238418579,
            "d": "multipart/form-data content type",
            "e": [
              "multipart/form-data"
            ],
            "i": "micro-behaviors/communications/http/post::multipart-form",
            "l": 1,
            "m": "C0002"
          },
          {
            "c": 0.8999999761581421,
            "d": "PHP webshell which only writes an uploaded file to disk",
            "e": [
              "_POST[",
              "\"Upload\"",
              "move_uploaded_file",
              "\u003c?",
              "\u003c?php"
            ],
            "i": "third_party/SigBase/WEBSHELL/PHP/Writer",
            "l": 5
          }
        ],
        "sha": "5c0e50d22b863770881d1b96ace1693f763ded411fe2a7cf7d74a493074f334c",
        "path": "wp-info.php",
        "type": "php"
      }
    ],
    "tv": "a9555"
  }
}