mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 02:24:18 +00:00
Tweak front page: correct public pathod URL, more illustrative examples.
This commit is contained in:
parent
ea2ca98bea
commit
13cb0cab90
@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
<p>A live, public instance of pathod</p>
|
<p>A live, public instance of pathod</p>
|
||||||
|
|
||||||
<p><b>http://p.pathod.org/</b><input
|
<p><b>http://public.pathod.net/</b><input
|
||||||
style="width: 14em"
|
style="width: 14em"
|
||||||
id="publicspec"
|
id="publicspec"
|
||||||
name="spec"
|
name="spec"
|
||||||
@ -50,7 +50,7 @@
|
|||||||
value="{{spec}}"
|
value="{{spec}}"
|
||||||
placeholder="code[msg]:[features]"
|
placeholder="code[msg]:[features]"
|
||||||
>
|
>
|
||||||
<a href="#" id="submitspec" class="btn">go</a>
|
<a id="gopublic" class="btn">go</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>Please use responsibly. There are some restrictions on the
|
<p>Please use responsibly. There are some restrictions on the
|
||||||
@ -58,8 +58,8 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
$(function(){
|
$(function(){
|
||||||
$("#submitspec").click(function(){
|
$("#gopublic").click(function(){
|
||||||
document.location = "http://p.pathod.org/" + $("#publicspec").val()
|
document.location = "http://public.pathod.net/" + $("#publicspec").val()
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
@ -23,11 +23,16 @@
|
|||||||
<tbody >
|
<tbody >
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="/response_preview?spec=200">200</a></td>
|
<td><a href="/response_preview?spec=200">200</a></td>
|
||||||
<td>A basic HTTP 200 response</td>
|
<td>A basic HTTP 200 response (this will hang).</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><a href="/response_preview?spec=200:da">200:da</a></td>
|
||||||
|
<td>Server-side disconnect after all content has been sent.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="/response_preview?spec=200:b@100">200:b@100</a></td>
|
<td><a href="/response_preview?spec=200:b@100">200:b@100</a></td>
|
||||||
<td>100 random bytes as the body</td>
|
<td>100 random bytes as the body. A Content-Lenght header is
|
||||||
|
added, so the disconnect is no longer needed.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href='/response_preview?spec=200:b@100:h"Server"="';drop table servers;"'>200:b@100:h"Etag"="';drop table servers;"</a></td>
|
<td><a href='/response_preview?spec=200:b@100:h"Server"="';drop table servers;"'>200:b@100:h"Etag"="';drop table servers;"</a></td>
|
||||||
|
Loading…
Reference in New Issue
Block a user