Skip to content

X11

Grab X11 information and screenshots.

X11 Request Example

curl -v -L https://api.binaryedge.io/v1/tasks -d '{"type":"scan", "options":[{"targets":["X.X.X.X"], "ports":[{"port":6000, "protocol":"tcp", "modules":["x11"]}]}]}' -H "X-Token:<Token>"

Schema

X11 Event Schema

{
  ...
  "result": {
    "data": {
      "link": "string",
      "connected": "boolean",
      "xdpyinfo": "string"
    }
  }
}

Contents of the fields:

  • link - URL link to the screenshot
  • connected - X11 connection established?
  • xdpyinfo - X11 information from xdpyinfo tool
    • code - Exit code from xdpyinfo
    • stdout - Stdout output
    • stderr - Stderr output

X11 Event Example

{
  "origin": {
    "type": "x11",
    "job_id": "client-f5fe4ffc-b7f7-4df6-8265-652290d1fdee",
    "client_id": "client",
    "module": "grabber",
    "country": "de",
    "ts": 1464874145954
  },
  "target": {
    "ip": "X.X.X.X",
    "port": 6000
  },
  "result": {
    "data": {
      "connected": true,
      "link": "https://url/to/image.jpg",
      "xdpyinfo": {
        "code": 0,
        "stderr": "",
        "stdout": "name of display:    193.64.42.109:0\nversion number:    11.0\nvendor string:    The X.Org Foundation\nvendor release number:    11501000\nX.Org version: 1.15.1\nmaximum request size:  16777212 bytes\nmotion buffer size:  256\nbitmap unit, bit order, pad..... "
      }
    }
  }
}