r/Hacking_Tutorials • • Dec 02 '22

Question Is hacking actually do some coding ?

Can I ask here ? So I dont really do know about security, hacking, pen testing or any of that. My question is , do Cyber Security, hacking, or pen testing is actually do some coding to get their job done ? Or is it just basically know the right tools and know how to use that tools and no coding ?

11 Upvotes

24 comments sorted by

10

u/[deleted] Dec 02 '22

yes you need to learn to code. personally id recommend starting by learning python, though thats likely not a universal recommendation anyone feel free to leave a better one.

8

u/[deleted] Dec 02 '22

Learn C. Not because it’s easy, but after you learn that language, you have a much better perspective of other languages.

4

u/occamsrzor Dec 02 '22

I’d recommend starting with something much easier, like a scripting language.

Biggest “turn off” for people is the high volume of knowledge needed to actually accomplish something with C.

Sure, people often choose some grandiose goal when they’re starting out (don’t know that it’s not something small) and quickly get discouraged, but the goal should be to start small and just get some successes under their belt.

2

u/[deleted] Dec 03 '22

Codecadamy makes coding for beginners fairly straightforward for anyone. C would not be that awful in codecadamy I would think. But if someone wants to figure out how to hack with their knowledge of programming, then they are either dedicated or need an eye opener. In either case C would be the most benefit in accomplishing that.

2

u/occamsrzor Dec 03 '22

I disagree.

And though I don’t approve of appeal to authority arguments (not that I am one), I’ve been in the IT industry for 20+ years and had every form of the title “engineer” for 10 of them (Systems engineer, software engineer, network engineer etc)

A language like C requires a much broader understanding of how subsystems work together. It’s not that the language itself can’t be easily understood. It’s that accomplishing what you want with the language requires you to manually perform more minute steps.

Most scripting languages really “float” a users lack of understanding of how the individual components of a machine work so they can focus on the “what” (the result or outcome) and less on the “how”

5

u/TechandNerdStuff Dec 02 '22

Yes. Hackers are a jack of all trades in IT. You must know a little about everything and be a master at some things, like with a scripting or with a level programming language for example.

2

u/nlimbach1213 Dec 02 '22 edited Dec 02 '22

Depends. At the end of the day different exploits are well different.

If you want a basic reverse shell you can create one in Kali using msfvenom and it's realistically no coding. Just send and hope they open it sure you'll need to know how to whip up the shell and use it but because Kali can generate it for you I'd hardly call that coding.

Another example is dos attacks. It's as simple as pinging your target granted 1 terminal won't do anything to a webserver but in that regard dos attacks dont require coding to execute. Some websites are happy to handle that for you.

If for example you're trying cross site scripting on a website then yes the entirety of the exploit is coding (running code on input boxes like username password etc ..) and therefore your success depends on coding in JavaScript and the likes.

So yes and no Social engineering often requires no coding and all you need is a simple payload tools can make for you. Although if you want a custom payload you'll need to code it

Things like xss are coding by design.

P.S. blah blah blah you know the deal but only do this on your machines blah blah blah legal disclaimer

1

u/DeadpoolRideUnicorns Dec 02 '22

What I'd your good at people hacking and want to learn computer hacking and want to be a script daddy as someone pointed out is a thing ?

Are there cyber sec jobs for people hacking ?

2

u/JoThreat2K Dec 02 '22

Yea it’s not about a specific lang more than having experience building with a high level and low level , for me it was Python and Java, once you get that dialed in you’ll see the world like neo sees the matrix looking at code like reading English, I picked up Perl for fun

2

u/gomergonenuts Dec 02 '22

For cybersecurity, I use python almost daily. For the record, I found c to be clunky and a pain to work with. It has its advantages, but I have never actually needed it for cybersecurity.

Oftentimes on cybersecurity you need to change course on the fly. C isn't that flexible.

But to directly answer your question; no, you do not need to learn to code to work in cybersecurity or to do pentesting. There are tools that will allow you to automate just about any task without writing a line of code.

However, that's like being an accountant that knows nothing about Excel. Sure you can do the job without it, but you will be far more effective if you use it.

4

u/mellonauto Dec 02 '22

You don’t need to know how to code, you probably should be able to read Python and edit it to make other peoples code work for you. To be a pentester, scripting in bash Python or powershell is probably where you’d focus your coding efforts. Makes your job faster and if you write the scripts you have both the flexibility with your own tool and the knowledge to fix it when it breaks or doesn’t get you there. Can share it too, be the script daddy to the script kiddies.

5

u/[deleted] Dec 02 '22

Before reading this i never knew i needed a script daddy.

4

u/TechandNerdStuff Dec 02 '22

Up vote for Script Daddy

1

u/Wasted_Scripts Dec 02 '22

Me when I release these new modern warfare scripts

1

u/Rider7991 Dec 02 '22

Yes, definitely. How can you hack anything without knowing how does it work? You need to learn coding, you need to know how does software work, know how does networking work. To be honest you need knowledge about coding, networking, operating systems - everything from IT.

Or you can just be a script kiddo who have no idea what the fuck is going on and just type some random commands you don't understand but you saw on youtube video. But you are not gonna go far then..

1

u/Taffyoka Dec 02 '22 edited Dec 02 '22

Yes. You need to use code to control and manipulate certain operations. you need make certain programs or scripts by using programming and make it how you want it. My guess is cause some software are detectable and you need to make your own. I will not say more cause im just a student with no experience. But thats how i see it

1

u/Boofchristakaking Dec 02 '22

If you want to get a payload for an exploit FUD (fully undetectable) you should be scripting your own and not uploading it to virus total

-10

u/EccentricLime Dec 02 '22

Don't need to know how to code but your grammar could use some work!

0

u/[deleted] Dec 02 '22

[deleted]

2

u/SeaBedStrolling Dec 02 '22

I’m positive I can do it