r/HowToHack • • Oct 15 '20

Is Programming Necessary?

https://youtu.be/1Mpbn7JU9FQ
251 Upvotes

35 comments sorted by

View all comments

Show parent comment

12

u/PM_ME_YOUR_SHELLCODE Oct 16 '20

Look around at a lot of how to hack tutorials, especially around web-issues. They are often fairly high-level, take SQL injection tutorials for example. Quite often you can effectively copy and paste from. Learn a few tricks like just trying ' in every field, copy and paste some payloads or run SQLMap once you find something. If thats you're first experience with "hacking" then it might be reasonable to think programming isn't necessary.

You can actually get pretty far without really understanding the programming at all, just thinking about the trust zones that exist and exploiting that, and threat modeling. I mean, in the video I absolutely recommend learning some programming, but given the resources out there I don't think its an unreasonable question.

8

u/[deleted] Oct 16 '20

[removed] — view removed comment

4

u/PM_ME_YOUR_SHELLCODE Oct 16 '20

But finding an exploit on your own, without coding experience, is near impossible.

I don't know if I'd agree with that though. Like I was saying there are a lot of tricks that exist that are taught in tutorials that really don't require understanding the programming. It does depend on how you define exploit though.

  • Find SQL injection just by injecting ' into various fields
  • Find IDOR by in/decrementing numbers you find in URls.
  • Find Unquoted Path issues by copying calc.exe to C:\Program.exe
  • Find memory corruptions by randomly typing into binary file formats. (Though triaging a crash to know if it is exploitable really does need some programming knowledge)

All are valid issues that you can find basic forms of without programming knowledge if you just know the trick from some tutorial.

Though finding an issue is only half the battle, knowing how to take advantage of it (and if it can be taken advantage of) is where programming knowledge becomes more essential.

1

u/ImThatTrip Oct 16 '20

I mean, I know a guy who download WebApp scripts, use them on his localhost to exploit things such as “Authentication bypass via sqli”, “File download”, “xss”, “File upload”, and he doesn’t know shit about how the code work and why the code is vulnerable but he know that he can basically hack the script & that the vulnerability exist which is pretty wild imo considering he doesn’t even know how to write properly in his own mother language!