EvilZone
Hacking and Security => Beginner's Corner => : Karpz March 21, 2015, 08:51:43 PM
-
I know most will say learn Python because you don't need to worry about memory management. But I'm new to coding, and I want yo focus on malware, specifically worms. Which should I learn first?
Or you know any other language to learn for worms would be good.
Damn fucking auto correct!
-
I can suggest you one language but someone can suggest another language... how do you planing to choose?
If you want to understand how programs are working you need to learn C. If you want to make program quickly and this program isn't intended to work with low level stuffs you can choose Python.
P.S.
as I said, if you want to know how programs works you can choose C, but it's much better if you'll dive into Assembler.
-
I can suggest you one language but someone can suggest another language... how do you planing to choose?
I second that.
If you want to understand how programs are working you need to learn C. If you want to make program quickly and this program isn't intended to work with low level stuffs you can choose Python.
I disagree here. One can understand how programs work without knowing C, or do you mean "how programs are executed by the CPU"? And python has low-level-integration via ctypes etc.
P.S.
as I said, if you want to know how programs works you can choose C, but it's much better if you'll dive into Assembler.
I'm not sure whether it's a good idea to go with Assembler first, but....
@OP: You don't look like you're a programmer, so I guess your best bet would be to learn coding first, and then focus on malware. Otherwise, you won't get any results.
My personal preference says python, but there are many other valid choices, since the focus would be to learn programming, go on to low-level programming and finally malware. I might even go so far and say that, in your situation, the language doesn't matter much.
-
I second that.
I disagree here. One can understand how programs work without knowing C, or do you mean "how programs are executed by the CPU"? And python has low-level-integration via ctypes etc.
I'm not sure whether it's a good idea to go with Assembler first, but....
@OP: You don't look like you're a programmer, so I guess your best bet would be to learn coding first, and then focus on malware. Otherwise, you won't get any results.
I'm not. So yeah, but what language to begin with?
-
I'm not. So yeah, but what language to begin with?
Choose randomly. There is no good or bad languages (except brainfuck, Moo or similar).
@OP: You don't look like you're a programmer, so I guess your best bet would be to learn coding first, and then focus on malware. Otherwise, you won't get any results.
Truth!
or do you mean "how programs are executed by the CPU"
Exactly. Sorry, my English level don't allow me to express my thoughts correctly :(
And python has low-level-integration via ctypes etc.
.
It's needed mostly for Bindings and if you're going to use ctypes, it's better if you already know C.
I'm not sure whether it's a good idea to go with Assembler first, but....
Assembler as first language it's bad idea... yeah.
stop double posting
-
Choose randomly. There is no good or bad languages (except brainfuck, Moo or similar).
But I'm not going to start with c++. I'll start learning C, and go from there.
I hear most people become fluent in a language from 6 months and up, if someone can verify that ;D
-
It's needed mostly for Bindings and if you're going to use ctypes, it's better if you already know C.
Well, there is a lot of software like pydbg that uses ctypes to, say, control other processes etc. That's a very powerful feature,
since this combines low-level functionality and python's flexibility. And of course it's better to know C, I just wanted to point out that python is capable to be used with low-level stuff.
-
It really depends on you.
I'd say learn C because once you learn it Python (if not always in the most -pythonic- way) is a fucking walk in the park. The reverse is not always true. It's kinda like learning to drive in a snowstorm so that nicer days are a breeze :p
Just depends if you wanna tackle the harder part first or second. And please don't try to learn Assembler as a first language.
-
Read hacking the art of exploitation and then after wards work through the python books first violent python and then go on to grey hat python and then black hat python
This can take you a few weeks but once done you should have a firm understanding
-
Read hacking the art of exploitation and then after wards work through the python books first violent python and then go on to grey hat python and then black hat python
This can take you a few weeks but once done you should have a firm understanding
I have read that book. And no... BH python?...
-
I'm noob in programming and all computer stuff. I have a little bit of c++ experience. Coded a little bit in high school. Now i started learning coding. So from my personal noobish experience i can say that c++ is very boring for beginners. With python you can do all kinds of fun stuff faster and without much experience. I'm learning python now. Python is sexy. I mean as a beginner you can start writing programs that makes you wordlists. Searches for things in google. And code is very intuitive and human readable like:
#===========================================
from time import ctime;
print "Current time: " + ctime();
database = [
['Albert', '2587'],
['Jones', '1470']
]
username = raw_input('Username: ')
pin = raw_input('PIN code: ')
if [username, pin] in database: print 'Access Granted'
#=============================================
so I suggest python. Because it's sexy.
-
Amm, while Python is an easy and quick language, you can't get into low stuff(viruses usally do need low lv stuff) and it's pretty different than other programming languages. On the other sude, C is a very basic language and most of the modern computer languages are based on C.
If you'll choose learning C first you will learn a lot about memory management and it will be easy to learn other languages.
If you want a ease and quick programming language, choose python- GREAT language but you can't make big projects with it.
If you want to learn more about how the computer works choose C.
I know them both, and if you have time I recommend you to learn both, first C and then Python.
Good luck :)
-
I just about guarantee that if you learn C, it will get easier from there. It'll help you more quickly get a hang of the other C-based languages.
Python will be quicker to learn, and it's more object-oriented whereas C is more procedural, so if you're choosing between these two I'd say it depends on what paradigm is more interesting to you.
-
C will help you learn about datatypes. Python is not dynamically typed. The type is set when the variable is created but types are not automatically converted between types. That might be enough to teach you that though. Python will be useful because you'll start out being able to do cool stuff. C will be more useful for learning memory management. Python could teach basic memory management.
-
Why can't you learn both? Come on, if a little mexican girl can figure that out then surely you can :p
-
This question has been asked many many times here and also other places. The answer is always the same as seen here.
The correct answer. Yes.
The answer given. Maybe.
The answer you want. No.
Asking this question is like asking I want to bake a cake. I want my cake to taste good. I want my cake to be liked by others. Should I do an angel cake with a lot of frosting or make German chocolate with peanut butter glaze.
The answer will always be, make a cake. Pick one, who cares. Bake both, see which one you like more, then continue baking it because you like it and want t eat more.
Code is no different. Your not coding to make money, or because it is what a boss or senior developer told you to use. You are doing it at this point in your life because you want to. Pick one you like and just do it.
Because suggestions have been given and because there is no right answer this topic is being locked. The only right answer will be either: A) The one suited for the task. B) The one you like most. C) The one your boss tells you to use.
/