r/HowToHack • • Jan 06 '26
Is hacking sites that didn't ask for hackers ethical/legal?
I was checking some chat/edating sites for fun and started reading their client side without any recon and vulnerabilities where showing up left and right(not on all sites tho) and that is just the client side which is easier to defend than the server side. My question is: Is this allowed? I found 5 XSSs so far. If it is allowed, should I report it? What are the odds that i will get paid?
And thank you.
0
Upvotes
5
u/cant_pass_CAPTCHA Jan 06 '26
I'm short: no it is not legal.
Long answer: you can always report anything you find, but if they don't have a bug bounty program, I would do it in such a way where you provide all details without any expectations for a reward. If you've done something that crossed a line and have done any real damage... Idk you've fucked up at that point so be careful. I had gotten a small bounty before when I randomly found a bug that let me set my own price on a shopping site.
26
u/zakoud Jan 06 '26
If they don't have a bug bounty program don't expect anything. Also don't pentest without consent. Cheers
14
u/jessek Jan 06 '26
Hacking a site without consent is most definitely not legal. If a company has a bug bounty, it may be. But not always. If you are just reading the code/using the web dev tools in browser to examine it but not altering or exploiting anything, that is fine but don’t expect the company to be grateful if you contact them.
3
u/Julio_Ointment Jan 06 '26
hacking is illegal unless you have permission. always.
7
u/ps-aux Actual Hacker Jan 06 '26
reporting vulnerabilities on some random website is like going to the cops after you a rob a bank to tell them that you were able to rob the bank lol....
2
u/Ubera90 Jan 06 '26
No, obviously.
2
u/No_Path_3930 Jan 06 '26
Really dude ? Is hacking without consent legal ?
1
u/thunderbootyclap Jan 06 '26
Legal does not equate to ethical, and ethical isn't always legal. Take from that what you will.
1
u/ITSecHackerGuy Malware Analyst Jan 06 '26
Reading client-side code is perfectly legal. In fact, inferring vulnerabilities from what you can read through normal usage of the website is completely legal.
Actively exploiting vulnerabilities or actively scanning for them is NOT legal, unless they have a bug bounty program or something similar.
/security.txtendpointsecurity.subdomainIf no bug bounty program exists, or anything similar that you can find, it's illegal, don't do it. You can try to contact their security team to ask about it though.
PS: Bugs are not vulnerabilities. If they say "report bugs here" that doesn't mean you can pentest it.
1
u/Humbleham1 Jan 13 '26
I think that if you're just looking at client-side code and make a responsible disclosure, it's fine.
0
u/DrDeems Jan 06 '26
If they offer a bug bounty, use it. If not, exploit it.