{% extends "base.html" %}{% block title %}r00t^2 Client Info Revealer || Usage{% endblock %}{% block body %}
You can control how this page displays/renders. By default it will try to "guess" what you want; e.g. if you access it in Chrome, it will display this page but if you fetch via Curl, you'll get raw JSON. The following parameters control this behavior.
Note: "Enabled" parameter values can be one of y, yes, 1, or true. "Disabled" parameter values can be one of n, no, 0, or false. The parameter names are case-sensitive but the values are not.
URL | Behavior |
---|---|
{{ scheme }}://{{ request.headers['host'] }}/ | Displays HTML and "Human" formatting if in a graphical browser, otherwise returns a raw, unformatted JSON string. |
{{ scheme }}://{{ request.headers['host'] }}/?raw=1 | Renders a raw, unformatted JSON string if in a graphical browser, otherwise no effect. All other parameters ignored (if in a graphical browser). |
{{ scheme }}://{{ request.headers['host'] }}/?html=1 | Forces HTML rendering on non-graphical clients. |
{{ scheme }}://{{ request.headers['host'] }}/?json=1&tabs=4 | Returns JSON indented by 4 spaces for each level (you can leave "json=1" off if it's in a non-graphical browser, unless you specified "html=1"). |