Grab X11 information and screenshots.
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>"
{
...
"result": {
"data": {
"link": "string",
"connected": "boolean",
"xdpyinfo": "string"
}
}
}
- 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
{
"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..... "
}
}
}
}