{
  "description": "The cyclic pattern tool and checksec. Other pwn subcommands are left out.",
  "name": "pwn",
  "subcommands": [
    {
      "name": "cyclic",
      "description": "Print a cyclic pattern of a given length, or look up an offset in one.",
      "options": [
        {
          "names": [
            "--lookup",
            "-l"
          ],
          "description": "Find the offset of a value (e.g. 0x61616168 or an ASCII subpattern) instead of printing the pattern.",
          "args": {
            "name": "lookup",
            "description": "Find the offset of a value (e.g. 0x61616168 or an ASCII subpattern) instead of printing the pattern.",
            "isOptional": false
          }
        },
        {
          "names": [
            "--length",
            "-n"
          ],
          "description": "Size of the unique subsequences (default 4).",
          "args": {
            "name": "length",
            "description": "Size of the unique subsequences (default 4).",
            "isOptional": false
          }
        },
        {
          "names": [
            "--alphabet",
            "-a"
          ],
          "description": "Defaults to all lower case letters.",
          "args": {
            "name": "alphabet",
            "description": "Defaults to all lower case letters.",
            "isOptional": false
          }
        }
      ],
      "args": [
        {
          "name": "count",
          "description": "Number of characters to print.",
          "isOptional": true
        }
      ]
    },
    {
      "name": "checksec",
      "description": "Print the security settings of one or more ELF binaries.",
      "args": [
        {
          "name": "elf",
          "isOptional": true,
          "isVariadic": true,
          "template": "filepaths"
        }
      ]
    }
  ]
}
