Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
A URL shortener not shortening the URL but makes it look very dodgy (github.com/defaultnamehere)
434 points by sandebert on Feb 1, 2023 | hide | past | favorite | 95 comments


I would consider this innovative, but Office365 has had this built in (and as far as I can tell impossible to turn off) for years. What used to be a sensible link turns into a vast "safe link honest, guv" mess. I call it "man in the middle attack as a service"


Same for MS Teams. Before, we used Google Meet, which produced 9-letter meeting IDs, that I would be able to remeber if I really wanted to.

Teams just generates mile long URLs that encode more information than some of the meetings themselves in the worst case.


> URLs that encode more information than some of the meetings themselves in the worst case

Sadly this is also possible with a 9-letter code.


I went to a government committee meeting, first one of the committee to get the ball rolling. 2+ hours of everyone introducing themselves, to folk who already know each other.

And we're adjourned. Next month we'll discuss the rules of governance for the committee.

That's two of the total 6 meetings the committee has allocated.

And all the bureaucrats made plenty of show for the "progress we've made".


A lot of bureaucracy at the beginning might not be bad if it's indeed front-loading it for an otherwise successful collaboration.


What you say true. However, this particular organization has a well documented history of committee without action.


Well, in the worst case a single bit is overkill.


Same with PayPal. I've received perfectly valid emails direct from PayPal that include random sketchy links from third parties that are obvious phishing expeditions. I reported it to PayPal, but the ability still exists.


That's inherent to features that allow user generated content, which is obviously mandatory in the context of PayPals invoicing feature.

The only reason why companies don't care about it in the context of mail is because there is no equivalent to safe browsing for mails, so Domains aren't penalized by Google for sending fraudulent messages at small scale. If this was to change, they'd all pivot to using secondary domains for these mails, like GitHub does for GitHub pages.

It would also be a pretty pointless feature as you'd probably complain anyway, as the email would still come from a Paypal owned domain.

On the same topic: if you've got a Gmail address you're also able to send from @googlemail.com

Is this another security issue in your opinion?


How about disallowing urls or even just vetting urls in the messages sent from your own service? One of the ones I received was a link to a fake PayPal login that was something along the of lines of (making this up) http://login.PayPal.com.somethingsketchy.biz/login.php and was a replica of the PayPal login screen. It was pretty blatant. Seems like they should figure out a way to avoid that is all, because I know my mother would have put in her PayPal credentials to that site and I'd be hard pressed to fault her for it. We train users to check if it's a valid/real email before clicking on links and this was a perfectly real email sent from PayPal with a malicious link. This seems like PayPal's responsibility to me. I'm shocked they don't care about this.


Vetting is impossible, the scammers can just change the content of the page after the PayPal bot requested the website. Human vetting is even more impossible, invoices will always require unique links for each mail.

Nor does it matter wherever it's a clickable link or text in this context. The only way to "solve" your issue is by removing user generated content, which makes the invoicing feature inherently impossible.

If you're seriously shocked that PayPal isn't decommissioning a highly profitable feature because a random carebear worries about their family... Then you're honestly out of touch with reality.

Most people nowadays know that emails are untrustworthy, and if your family doesn't... Then you should tell them that, as they're bound to get scammed eventually if they click on any links from their inbox.


http://login.PayPal.com.somethingsketchy.biz/login.php

paypal in a URL pointing to a non-paypal domain, no need to load the webpage to flag that.


I sent a URL through Teams to an Ops guy to put in an Nginx configuration file as an upstream server. He just copied and pasted and it's now a configuration file in production with all of the parameters Teams added.


As a G Suite user, my "favorite" (/s) M365 feature is those "WARNING: EXTERNAL EMAIL" banners. Whenever I'm in an email thread with someone whose company adds those banners, it breaks Gmail's ability to collapse the previous messages at the bottom of the email.


[deleted]


I had similar vibes from an email I got from a recruiter stating:

> -- all outgoing emails from ACMECORP are virus checked by the newest version of WINDOWS DEFENDER --


If they claim it’s virus free, then it must be true!


I'd be tempted to suggest they include that information in their dating profile.


so great


I use https://github.com/Dunky13/outlook_unsafelink to fix that. I agree, it's a stupid way of training users to accept dodgy links.


I also recommend the developer's blog. Very detailed and hilarious articles https://mango.pdf.zone/ I laughed myself to tears reading Operation Luigi: How I hacked my friend without her noticing[1]

  1: https://mango.pdf.zone/operation-luigi-how-i-hacked-my-friend-without-her-noticing


Very good read, content is that of any 14yo in a room with a computer in the early 2000s. Very nostalgic.


The Tony Abbott story has been on hacker news before. It's so funny.


That was awesome, thanks for sharing. Crazy how easy it can be to get into someone's life!


