feat: HTML form to send pastes from your browser

main
Tom MTT 6 months ago
parent 737f83ab08
commit 242cfc984b

@ -36,6 +36,11 @@ OPTIONS
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;/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;>upload</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

Loading…
Cancel
Save