113 lines
3.9 KiB
HTML
113 lines
3.9 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>unsha.re tcpbin</title>
|
|
</head>
|
|
<body>
|
|
<pre>
|
|
UNSHA.RE (<a href="https://betaco.de/strom/rust-tcpaste.git">src</a>)
|
|
==============
|
|
|
|
* Create paste with nmap-netcat or socat:
|
|
|
|
$ cat lib.rs | ncat unsha.re 9999
|
|
{
|
|
"expires": "Sun, 28 Apr 2024 16:00:30 +0000",
|
|
"secret": "ZmtzOi1kVVRScHhfaGpza2hn",
|
|
"url": "https://unsha.re/fks"
|
|
}
|
|
|
|
$ cat lib.rs | socat - tcp4:unsha.re:9999
|
|
{
|
|
"expires": "Sun, 28 Apr 2024 16:00:04 +0000",
|
|
"secret": "TmItOlVHNWNtOWFaODR0a0xk",
|
|
"url": "https://unsha.re/Nb-"
|
|
}
|
|
|
|
* Remove paste before expiration:
|
|
|
|
$ echo NnFqOnM0Rlp2YVZIekpXMmJi | ncat unsha.re 10000
|
|
Paste removed.
|
|
|
|
|
|
* Mime-types can be specified by appending well-known
|
|
file extensions to the path:
|
|
|
|
https://unsha.re/6qj/txt
|
|
https://unsha.re/6qj/png
|
|
https://unsha.re/6qj/jpg
|
|
|
|
|
|
* Supported mime-type overrides (non-exhaustive):
|
|
|
|
"~^(txt|log|patch|raw|diff|awk|sh)$" 'text/plain';
|
|
"~^(bin|dat)$" 'application/octet-stream';
|
|
"~^(ogg|opus)$" 'audio/vorbis';
|
|
"~^jpg$" 'image/jpg';
|
|
"~^gif$" 'image/gif';
|
|
"~^png$" 'image/png';
|
|
"~^webp$" 'image/webp';
|
|
"~^svgz?$" 'image/svg+xml';
|
|
"~^json$" 'application/json';
|
|
"~^html?$" 'text/html';
|
|
"~^mp3$" 'audio/mpeg';
|
|
"~^aac$" 'audio/aac';
|
|
"~^mp4$" 'video/mp4';
|
|
"~^avi$" 'video/x-msvideo';
|
|
"~^mkv$" 'video/x-matroska';
|
|
"~^webm$" 'video/webm';
|
|
|
|
|
|
FILE RETENTION PERIOD
|
|
=====================
|
|
|
|
* Links are valid for up to 365 days depending on the file size.
|
|
The current file size limit is 8 MiB.
|
|
|
|
┌───────────────────────────────────────────────────────────┐
|
|
365 ┤▜▖ │
|
|
│ ▜▄ │
|
|
250 ┤ ▝▙ │
|
|
│ ▝▜▖ │
|
|
│ ▀▙ │
|
|
200 ┤ ▝▜▄ │
|
|
│ ▝▙▖ │
|
|
150 ┤ ▀▙▖ │
|
|
│ ▀▙▖ │
|
|
│ ▀▙▖ │
|
|
10 ┤ ▀▜▄ │
|
|
│ ▝▀▙▄ │
|
|
│ ▝▀▙▄▖ │
|
|
50 ┤ ▀▀▙▄▖ │
|
|
│ ▝▀▀▙▄▄▄ │
|
|
10 ┤ ▝▀▀▀▀▙▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄│
|
|
└┬─────────────┬──────────────┬──────────────┬─────────────┬┘
|
|
1 2048 4096 6144 8191
|
|
[y] days size (KiB) [x]
|
|
|
|
|
|
TERMS OF SERVICE
|
|
================
|
|
|
|
The following content is prohibited:
|
|
* piracy
|
|
* pornography and gore
|
|
* extremist material of any kind
|
|
* malware / botnet C&C
|
|
* anything related to crypto currencies
|
|
* doxxing, database dumps containing personal information
|
|
* anything illegal under German law
|
|
|
|
Uploads found to be in violation of these rules will be removed,
|
|
and the originating IP address blocked from further uploads.
|
|
|
|
|
|
ABUSE
|
|
=====
|
|
|
|
Contact me through the following email address and allow up to
|
|
24 hours reponse time: abuse @ unsha.re
|
|
</pre>
|
|
</body>
|
|
</html>
|