kraykomp

Programing languages for hacking. Which is better?

11 posts in this topic

Hello,

I am learning Pascal and C++, but now I have question for you. Which programing languages are more useful for hackers? Is it C++ or PHP or other like Perl?

0

Share this post


Link to post
Share on other sites

you can code a hack in really any language. it's basically your preference. C or ASM seem to be the widest used ones.

0

Share this post


Link to post
Share on other sites

what do you want to "hack" if the language doesn't have the ability to do something required for what you want to hack it's not good. For example, qbasic isn't going to be very useful for writing a cookie stealer but it would work for implementing an algorithm (possibly).

0

Share this post


Link to post
Share on other sites

If you want to learn a language "for hacking" (a futile quest if you ask me), stick to what's being used by the most people. That means C++, C, PHP, Java, C#, etc. Beyond satisfying any personal motivations, learning Pascal will probably not be fruitful.

0

Share this post


Link to post
Share on other sites
you can code a hack in really any language. it's basically your preference. C or ASM seem to be the widest used ones.

ASM shouldn't really ever be used unless you are in OS development, as it is unportable, unreadable, and is so much work for a simple task. ASM is one of those languages that you should learn, but is rarely ever used afterward.

0

Share this post


Link to post
Share on other sites

You can hack in all languages, but some languages will fit your needs better. In my case, C fits my needs better (for a keylogger program I'm working on)

0

Share this post


Link to post
Share on other sites

Thank you for your answers :)

I am learning Pascal because it is easier to understand C++ and other programing languages.

0

Share this post


Link to post
Share on other sites
Thank you for your answers :)

I am learning Pascal because it is easier to understand C++ and other programing languages.

If you want easy, go Ruby and never look back. It's powerful, and simple. Ruby, if not for being an interpreted language (unless you have an exe maker), would probably be used more than C or C++.

...and as a little fun fact...most notable hackers and sploit crafters often prefer interpreted languages over compiled languages because they are easily ported and often contain functions that do a specific thing well. Unlike in C/C++ where you have to play a cat-and-mouse game with code to get it to do what you want.

Edited by deadc0de
0

Share this post


Link to post
Share on other sites

Ruby is a lovely language. Something also has to be said for Perl. A lot of exploits are written in Perl and it's a very solid powerful scripting language. You also are gonna have to learn C. There really isn't anyway around it. C++ may overload your brain so start with C. All that nice stuff like pointers and pointers to pointers needs to be understood backwards!! You may want to learn enough Asm to start playing around with shellcoding too.

0

Share this post


Link to post
Share on other sites
Hello,

I am learning Pascal and C++, but now I have question for you. Which programing languages are more useful for hackers? Is it C++ or PHP or other like Perl?

Thats like comparing chalk and cheese. Learn whatever languages it takes to get the job done. In most cases your going to need to learn an array of languages as each has different uses but i would recommend choosing a path and sticking with it as you will confuse the hell out of yourself trying to juggle multiple languages at the same time.

I'd consider dropping pascal as it is an old and rarely used language!

C/C++ PHP and perl are all good languages to learn however!

good luck

0

Share this post


Link to post
Share on other sites

For now I will stay with C++, maybe in the future I will try PHP or Perl.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now