Best "Hacking" Language?
hotfoot wrote: Hey, I am really confused on which language I should learn.
Please post what you think I should learn for these two types of hacking:
- Web hacking (hacking sites)
- Virus making (making trojans, viruses, editing viruses, etc.)
Thank you very much,
- hotfoot982
From what iv read on this, ASM and C are good for viruses and cracking. And as for web hacking, just like what the New To Hacking HBH page says, start out with HTML, then Javascript, then PHP, and MySQL. You don't want to jump into random languages, you will most likely get confused, unless you are a hella smart person. I would actualy stat with something easy like VB before you take on ASM or C.
contrary to what most people on this site encourage, learning asp instead of php would be valuable for you in web hacking as more large sites use microsoft servers, in turn scripting in asp. Php is more used for linux and not incredibly popular for large websites (YouTube's the only big one that uses php). Personally, i use php, but thats because i started learning it first, and havent found the time for another web scripting language. Either one, there isnt that big of a difference. Of course knowledge of HTML, javascript, and SQL is needed in either case.
In terms of virii, go with C. Thats all i really have to say about that.
There is no right language for hacking, nor is there any real wrong language to hack. The perfect language for hacking. In all actuality you define what hacking is to you. You could see hacking as a philosophy and not take any language. I understand the idea you are trying to get at, you want to better yourself by learning a language. That all depends on what methods you want to use to compromise your opponent, whomever that might be at the time. It all depends on where you want to go from a personal stand point. Personally I love website design, so I chose PHP as a language to start from and built around that. Of course PHP is similar to Perl, so it was a very easy change for me. I feel that this is a decision best left up to you, no one else can tell you what to pick, because everyone has their bias. What works for them may not work for you.
@Der Heiligen IF you know C, it will be easy to learn C++ cuz theyre kinda similar scanf in C will be "cin" in C++ printf in C will be "cout" in C++
hotfoot wrote: Hey, I am really confused on which language I should learn.
Please post what you think I should learn for these two types of hacking:
- Web hacking (hacking sites)
- Virus making (making trojans, viruses, editing viruses, etc.)
Thank you very much,
- hotfoot982
A few things here. For one it's not a 'hacking language' it's a programming language. Second, why do you want to code viruses? That's really lame. And with that said, I would start out with javascript/HTML and PHP. Easy scripting languages to learn, and they'll pave a path if you will to be able to code in more complicated languages.
a-hack wrote: SOMEDUDE WROTE-why do you want to code viruses? That's really lame.
Viruses are lame? Yea I agree that the re-formating a hdd, or fucking up the registy is lame and skiddish, but viruses are a very interesting subject, and if you can code a good worm/virus/trojan, than that can be very useful.
Do you really think he wants to do anything else other than to F*** up someones computer?:evil:
Anyways, IDK if this should go in a different thread, but since we are on the topic of programming… what are the differences between all the C's? Has anyone actually programmed in all the C's? :whoa: C C# C++
Although they're similar in syntax there are some important differences. C was developed first and was very popular in its day as it lets you do lots of low level operations, messing about with memory addresses etc. C++ is a superset of C - what I mean by that is that C++ contains all the comands as C and a few more besides. A C program will compile in a C++ compiler. The extra stuff in C++ is the object-orientation and a few extra bits to improve ease of use. C# is similar to C but not an extension of C. It has object-orientation and garbage collection but a lot of low-level stuff has been taken out to make it abit harder to cause memory leaks and similar programming difficulties - it's a bit like Java but without the JVM :o)
ok, we all have to read C on wikipedia
C http://en.wikipedia.org/wiki/C_(programming_language)
C++ http://en.wikipedia.org/wiki/C++_(programming_language)
:D :p
mido wrote: ok, we all have to read C on wikipedia
C http://en.wikipedia.org/wiki/C_(programming_language)
C++ http://en.wikipedia.org/wiki/C++_(programming_language)
:D :p
your so smart
nickzen wrote: Although they're similar in syntax there are some important differences. C was developed first and was very popular in its day as it lets you do lots of low level operations, messing about with memory addresses etc. C++ is a superset of C - what I mean by that is that C++ contains all the comands as C and a few more besides. A C program will compile in a C++ compiler. The extra stuff in C++ is the object-orientation and a few extra bits to improve ease of use. C# is similar to C but not an extension of C. It has object-orientation and garbage collection but a lot of low-level stuff has been taken out to make it abit harder to cause memory leaks and similar programming difficulties - it's a bit like Java but without the JVM :o)
Thanks for the update! So does anyone program in C other than the old timers since there is C++ now?
As for web hacking, you would definitely need to learn html, javascript, and php and SQL.
As for virus-making and cracking, the best language is assembly (and the second best would be C). The most popular assemblers are MASM (only for Windows), NASM, and TASM.
The hardest part about assembly isn't the commands; it's learning how your computer works.
And as for the difference between C and C++…
C can do everything C++ can do.
C++ is just object-oriented. Object-orientation makes it easier to program particularly large and complex programs, such as a video game or a web browser.
You don't really need classes, templates, multiple inheritance, or polymorphism to write an exploit or a virus, so my advice would be to just learn C or, if you prefer, BASIC at first.
hotfoot wrote: Hey, I am really confused on which language I should learn.
Please post what you think I should learn for these two types of hacking:
- Web hacking (hacking sites)
- Virus making (making trojans, viruses, editing viruses, etc.)
Thank you very much,
- hotfoot982
Web: PHP, HTML, Javascript, CSS will suffice. Programming visuses etc: C, C++, .NET/VB, ASM if your really into challenges.
-Bl4ckC4t