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
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
|
|
<command> | nc heimdall.pm 9999
|
|
<command> | 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.
|
|
|
|
<<a href="data:text/html,<form action="https://bin.heimdall.pm/cgi-bin/upload.cgi" method="POST" accept-charset="UTF-8" enctype="text/plain"><textarea name="paste" cols="70" rows="30"></textarea><br><button type="submit">send paste</button></form>">this form</a>>: 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* <<a href="https://basedwa.re/tmtt/feuille">https://basedwa.re/tmtt/feuille</a>>
|
|
Inspired by *fiche* <<a href="https://github.com/solusipse/fiche">https://github.com/solusipse/fiche</a>>
|
|
and *sprunge* <<a href="http://sprunge.us/">http://sprunge.us/</a>>
|
|
</code></pre>
|
|
</body>
|
|
</html>
|