openai/php2shell-checker

phpcheck-url

Check the advertised PHP version from a URL or hostname.

View source

How to use

  1. Copy the installation command and review the source package before installing it in your own agent environment.
  2. Check the source document for required tools, credentials and supported hosts.
  3. Describe your input and desired deliverable; review the output against the source material.
npx skills add https://github.com/openai/php2shell-checker --skill phpcheck-url

Before you start

  • Installation does not include a model subscription, API allowance or permission to access your files.
  • Repository stars and installation counts describe activity, not an independent quality or security test.
Original skill document

Rendered from the source repository. Headings, examples, code, tables, links, and referenced images are preserved.

From this skill's directory, run:

sh
node scripts/phpcheck.js "https://example.com" --json

Use HTTPS for a bare hostname. The checker reads Server and X-Powered-By headers. If the version is hidden, report unknown.

Compare the reported version with current PHP security guidance. Headers can be changed and vendor backports may fix an older version, so a server-side version and package check is stronger evidence. Do not run exploit probes.

Exit codes 1 and 3 mean vulnerable and unknown, not execution failures.