This is a tool to reveal certain information about your connection that the server sees. Note that all of this information you see is sent by your client; there was no probing/scanning or the like done from the server this site is hosted on.
If you would like to view the server headers, then you can use a service such as SecurityHeaders.io (or use the curl -i command in *Nix operating systems).
+
+
[0] Disclosure: I am an engineer for this company.
+{% endblock %}
\ No newline at end of file
diff --git a/net/addr/app/templates/base.html b/net/addr/app/templates/base.html
index 328e38f..5a5d7ab 100644
--- a/net/addr/app/templates/base.html
+++ b/net/addr/app/templates/base.html
@@ -1,31 +1,35 @@
-
{% block title %}{% endblock %}
+
+
+
-
- {% block body %} {% endblock %}
+ {% block body %}{% endblock %}
-
diff --git a/net/addr/app/templates/html.html b/net/addr/app/templates/html.html
new file mode 100644
index 0000000..992376b
--- /dev/null
+++ b/net/addr/app/templates/html.html
@@ -0,0 +1,38 @@
+
Client/Browser Information
+
This is information that your browser sends with its connection.
Browser: {{ '{1}'.format(browsers[visitor['client']['browser']][0],
+ browsers[visitor['client']['browser']][1])|safe
+ if visitor['client']['browser'] in browsers.keys()
+ else visitor['client']['browser'].title()
+ if visitor['client']['browser'] is not none
+ else '(N/A)' }}
+
Language/Locale: {{ visitor['client']['language'] or '(N/A)' }}
+{%- set alt_os = alts[visitor['client']['os']] if visitor['client']['os'] in alts.keys() else '' %}
+
Operating System: {{ '{1}{2}'.format(os[visitor['client']['os']][0],
+ os[visitor['client']['os']][1],
+ alt_os)|safe
+ if visitor['client']['os'] in os.keys()
+ else visitor['client']['os'].title()
+ if visitor['client']['os'] is not none
+ else '(N/A)' }}
+
User Agent: {{ visitor['client']['str'] }}
+
Version: {{ visitor['client']['version'] or '(N/A)' }}
+
+
+
Request Headers
+
These are headers sent along with the request your browser sends for the page's content.
+
+
+
+
Field
+
Value
+
{% for k in visitor['headers'].keys()|sort(case_sensitive = True) %}
+
+
{{ k }}
+
{{ visitor['headers'][k] if visitor['headers'][k] != '' else '(N/A)' }}
+
{% endfor %}
+
+
\ No newline at end of file
diff --git a/net/addr/app/templates/index.html b/net/addr/app/templates/index.html
index dd2a9b3..432917a 100644
--- a/net/addr/app/templates/index.html
+++ b/net/addr/app/templates/index.html
@@ -1,7 +1,6 @@
-{% extends "base.html" %} {% block title %}r00t^2 Client Info Revealer{% endblock %}{% block body %}
-
-
What this is
-
This is a tool to reveal certain information about your connection that the server sees.
+{% extends "base.html" %}{% block title %}r00t^2 Client Info Revealer{% endblock %}{% block body %}
+
Client Info Revealer
+
A tool to reveal client-identifying data sent to webservers
-
PLACEHOLDER.
-{% endblock %}
+{% include 'html.html' if not params['json'] else 'json.html' %}
+{% endblock %}
\ No newline at end of file
diff --git a/net/addr/app/templates/json.html b/net/addr/app/templates/json.html
new file mode 100644
index 0000000..f216cfa
--- /dev/null
+++ b/net/addr/app/templates/json.html
@@ -0,0 +1 @@
+
{{ json }}
diff --git a/net/addr/app/templates/usage.html b/net/addr/app/templates/usage.html
new file mode 100644
index 0000000..668408a
--- /dev/null
+++ b/net/addr/app/templates/usage.html
@@ -0,0 +1,51 @@
+{% extends "base.html" %}{% block title %}r00t^2 Client Info Revealer || Usage{% endblock %}{% block body %}
+
Usage
+
Parameters
+
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.
+
+
json: Force rendering in JSON format
+
+
It will display it nicely if you're in a browser, otherwise it will return raw/plaintext JSON.
+
Use raw if you want to force raw plaintext JSON output.
+
+
html: Force rendering in HTML
+
+
It will render HTML in clients that would normally render as JSON (e.g. curl, wget).
+
+
raw: Force output into a raw JSON string
+
+
Pure JSON instead of HTML or formatted JSON. This is suitable for API usages if your client is detected wrongly (or you just want to get the raw JSON).
+
Overrides all other tags.
+
Has no effect for clients that would normally render as JSON (curl, wget, etc.).
+
+
tabs: Indentation for JSON output
+
+
Accepts a positive integer.
+
Default is 4 for "desktop" browsers (if json is enabled), and no indentation otherwise.