You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

91 lines
3.2 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>bin.heimdall.pm</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8">
<link rel="icon" type="image/png" href="/static/img/icon.png">
</head>
<body>
<pre><code>feuille(1) BIN.HEIMDALL.PM feuille(1)
NAME
bin.heimdall.pm - socket-based pastebin
SYNOPSIS
&lt;command&gt; | nc heimdall.pm 9999
&lt;command&gt; | torsocks nc \
wvahkfxtvkim44a2ynkhf5b5rtvpyqgxxvnbn2kowg6eplagtugxvuid.onion 9999
RULES
Pastes are kept 7 days on the server
1MiB max per paste
IPs are *not* logged
No illegal stuff (please)
DESCRIPTION
This is a TCP socket-based pastebin, which means anything that
can send text to a TCP socket works. See OPTIONS for a list of
available software. Choose your weapon wisely.
OPTIONS
nc: By far the most popular and is installed by default on most
systems, but lacks some features. Will make you wait some
time before getting the link to your paste.
ncat: More featureful. Will not make you wait for the link since
it closes the connection once all the data has been sent.
Works the exact same way as nc.
&lt;<a href="data:text/html,<form action=&quot;https://bin.heimdall.pm/cgi-bin/upload.cgi&quot; method=&quot;POST&quot; accept-charset=&quot;UTF-8&quot; enctype=&quot;text/plain&quot;><textarea name=&quot;paste&quot; cols=&quot;70&quot; rows=&quot;30&quot;></textarea><br><button type=&quot;submit&quot;>send paste</button></form>">this form</a>&gt;: In case you don't have any access to a terminal or
if your firewall blocks port 9999. Not really flexible, can't
send encrypted pastes by itself, but at least you'll be able
to use your browser for this.
EXAMPLES
Sending pastes:
$ echo "Hello, World!" | nc heimdall.pm 9999
https://bin.heimdall.pm/abcd
$ cat file.txt | nc heimdall.pm 9999
https://bin.heimdall.pm/efgh
Sending encrypted pastes:
$ cat sekrit.txt | gpg -cao tmp.pgp
$ cat tmp.pgp | nc heimdall.pm 9999
https://bin.heimdall.pm/ijkl
Sending pastes through Tor:
$ echo "Hello, Tor!" | torsocks nc \
wvahkfxtvkim44a2ynkhf5b5rtvpyqgxxvnbn2kowg6eplagtugxvuid.onion 9999
https://bin.heimdall.pm/mnop
Getting pastes:
$ curl https://bin.heimdall.pm/abcd
Hello, World!
Getting encrypted pastes:
$ curl https://bin.heimdall.pm/ijkl | gpg -d
da super sikret
ALIASES
Put those into your ~/.{ba,z,k}shrc:
alias pst="nc heimdall.pm 9999"
alias spst="gpg -cao tmp.pgp && cat tmp.pgp \
| nc heimdall.pm 9999 && rm tmp.pgp"
Now you can do:
$ cat file.txt | pst
https://bin.heimdall.pm/qrst
$ cat encrypted.txt | spst
https://bin.heimdall.pm/uvwx
SEE ALSO
Made with *feuille* &lt;<a href="https://basedwa.re/tmtt/feuille">https://basedwa.re/tmtt/feuille</a>&gt;
Inspired by *fiche* &lt;<a href="https://github.com/solusipse/fiche">https://github.com/solusipse/fiche</a>&gt;
and *sprunge* &lt;<a href="http://sprunge.us/">http://sprunge.us/</a>&gt;
</code></pre>
</body>
</html>