EvilZone

Programming and Scripting => C - C++ => Topic started by: Ragehottie on June 22, 2012, 06:16:18 PM

Title: [C] Anyone have a good starter tutorial?
Post by: Ragehottie on June 22, 2012, 06:16:18 PM
After writing a botnet client in python(with some...errr alot of help) I want to make it in something that can be compiled. I have been wanting to learn C or C++ for a while, but I have never been able to understand it very well. I was going to learn C++, but I heard someone here say that C was better for hacking. So, anyone have any tutorials on C?
Title: Re: [C] Anyone have a good starter tutorial?
Post by: NeX on June 22, 2012, 10:39:22 PM
Code: [Select]
C For Dummiesand
Code: [Select]
C Primer Plusare the best ones for beginners.. but that's just my point of view :P
Title: Re: [C] Anyone have a good starter tutorial?
Post by: flowjob on June 22, 2012, 10:50:05 PM
If you just want to compile the botnet,use py2exe...
Because it will take you long to get the knowledge to write a botnet in C again...
It's much more complex than in Python...
Title: Re: [C] Anyone have a good starter tutorial?
Post by: NeX on June 22, 2012, 11:15:11 PM
If you just want to compile the botnet,use py2exe...
Because it will take you long to get the knowledge to write a botnet in C again...
It's much more complex than in Python...



Actually, not really :P
Here's an (old) example:
Code: [Select]
http://packetstormsecurity.org/files/25575/kaiten.c.html
Title: Re: [C] Anyone have a good starter tutorial?
Post by: Lionofgod on June 23, 2012, 12:20:20 AM
In terms of learning C, I'd say to use something like
-> K & R <-- C bible (Although kind of outdated, 2nd edition is Ansi C)
-> C Programming: A modern Approach (the "heir" to K & R as said by some)

If you want to make it fun, you can learn C along with
-> Hacking The Art Of Exploitation (It teaches C as well as how to debug/dissassemble which is pretty cool)
-> Advanced Programming in the Unix Environment (Teaches more about the Unix system along with C)

All these books can be torrented and found online, have fun : )
Title: Re: [C] Anyone have a good starter tutorial?
Post by: Phage on June 23, 2012, 02:23:23 AM
The e-books above are great. But if you want some video tutorials i will definitely recommend this website: http://thenewboston.org/list.php?cat=14 (http://thenewboston.org/list.php?cat=14)

They have great tutorials in almost every major programming language (Java, c/++, c#, c etc)

Hope you will find this useful

Regards
Narraz

Title: Re: [C] Anyone have a good starter tutorial?
Post by: Ragehottie on June 23, 2012, 03:05:02 AM
Thanks for the suggestions guys.
If you just want to compile the botnet,use py2exe...
Because it will take you long to get the knowledge to write a botnet in C again...
It's much more complex than in Python...

I know I could use py2exe, but I really want to use C for other things too. It would be a better investment of my time to learn C. Hell, I'm only 15, I have all my life basically.
Title: Re: [C] Anyone have a good starter tutorial?
Post by: s3my0n on June 23, 2012, 07:49:23 AM
The best starting book imho would be C Primer Plus.
Title: Re: [C] Anyone have a good starter tutorial?
Post by: lucid on June 23, 2012, 08:08:50 AM
The best starting book imho would be C Primer Plus.
Only for C++ though am I right?
Title: Re: [C] Anyone have a good starter tutorial?
Post by: s3my0n on June 23, 2012, 08:42:13 AM
Only for C++ though am I right?

No, the author published two books. One "C Primer Plus" and one "C++ Primer Plus".
It's hard to find the first one on the net (for free) because many results come out with "C++ Primer Plus". If you want I can upload "C Primer Plus".

The latest edition I think is the 5th edition.
Title: Re: [C] Anyone have a good starter tutorial?
Post by: lucid on June 23, 2012, 09:59:31 AM
Well I just found it but for some reason zip is being stupid and saying: zip warning: name not matched.....

Which it's only supposed to do if the file is over 2gb. Which it's fucking not. I tried..


EDIT: Rar worked better. I will also put this (http://upload.evilzone.org/download.php?id=9040420&type=rar) in the ebook section.
Title: Re: [C] Anyone have a good starter tutorial?
Post by: Ragehottie on June 23, 2012, 05:48:04 PM
Well I just found it but for some reason zip is being stupid and saying: zip warning: name not matched.....

Which it's only supposed to do if the file is over 2gb. Which it's fucking not. I tried..


EDIT: Rar worked better. I will also put this (http://upload.evilzone.org/download.php?id=9040420&type=rar) in the ebook section.


Thanks you, I will be using that one. Mostly because you provided a link :D