mitmproxy/libpathod/templates/index.html
2012-11-02 14:22:54 +13:00

70 lines
1.8 KiB
HTML

{% extends "frame.html" %}
{% block body %}
<div class="row">
<div class="span6 bigtitle">
<div>
<img src="/static/torture.png">
</div>
</div>
<div class="span6 bigtitle">
<div>Tormenting HTTP clients and servers</div>
</div>
</div>
<div class="row">
<div class="span6">
<div>
<h1> <a href="/docs/pathod">pathod</a> </h1>
<p>A pathological web daemon.</p>
{% include "response_previewform.html" %}
<br>
<p>There is also a live, public instance of pathod here:</p>
<p><b>http://public.pathod.net/</b><input
style="width: 14em"
id="publicspec"
name="spec"
class="input-medium search-query"
value="{{spec}}"
placeholder="code:[features]"
>
<a id="gopublic" class="btn">go</a>
</p>
<p>Please use responsibly. There are some restrictions on the
public server.</p>
<script>
$(function(){
$("#gopublic").click(function(){
document.location = "http://public.pathod.net/" + $("#publicspec").val()
});
});
</script>
</div>
</div>
<div class="span6">
<div>
<h1> <a href="/docs/pathoc">pathoc</a> </h1>
<p>A perverse HTTP client.</p>
{% include "request_previewform.html" %}
<pre class="terminal">&gt; pathoc -n 3 google.com "get:/:ir,@1"
&lt;&lt; 200 OK: 44177 bytes
&lt;&lt; 405 Method Not Allowed: 959 bytes
&lt;&lt; 200 OK: 44107 bytes</pre>
</div>
</div>
</div>
{% endblock %}