Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Objects xpcshell_worker.Command __str__

Christiane Ruetten edited this page Jul 7, 2017 · 1 revision

This is the JSON command object sent to workers. It is produced by xpcshell_worker.Command.__str__().

This is an example of a scan command. Since id is null, the worker will generate a random command ID for the response. We can get away with this because we correlate the responses by host names.

{
    "args": {
        "host": "google.com",
        "include_certificates": false,
        "timeout": 10,
        "rank": 1},
     "id": null,
     "mode": "scan"
}