I just read the Abbott-Qantas-Story. It's lovely.^^


Such a good blog post, had a blast reading it. Thanks for sharing this!


My goto for this purpose used to be https://shadyurl.com but sadly it seems like it's gone, so glad to have a replacement!


This is actually source code for ShadyUrl. It's linked at the bottom of the readme. Also, this repo hasn't been updated in 5+ years.


I don't think it is. It says it's inspired by shadyurl and includes some more spicy features.


I blogged about ShadyURL in March of 2022 so it hasn't been gone for long! Bummer.


This service:

> Turns out this site is powered by money. We ran out of Google App Engine credit. Fear not, we'll get more within 24 hours.

> In the meantime, you can use www.shadyurl.com for all your dodgy URL needs.

So it might just be that they went down today.


Nicely demonstrates why outsourcing link shorteners is risky - they go out of business and your link is dead.


There is an archiveteam project to index all the shorteners and where they direct to. I think it's the default project if you're running the warrior and there's nothing more important going on.

https://wiki.archiveteam.org/index.php?title=URLTeam


This was predicted and warned about when the link shorteners first appeared, decades ago.

But people keep using them (for a while for Twitter, but maybe mainly for analytics, though they could self-host and accomplish the same thing).


Infact this is a problem that we'll face someday.



Now I can train my colleagues and friends and family to click on dodgy links.


No training needed. That ship has sailed. You could call the link click-here-and-you-will-get-scammed.com/drain/my/bank/account.asp and your colleagues, friends, and family will all click it.


Ah yes, the URL worsener


All shorteners are worserners, even if the URL was long/ugly/crap to begin with.


They are are good for 2 things:

- So that the URL shortener service can see which site you visit (usually bad for the user)

- if you have to type a url by hand



„Turns out this site is powered by money. We ran out of Google App Engine credit. Fear not, we'll get more within 24 hours.“


Forgive my old-fashioned-ness, but...

Why is metered cloud hosting a better choice here than a $5/mo. VPS?


Personally, for long-running things, metered cloud has two upsides:

- IaaS, static hosting, etc. can maintain security updates on their end. My own VPS will eventually be broken into if I don't maintain security updates.

- Many things are accessed only intermittently. For low access patterns, it's cheaper to pay for what you use.

What I'd really like is something like Heroku, Amazon Lambda, or similar, but with an open, competitive ecosystem, and without vendor lock-in.


I don't use these services because I've seen the prices Amazon asks for a gigabyte of traffic but I think you'll have to have VERY intermittent access to make these scaling providers worth the money.

If you expect your website to one day go from 100 requests a month to a million a day and expect that traffic to continue from that point on, these services will be a huge benefit for uptime while you rework your code to a more reasonable system. However, a simple $10 VPS with Nginx can handle much more than people seem to expect, assuming you don't use some excessively bloated platform or your content can be cached.

In terms of security updates: a cron job to reboot weekly and unattended-upgrades will keep your server safe without much to look into. Your only risk will be end of life software, your own code, and your dependencies, but those aren't fixed by going with some managed platform either.

There are definitely upsides to these quick deploy tools if you want to iterate quickly with an API that's not accessible from your dev workstation, setting up a multi tenant K8s/Docker/whatever server to deploy to is much harder than giving devs API keys to push to external parties, but I wouldn't consider these services for 99% of the stuff I would deploy.


"Very intermittent access" is the use-case for most things I build. There's a short tail -- I've built a platform you've heard of and, given this is HN, more likely than not, used. Then there's a long tail:

- Home automation

- Municipal / school / community sites

- Personal web page

- Various internal automation within my organization

... and so on.

These are things which:

1. Require very simple technology (E.g. storing data in a small key-value store is more than good enough)

2. Should work for the next decade or three with no maintenance

3. Expect to be accessed maybe a couple of times a day, if I'm lucky, and probably much less

4. Most will never scale to gigabytes of data, ever


> My own VPS will eventually be broken into if I don't maintain security updates

I believe that with the right choices in life, this risk can be minimized.

E.g. tighten your sshd_config and/or lock it behind a VPN, don't expose app servers directly, don't expose insecurely written software.

> For low access patterns, it's cheaper to pay for what you use.

Low-access patterns don't increase the number of $5/mo. VPS'es I run.

> something like Heroku, Amazon Lambda, or similar, but with an open, competitive ecosystem, and without vendor lock-in.

I sense that the economic incentives lean towards vendor lock-in.

Is the amount of lock-in bad? I would have thought that migrating a function is somewhat easy.


In 99% of cases its not, people just mistakenly think they need a 'cloud' provider for everything these days.


