File: tokens.html

package info (click to toggle)
modsecurity 3.0.14-1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 88,920 kB
  • sloc: ansic: 174,512; sh: 43,569; cpp: 26,214; python: 15,734; makefile: 3,864; yacc: 2,947; lex: 1,359; perl: 1,243; php: 42; tcl: 4
file content (60 lines) | stat: -rw-r--r-- 1,661 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{% extends "base.html" %}
{% block title %}libinjection sqli tokens diagnostic{% end %}
{% block body %}
<h1>libinjection {{ version }} tokens diagnostics</h1>
<p>Enter text to be analyzed in form below or directly modify the query string: </p>
<form method="get">
<textarea class="form-control" name="id" rows="5">{{ formvalue }}</textarea><br/>
<input class="btn" type="submit" name="type" value="fingerprints"></input>
<input class="btn" type="submit" name="type" value="tokens"></input>
</form>
{% if len(formvalue) %}

<hr/>
<ul>
{% for p in parsed %}
<li>
<a href="#{{ p['quote'] }}-{{ p['comment'] }}">
{{ p['quote']}} quotes / {{ p['comment'] }} comments
</a>
</li>
{% end %}
</ul>

{% for p in parsed %}
<a name="{{ p['quote'] }}-{{ p['comment'] }}"></a>
{% if p['sqli'] %}

<div class='red' style="width:100%; margin:0px">
{% else %}
<div style="width:100%; maring:0px; background-color:inherit">
{% end %}
<h2>{{ p['quote']}} quotes / {{ p['comment'] }} comments: SQLi {{ p['sqli'] }} </h2>

<p>Fingerprint: {{ p['fingerprint'] }}</p>
<div style="float:left; margin:0px; padding: 0px; width:50%; background-color:inherit">

<h4>Raw Tokens</h4>
<table class="table table-condensed">
<tr><th>type</th><th>value</th></tr>
{% for i in p['tokens'] %}
<tr><td>{{ i[0] }}</td><td>{{ i[1] }}</tr>
{% end %}
</table>
</div>
<div style="float:left; margin: 0px;padding: 0px;width:50%;background-color:inherit">
<h4>Folded</h4>
<table class="table table-condensed">
<tr><th>type</th><th>value</th></tr>
{% for i in p['folds'] %}
<tr><td>{{ i[0] }}</td><td>{{ i[1] }}</tr>
{% end %}
</table>
</div>

</div>
<hr style="clear:both">

{% end %}
{% end %}
{% end %}