[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Is it worth learning to program in C if I want to get into hacking?

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 29
Thread images: 2

File: 1488725060508.png (59KB, 1134x1864px) Image search: [Google]
1488725060508.png
59KB, 1134x1864px
Is it worth learning to program in C if I want to get into hacking?

What can I do with this language?
>>
>>8762073
C is extremely broad and if you don't know the fundamentals of coding then you will be in over your head. Start small - like baby-steps with something like java. C is a monster to take on starting out.

Hacking is about thinking your way through things more than anything else.
>>
>>8762170
you are not as retarded as OP, but you are wrong about muh c beign hard and languages mattering that much
this thread shouldn't be on here but on /g/

op is vile human garbage and he knows it
>>
>>8762170
Fuck of retard. I bet you've never written a line of code besides Python.
>>
>how can I learn to hack

by hacking stuff retard, practice on older systems.
>>
>>8762073
>posts /pol/ meme
>wants to learn how to hack
>goes to /sci/ instead of /g/

lemme guess, you're underaged and you want BTFO some libshits
>>
>>8762073
learn what you need to in order to complete your task at hand, the languages are simply tools and mediums for expressing ideas and processes.

You don't begin building a box by learning to swing a hammer, you just fuckn do it
>>
don't learn C for crap, learn R for radical hacker skillz
>>
C is a shit language for brainlets who think they're too good for C++.
Also >>>/g/
>>
>>8762073
>learning to program in C

That's like learning to use a sliderule over a calculator. Just learn C++17
>>
op is fucking retarded

if you want to learn to hack you need to learn to use exploit frameworks, then you need to learn x86_64 asm, sparc asm, and generally be able to learn an embedded asm platform in a week.

You need an understanding of networking, server administration, application development and deployment, and of organization structures.

If you want to make a living doing it you need to actually be able to focus for more than five minutes at a time and read thick technical books including such gems as the 1500 page intel handbook.

But you can't do these things and you won't, so go fuck off.
>>
What should I read if I want to learn binary analysis/reverse engineering?
>>
Learn C. It teaches you a bit about how a computer works. Higher level languages seem to just work by magic to the beginner. With C, things aren't hidden in a black box from the programmer.
>>
File: 300px-Gordon_-Fyodor-_Lyon.jpg (9KB, 300x200px) Image search: [Google]
300px-Gordon_-Fyodor-_Lyon.jpg
9KB, 300x200px
if you want to learn to "hack" learn Ruby..
seriously, learn Ruby and then jump straight into Metasploit framework, which is written in Ruby.
That is your starting point.
And it is an easy starting point, Ruby is friendly Metasploit is written in Ruby..
>>
>>8762073
Nowadays C for your typical desktop application is dead, and so it is for hacking of it.

C is the choice language for small embedded though. Small devices. Bugs, drones, transmitters, mini-robots, wire-tap sniffers, and so on.

If you plan to do some actual hacking with feet on the ground, not out of the safety of your basement, C is useful to know.
>>
>>8762303
I never said it was hard, I said it was broad. Dumbass.


>>8762879
>Fuck of retard
One of the easiest words in the English language and you manage to misspell it. I'd bet your code is just as garbage.

>I bet you've never written a line of code besides Python.
kek
>>
if you want to get into binary analysis i suggest first learning C and then studying the architecture that the binary was compiled under; i suggest ARM as it is master race for embedded systems. x86_64 is a great option too. also, if analysis of kernel mode drivers is in your scope, i really suggest you study the kernel of the OS you're targeting; XNU, Win, Linux.
>>
>>8762921
kys Bjarne
>>
>>8763120
C is still useful to know for hacking today as a lot of exploits still rely on unchecked input/buffer overflow which you will learn a lot about if you learn C.

>>8763603
What about studying compilers? I figured it might be useful to have some background with them in order to better interpret assembly the spit out.
>>
>>8762170
>java being small
Java is a big ass language, C on the other hand is pretty small.
>>
>>8763975
Correct, I should have worded that better. I wasn't suggesting that the language itself is smaller, but it based on what I've seen people have an easier time understanding it (in my experience).

The argument is in the context of hacking. Depending on what you think of when you think of hacking a lot of people think of websites. Java is just an example of a code frequently used in that application.

>>8763120
>>8763892
This to
>>
>>8764057
>but it based

Looks like I'm an illiterate retard to
>>
>>8762073
honestly, any useful script has probavly been written by someone else already. you could probably refine it, but hacking is more about knowing what you're doing than knowing where the semicolins go. Practice breaking into your devices. Google what you don't know. It's so easy Pajeet can do it.
>>
>>8762170
>baby steps
>Java
Do not listen to this man.
>>
>>8762303
All you're ever gonna have is in that basement
>>
Why do people pretend C++17 is so much different than...C++11 or whatever.

I might be wrong but I have the feel not much is changing for a beginner between any of the C's.
>>
>>8764057
desu it sort of depends on what you're trying to hack
ie

Knowing a lot of webdev languages and systems (php, mysql, java, etc) is useful of you're trying to hack websites and setup a shell or something

If you're trying to crack a program locally, depending on what it was written in (if it's bytecode like .net/java/python it wont require disassembly in the same way a native win32 application will), you'll need to know some assembly, c/c++, and an RE program like IDA

If you're trying to setup a botnet or something you'll probably need to know minimal amounts of java or flash (not sure how drivebys are done these days) and maybe some desktop programming language if you plan to write a cryptor since most botnet clients are idiot-proof nowadays

It's a very broad subject, I'd recommend learning C/C++ as a start since a lot of the programming you'll do later on will have a similar syntax and they'll teach you what to look for when you're trying to find exploits. C/C++ is also, generally speaking, the most useful. Just learn whatever else you need to once you run into it.
>>
>>8762073
Q1: yes, absolutely.
Q2: anything you want limited by your overall CS knowledge.
>>
I'd say go learn python. Python is a hackers toolbox nowdays.
Thread posts: 29
Thread images: 2


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.