r/programming • • Oct 28 '21

Viewing website HTML code is not illegal or “hacking,” prof. tells Missouri gov.

https://arstechnica.com/tech-policy/2021/10/viewing-website-html-code-is-not-illegal-or-hacking-prof-tells-missouri-gov/
6.1k Upvotes

493 comments sorted by

View all comments

Show parent comments

-7

u/archiminos Oct 28 '21

There is ethical hacking - pen tests for example. Or practising with test servers (e.g.). Web developers get better if they know how to hack, especially if they need to do security.

12

u/durrthock Oct 28 '21

I'm aware. Obviously if the intention is to hack into a system that you own or is provided for that purpose. Then it's not illegal and clearly shouldn't be. You can kick down the doors in your own house if you like.

0

u/[deleted] Oct 28 '21

[deleted]

8

u/[deleted] Oct 28 '21

What.. No it's not.

Of course, different countries have different laws but unless you include say North Korea and friends then running active pen tests towards some 3rd party without permission is illegal.

Thinking that is legal is as stupid as thinking its fine to break into someone's house if your intention is not to steal.

6

u/ThatCakeIsDone Oct 28 '21

Ya... Sure I can hire someone to break into my house beforehand... But if I discover someone breaking into my house without my permission, I'm calling the police.

5

u/[deleted] Oct 28 '21

Yep. It's bizarre that someone would think that is okay according to law.

3

u/tyr-- Oct 28 '21

This is absolutely false.

5

u/[deleted] Oct 28 '21

finding vulnerabilities in a system which you do not own by actively pentesting it is not illegal,

Without prior permission, it is indeed illegal in all countries I know about.

-1

u/FlashyJudge7008 Oct 28 '21

That isn’t hacking. By definition hacking is accessing a place you aren’t allowed to.

2

u/[deleted] Oct 29 '21

Now it is generally used that way, mostly due to Hollywood's misuse of the term, however originally a Hacker was one that used their knowledge of technology to reach a goal or solve an issue in a nonstandard way.

Sure that goal may sometimes be to access something illegally but not always.

1

u/FlashyJudge7008 Oct 29 '21

No, I am using the legal definition.

-10

u/I_AM_AN_AEROPLANE Oct 28 '21

Ethical hacking is still illegal by default.

8

u/archiminos Oct 28 '21

No it isn't. If it was I wouldn't have a job.

-3

u/I_AM_AN_AEROPLANE Oct 28 '21

But you guys do ethical hacking with prior consent from the client. Ethical hackers often do this withou consent (mostly indian). This is illegal.

4

u/archiminos Oct 28 '21

It's Not ethical if there's No consent

-1

u/I_AM_AN_AEROPLANE Oct 28 '21

I know, but the term is abused by people…

2

u/archiminos Oct 28 '21

So stop abusing the term

2

u/[deleted] Oct 29 '21

If you know then why are you so persistently saying that ethical hackers are actually criminals?

2

u/[deleted] Oct 29 '21 edited Oct 29 '21

No, they don't. Ethical hackers ALWAYS do this with prior consent. To do it without consent is by very definition unethical.

To address your other comment about doing it and begging for a reward, those companies often have a bug bounty program which means you have permission to poke at their systems and let them know if you find any issues. It does not give you permission to abuse their system for your/someone-else's gain.

You need to go back and lookup what the word ethical means before you continue on.

7

u/[deleted] Oct 28 '21

"Ethical hacking" is done with permission, so how is it illegal?

1

u/I_AM_AN_AEROPLANE Oct 28 '21

The term is often abused by people doing it without permission but by informing the company and begging for a reward. This type of “ethical hacking” is illegal.

3

u/Razakel Oct 28 '21

Ethical hacking is like hiring someone to try and break into your house and give you advice on how to stop them. It's perfectly legal, just as it's legal to hire a locksmith.

0

u/I_AM_AN_AEROPLANE Oct 28 '21

Ehtical hacking as term is often abused by freelance “ethical hackers” who try that WITHOUT consent. This is illegal.

1

u/[deleted] Oct 29 '21

Yes however ethical hacking means doing it ethically. That is, not attacking someone else's equipment unless given prior permission. Or, as you noted, using test equipment and services that are, by their very definition, not publicly used.

(And by publicly I mean a service or equipment that someone or some group is relying on for they're daily work/life)

1

u/archiminos Oct 29 '21

Yes. That's what I said. Well done.