{
  "ml": {
    "v": "4",
    "fs": [
      {
        "id": 0,
        "prob": 0.08573219180107117,
        "class": 0
      }
    ],
    "prob": 0.08573219,
    "class": 0,
    "models": [
      {
        "m": "az",
        "prob": 0.08573219,
        "class": 0
      },
      {
        "m": "az/scripts",
        "prob": 0.014481569,
        "class": 0
      },
      {
        "m": "az/php",
        "prob": 0.02226325,
        "class": 0
      }
    ],
    "version": "v16.16",
    "thresholds": [
      0.9961138,
      0.99909174
    ],
    "analyzed_at": "2026-05-09T13:14:28Z"
  },
  "path": "Server.php",
  "raw": {
    "v": "4",
    "fs": [
      {
        "f": "O₃(CCaLa)H₂(CmOs)Md",
        "k": {
          "source.imports[0]": "fclose",
          "source.imports[1]": "stream_set_blocking",
          "source.imports[2]": "stream_socket_accept",
          "source.imports[3]": "stream_socket_get_name",
          "source.imports[4]": "stream_socket_server",
          "source.imports[5]": "strrchr",
          "source.imports[6]": "substr",
          "source.strings[0]": "127.0.0.1",
          "source.strings[1]": "Could not bind to tcp://",
          "source.strings[2]": "Could not bind to tcp://$host:$port: $errstr",
          "source.strings[3]": "Error accepting new connection",
          "source.strings[4]": "connection",
          "source.strings[5]": "tcp://",
          "source.strings[6]": "tcp://$host:$port",
          "source.has_imports": true,
          "source.functions[0]": "__construct",
          "source.functions[1]": "createConnection",
          "source.functions[2]": "getPort",
          "source.functions[3]": "handleConnection",
          "source.functions[4]": "listen",
          "source.functions[5]": "shutdown"
        },
        "x": 2,
        "id": 0,
        "is": [
          "stream_socket_server",
          "stream_set_blocking",
          "stream_socket_accept",
          "stream_set_blocking",
          "stream_socket_get_name",
          "substr",
          "strrchr",
          "fclose"
        ],
        "ms": {
          "file": {
            "size": 1745.0
          },
          "text": {
            "digit_ratio": 0.01,
            "space_count": 402.0,
            "total_lines": 68.0,
            "char_entropy": 4.58,
            "unique_chars": 58.0,
            "import_density": 11.76,
            "string_density": 0.25,
            "avg_line_length": 24.66,
            "max_line_length": 101.0,
            "empty_line_ratio": 0.22,
            "last_line_length": 1.0,
            "most_common_char": "t",
            "whitespace_ratio": 0.27,
            "most_common_ratio": 0.07,
            "identifier_density": 1.4,
            "line_length_stddev": 25.19,
            "normalized_import_count": 0.97,
            "normalized_string_count": 2.06,
            "repeated_char_sequences": 8.0,
            "max_inline_whitespace_run": 1.0,
            "normalized_function_count": 0.73,
            "imports_to_functions_ratio": 1.33,
            "strings_to_functions_ratio": 2.83,
            "normalized_unique_identifiers": 6.74,
            "identifiers_to_functions_ratio": 6.83
          },
          "imports": {
            "total": 8.0,
            "unique_modules": 7.0,
            "third_party_count": 8.0,
            "third_party_ratio": 1.0
          },
          "strings": {
            "total": 17.0,
            "ip_count": 2.0,
            "avg_length": 12.06,
            "max_length": 44.0,
            "avg_entropy": 1.94,
            "total_bytes": 205.0,
            "entropy_stddev": 1.34
          },
          "comments": {
            "chars": 20.0,
            "lines": 1.0,
            "total": 1.0,
            "to_code_ratio": 0.01
          },
          "functions": {
            "total": 6.0,
            "length_stddev": 5.9,
            "avg_name_length": 10.67,
            "no_params_count": 6.0,
            "avg_length_lines": 8.17,
            "max_length_lines": 21.0,
            "min_length_lines": 4.0,
            "density_per_100_lines": 8.82,
            "code_in_functions_ratio": 0.72
          },
          "identifiers": {
            "total": 95.0,
            "avg_length": 9.76,
            "max_length": 22.0,
            "min_length": 4.0,
            "avg_entropy": 2.62,
            "reuse_ratio": 0.43,
            "unique_count": 41.0,
            "length_stddev": 5.43,
            "high_entropy_count": 1.0,
            "high_entropy_ratio": 0.02,
            "all_lowercase_ratio": 0.56,
            "underscore_prefix_count": 1.0
          }
        },
        "ss": [
          [
            361,
            "127.0.0.1"
          ],
          [
            362,
            "127.0.0.1"
          ],
          [
            426,
            "tcp://$host:$port"
          ],
          [
            427,
            "tcp://"
          ],
          [
            527,
            "Could not bind to tcp://$host:$port: $errstr"
          ],
          [
            528,
            "Could not bind to tcp://"
          ],
          [
            563,
            " "
          ],
          [
            925,
            "error"
          ],
          [
            926,
            "error"
          ],
          [
            962,
            "Error accepting new connection"
          ],
          [
            963,
            "Error accepting new connection"
          ],
          [
            1273,
            "connection"
          ],
          [
            1274,
            "connection"
          ]
        ],
        "sz": 1745,
        "ts": [
          {
            "a": "T1005",
            "c": 0.75,
            "d": "Regex component marker",
            "e": [
              "master"
            ],
            "i": "objectives/credential-access/financial/credit-card::mastercard-bin--rx-2",
            "l": 1,
            "m": "B0030"
          },
          {
            "a": "T1110.001",
            "c": 0.8999999761581421,
            "d": "Weak password master",
            "e": [
              "master"
            ],
            "i": "objectives/lateral-movement/brute-force/password::weak-pass-master",
            "l": 1,
            "m": "E1110"
          },
          {
            "c": 0.8999999761581421,
            "d": "File has 30 or more lines",
            "e": [
              "text.total_lines = 68.00"
            ],
            "i": "metadata/file/text/metrics::file-has-30-plus-lines",
            "l": 1
          },
          {
            "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.699999988079071,
            "d": "PHP error suppression operator usage",
            "e": [
              "@stream_socket_server(\"tcp://$host:$port\", $errno, $errstr)"
            ],
            "i": "micro-behaviors/os/stdio::error-suppress-prefix",
            "l": 3
          },
          {
            "c": 0.800000011920929,
            "d": "Hardcoded loopback IPv4 address",
            "e": [
              "127.0.0.1"
            ],
            "i": "micro-behaviors/communications/ip/literal::loopback-ipv4-source",
            "l": 2
          },
          {
            "a": "T1071.001",
            "d": "listen() socket call",
            "e": [
              "listen"
            ],
            "i": "micro-behaviors/communications/http/server/listener::listen-keyword",
            "l": 3,
            "m": "C0002"
          }
        ],
        "sha": "8fdccd0dfa9bcfe218cf3f35c64c47b3aadc04c11ef94f7d6354cab0caf19b97",
        "path": "Server.php",
        "type": "php"
      }
    ],
    "tv": "0a4d2"
  }
}