94 points · by goranmoomin · 2y ago · 50 comments
The site is cool, but is it not just going to be abused?
The full code for the service is here: https://paste.fulltxt.net/42
The command-line paste tool was this simple script: https://paste.fulltxt.net/txtp
In another distant past, I ran an URL minification service at http://uzy.me/, and there too because of spams, I had to discontinue it.
Spam is really killing the internet… This actually saddens me.
If you play the good citizen and encrypt the files, giving the key to the owners, then you also don't have any means to preemptively detect and delete that stuff, you just keep waiting on some law agency knocking at your door. Also, if you openly say "hey I'll peek into your files to see if they are legal", then they will be the ones encrypting. Disallow that? It's a nightmare to detect and abusers are really, really creative! So much dedication too!
And it's not just CSAM, there will be detailed instructions on practically any illegal thing you couldn't even imagine.
It's bad, really bad, and I've grown to accept that small, closed community services (best with real-world connections) are the only way forward.
I run it on my LAN for my own use, which is what I think it's best for, but I really don't like having something like this on the web.
Luckily, I've never advertised or shown it off so nobody but myself uses it, but I'll probably take down the demo site too, soon.
EDIT: Typo
Our first technology, community, serves a purpose after all.
This is why (for example) Google Drive and OneDrive have become so popular despite Dropbox being first to market.
There’s plenty of other file transfer solutions out there too but you’ll find the un-siloed ones will be lesser known than the siloed ones simply because of the power of $$$
I would personally suggest that this site probably "wants" accounts. Yes, with CAPTCHAs (on registration.) If you want to be able to ban people who abuse your service, you'll need some thing-that-is-costly-to-get-multiple-of to ban them by. Otherwise they just keep coming back.
To still be a "console-friendly pastebin", the result of doing that costly registration process, could just be a page that gives you a (private) URL, that works like the base URL does now. https://paste.c-net.org/b/{bucket} or something, where {bucket} is a UUIDv4, or anything else with enough entropy to not be able to brute-force enumerate your way into someone else's account URL.
The uploaded files themselves could still have short human-writable top-level paths, for ease of repeating them over the phone.
Though, I notice that when you upload a file, you get a "delete key" as well as a URL. IMHO the "delete key" shouldn't be a weird nonstandard header you send with an HTTP DELETE; it should just be a URL — e.g. https://paste.c-net.org/b/{bucket}/{delete_key} — that you can HTTP DELETE directly.
In other words, make /b/{bucket}/{delete_key} the file's "true name", and /{link} a "read-only view" of the file.
Is there a hash database or something that could be queried to block known bad stuff? (would probably fail in the face of compression or encryption, but catching the low-hanging fruit would at least probably handle any potential legal liability?) Seems like something useful AI would actually work well for, if FBI/publishers/etc., would train a model and release it or host a service with an API.
Actually No. It take 5 minutes to create a script to randomize a password, encrypt and upload.
Abusers have been doing the same for 20+ years and it is very effective.
For example, hosting a password-protected binary with a cleared hash is one thing. The bad actor posting a password (any password) might be another.
If you run curl waste.st you also get the “manpage”
The goal was to make it do uploads without a ton of frameworks. The front page is around one request under 20K. It also has a special emoji url: https://[waste bin emoji].st that HN doesn’t support.
> Don't break the law, don't post illegal shit, don't be an asshole.
The law in which country? All countries? Do I have to avoid uploading depictions of Mohammed, or insulting statements about the president of Turkiye?
Disclaimer: Erdogan is the ultimate ruler, he's totally the best. That guy I know totally deserved it!!11
ps. I like my vacations in south Turkey.
I normally take a bit of a "dim" view of generalizing certain behaviors to an entire nation's population, but this one's spot-on for certain, and I say this as an English speaking U.S.-born citizen that's lived here all my life, and pretty much grew up "online" (had Internet access since the early days, and even before that I was on local and "long-distance" BBSs quite frequently).
When this specific sort of assumption is made online or in writing / speech, it's almost always "The U.S." Totally too many folks here have a "weird world" inside their mind where there is only "here" and "everywhere else", and "everywhere else" only really matters at all if it somehow "infringes" upon the personal-space of their social-media mandated "rage button".
In effect, in a world where extradition treaties exist, the law you're subject to is the sum of the laws of all the countries your country has agreed to mutual extradition with.
(And strangely enough, I believe this is even transitive. Presuming countries {A,B,C} which have extradition treaties AB and BC, if country B can get you extradited from country A for crime 1, then country C can get you double-extradited during your detainment in country B for crime 2 — even though country A may have never signed any treaties with country C!)
But even ignoring extradition... when speaking of international diplomatic relations, the law-in-practice of "whatever country you're in" is often not the law-as-written, but rather "whatever it takes to make a foreign country happy." I.e. if a foreign country wants you punished — and your own country isn't so powerful as to be able to just tune them out — then often you will be slapped with whatever local law your own country can make fit, to get the other country to calm down.
I brought up the president of Turkiye for a specific reason: the https://en.wikipedia.org/wiki/B%C3%B6hmermann_affair , where a German who wrote an insulting poem about Erdoğan, was charged with a [rarely used, archaic] crime by the German government, after the Turkish government basically sent a strongly-worded letter to the German government implying that their relations would be damaged unless they "did something."
(Though, pleasantly, after much outcry from the German populace, the law they used to try to punish Böhmermann was challenged and repealed: https://www.npr.org/sections/thetwo-way/2017/01/25/511611581...)
I can't seem to find out anything about Cathedral Networks (https://cathedral-networks.org/). They do host a cygwin mirror (https://cygwin.cathedral-networks.org/) and a GLaDOS Voice Generator (https://glados.c-net.org/)
https://paste.c-net.org/CartsTroops
(Cool that it works btw)
cat file.txt | nc termbin.com 9999Unfortunately I still ended up taking down my publicly accessible demo to not have to deal with the legal risk of potential abuse, but this software is free for others to host and is written in Go.