News for hackers. Stuff that matters.
Re:Show HN: I made a tool that turns screenshots into dramat... by sampriti on Thursday February 09, 2023 @07:52PM (#34734084)
OP leaks all his JS source on the website:

https://screenstab.com/editor/js/src https://screenstab.com/editor/workers/src

If you didn't wanna pay for the pro version, just replace the checks for `location.host.split(".")[1] === "pro"` with `true`.

Re:Show HN: I made a tool that turns screenshots into dramat... by Trufa on Thursday February 09, 2023 @08:09PM (#34734263)
I mean, the fact that it’s not properly protected doesn’t really give you the moral right if “don’t want to pay”.
Re:Show HN: I made a tool that turns screenshots into dramat... by esrh on Thursday February 09, 2023 @10:34PM (#34735296)
If the author was that serious about this as a business they would've done it server side -- or better yet sold the unburdened source code at a one-time price.

If you are running someone else's code on your computer you are entitled to change it, morally. The fact that most other programs make this hard to meaningfully do is another problem.

Re:Show HN: I made a tool that turns screenshots into dramat... by Galanwe on Thursday February 09, 2023 @08:35PM (#34734471)
A bit unfair of you to just plainly state how to circumvent their protection in the comments.
Re:Show HN: I made a tool that turns screenshots into dramat... by gfodor on Thursday February 09, 2023 @08:53PM (#34734638)
The name of this website is Hacker News.

That said it’d be unethical to use this to avoid paying.

Re:Show HN: I made a tool that turns screenshots into dramat... by d-z-m on Thursday February 09, 2023 @10:43PM (#34735345)
There _is_ no protection. the source is publicly accessible.
Re:Show HN: I made a tool that turns screenshots into dramat... by Galanwe on Friday February 10, 2023 @01:20AM (#34736298)
The conditional in the code _is_ a protection. It is not fair of you to consider it non-existent just because _you_ can easily bypass it.

Using your argument, it would be fair to circumvent any protection as long as a specialist can trivially bypass it? Remember that 99% of internet users have no idea what "Show page source" actually does, much less what "javascript" is. You are the top 1 percentile power user here.

Arguably a lot of things are not strongly protected per se but rely on specialists not trying to actively trick the system, much less posting their techniques on public forums.

Re:Show HN: I made a tool that turns screenshots into dramat... by d-z-m on Friday February 10, 2023 @08:10AM (#34739183)
> Arguably a lot of things are not strongly protected per se but rely on specialists not trying to actively trick the system

If a system has a vulnerability, it is the system's fault, not the specialist's. I'm a bit sensitive to this line of argument because it and arguments like it have been used in the past to try and demonize the efforts of security researchers. However, I also believe we should have good norms around responsible disclosure.

> much less posting their techniques on public forums.

Perhaps it could've been more responsibly disclosed to the OP, agreed. However, the public internet is a public forum. OP posted his code there, and it was found. Any number of web crawlers have probably already found it. Not the least painful way to learn this lesson, but hopefully it was learned.

Re:Show HN: I made a tool that turns screenshots into dramat... by mucle6 on Thursday February 09, 2023 @07:59PM (#34734170)
This is why we can't have nice things

(Note: I don't know OP, and have never used their product)

Re:Show HN: I made a tool that turns screenshots into dramat... by richardw on Thursday February 09, 2023 @08:18PM (#34734345)
Upside to you is some karma points. Downside is harming their business, right there on the launch post. Why? Just quietly notify them offline.
Re:Show HN: I made a tool that turns screenshots into dramat... by 14 on Thursday February 09, 2023 @08:42PM (#34734537)
I appreciate the reveal. I come to HN to see things exactly like this. And if someone is going to “show HN”, well hacker is right in the title of the site so expect people are interested in that kind of thing so best take minimal steps to secure your stuff.
Re:Show HN: I made a tool that turns screenshots into dramat... by GingerMidas on Thursday February 09, 2023 @08:37PM (#34734489)
Eh, from the rest of the thread I don't think these 133t HN readers are the target audience anyway.
Re:Show HN: I made a tool that turns screenshots into dramat... by swatcoder on Thursday February 09, 2023 @08:56PM (#34734668)
“Business”? This is a weekend toy project, and good for them for trying to explore monetization as part of the exercise.

But reverse engineering the implementation, even trivially, is more intellectually interesting than the effort itself. It’s good content for HN and a really valuable beginner’s lesson for the author.