For real. I once worked with a non-IT company who just had one junior developer responsible for everything IT, including websites and their management. When I asked why they don't run everything on some dedicated instance with X GB included in the plan instead of fancy bandwidth pricing so they have static sums to pay each month (reason I was pulled into the project was to decrease spending which increased each month as traffic increased), the person said something akin to "What? How? I didn't know you could even do that"


Had a similar thing at my place. We spend extortionate amounts on AWS for a load balanced setup - we dont make any real use of any of their other services so its not like we're reliant on them for everything. The guy who set it up had (and really still has) no clue that you can get just as reliable setup at a fraction of the cost using a few bare metal servers.

Of course when I suggested that we use a huge provider (I think it was probably Hetzner) it was shrugged off as being a bad idea because "they probably run them out of their garage", ignoring the multiple datacenters spread out across Europe where our primary clients are based.


Because credit is free and $5 is not free, I guess.


"£Free" is rarely £0. It usually means "£you do some of the work yourself and we indirectly profit due to metrics/economies of scale/network effects/data/kudos".


I don't think that's the trick at all. Running up bills will only make people leave for other services once their business does get money flowing.

Instead, I believe the reason cloud companies give away free stuff is the same reason Microsoft will give away Windows upgrades to students: if their weird, proprietary API is all you learn, you'll only be able to get started quickly on their platform so the moment you need to pick tech for a small business/your startup, you'll be quicker to choose their service.

There's a reason AWS Lambda (and Azure's competitor) is free but OpenStack/vSphere providers expect you to pay off the bat: if your workload and knowledge transfer (relatively) easily, there's no lock-in with which to trick people into choosing you.


> $5/mo. VPS

I think you may even get 256 megs of ram for that these days.


For $2.50 you can get 1 vCPU, 512MB RAM, 500GB bandwidth, and 10GB storage from Vultr[1]. The only catch is it's IPv6 only, you have to add an extra dollar monthly to get an IPv4 address ($3.50).

For $5.00, you get 1GB of RAM, 1TB of bandwidth, 25GB of storage, and an IPv4 address. Not bad...

[1] https://www.vultr.com/pricing/


1 GB, and 20 GB disk, at OVH. With unlimited bandwidth.

Here though, that service could be hosted on a static website (free at github/gitlab/cloudfare/etc), with client-side javascript used to decode data encoded in the url fragment.


Hmm interesting, haven't heard of those yet. Though seems like I was a bit off, DigitalOcean has a 512MB instance for $4 and Scaleway a 2 GB one for $6.5. But then again Scaleway will also nickle and dime you separately for the IP, the HDD and anything else that they can possibly think of.


Hmm, I just double-checked OVH's VPS offers and actually, it's 2GB RAM, 20GB disk, 1vcore, unlimited 100Mbps for €3.5/month (€4.20 with VAT). That's their "starter" offer.


better for who? ;-)


I got the same and thought it was the feature and I was about to be charged.


How does it cost them less to serve a HTML page with an image instead of compared to a simple database lookup and HTTP redirect?


Haha, Malware Bytes hates that link


I have a similar website called http://clickhere.lol (yes, the missing ssl is intentional). Has a weak server though..


I enjoyed the link to your Geocities throwback page:

https://marvinborner.de/cool.html


The url it generates is fantastic. It didn't work when putting into the address bar.


Hmm weird. Did you click confirm?


Nope. That did it. Thanks.


This website seems to be much more reliable! Thanks for sharing.



This is horrible. I love it.


Do-gooder AV suites with browser integration are gonna have a field day with this.


> https://irc.verylegit.link/3R~.QuJR_Do%3ELR;og122virus)javae...

> Turns out this site is powered by money. We ran out of Google App Engine credit. Fear not, we'll get more within 24 hours.

Looks like links are not viewable right now.


Finally, something useful posted here


I would have used honestachmed.link.

(https://bugzilla.mozilla.org/show_bug.cgi?id=647959)


The url shortener I build years ago had a feature for this called 'sketchy' urls - https://duct.me/


Should've supported ab.duct.me as a domain.


Since the URL is not getting shorter, the original could just be encoded in the generated URL -- there isn't really any need to store anything


Looks like the PoC got the hug of death? I was looking forward to trolling my IT security coworkers with it.


This is such a bad idea without any practical use. Why does it exist?


Not everything needs a practical use.


It's a form of folk art?


This is harmless evil and I absolutely love it!


Awful. I like it.


Pretty useful for security awareness training


It is funny, but what are the use cases?


I suppose it could be used to help auto-generated those phishing-test emails to see if employees click on shady links, but they all really point to a phishing training page.


> It is funny

You answered your question yourself!


not only is this useless but it's been done at least half a dozen times already in the past 2 decades


... but, why?


This is old, but I guess it didn’t get as much attention when it was posted in 2017.


question besides the lols whats a good use case for this


It's beautiful!


y tho


y not




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: