PHP2Shell Scanner

Download 0
Last updated Oct 24, 2026

php2shell-add-target-batch

Registers the URL in each input row as a scan target and adds the result to the row. A target already registered with the same host, port and path is skipped. Requires administrator permission.

php2shell-add-target-batch [field=VALUE] [probe=VALUE]
field=VALUE
Optional. Input field holding the URL. Default: url.
probe=VALUE
Optional. t also fetches the root page of each new target to decide whether it responds and whether it uses http or https. Default: f.

Output fields

FieldTypeNameDescription
add_resultStringResulte.g. added, skipped, invalid
target_guidStringTarget GUIDGUID of the stored target, e.g. 5b1c6e2a-8f4d-4e7b-9a31-0c2d7e9f1a44
statusStringStatuse.g. PENDING, ALIVE, UNREACHABLE
schemeStringSchemee.g. http, https
http_statusIntegerHTTP statusRoot page HTTP status, e.g. 200
add_errorStringErrorReason it was not added, e.g. invalid host