View Full Version : Whats the best langunage to learn?
skull
August 8th, 2009, 03:23 PM
I want to learn how to hack, and all I know is that learning programming is essential. I plan on using Ubuntu Linux on my laptop, because I can go to public hot spots and then disappear, and If I need to wipe my HD I have no problem doing that. So, what's the best programming language to learn for basic hacking?
gheox
August 9th, 2009, 03:26 AM
d/p .
hdeuce
August 9th, 2009, 03:27 AM
English. Always english.
skull
August 9th, 2009, 10:03 PM
English. Always english.
Programming language dumb ass.
ravenscar
August 9th, 2009, 10:07 PM
hmm.......ask palmer
Xon
August 9th, 2009, 10:39 PM
Depends on what you want to do. Like, what type of hacking.
I would recommend C or maybe php/SQL. It all depends man...
ravenscar
August 10th, 2009, 04:23 PM
hmm...... ill get someone who knows that to do it for me
Xon
August 10th, 2009, 08:10 PM
script kiddie.
DoG MikkyW
August 10th, 2009, 09:33 PM
hmm...... ill get someone who knows that to do it for me
Wow, this is pathetic.
Anyways, I think he asked what is the best programming language for hacking, I'd have to say assembly language for computer based, virii stuff. And PHP/SQL for web hacking. I might be forgetting something.
ravenscar
August 11th, 2009, 12:46 PM
imma woodsy person not a computer person
skull
August 11th, 2009, 09:05 PM
imma woodsy person not a computer person
so you like wood? as in p3n!s?
ravenscar
August 11th, 2009, 09:08 PM
no as in the forest. asshole mutant
Hebrow
August 11th, 2009, 10:42 PM
Why would you post in a thread where you can't contribute anything?
imho: Python.
ravenscar
August 11th, 2009, 10:46 PM
i was trying to learn
skull
August 11th, 2009, 11:02 PM
i was trying to learn
you're starting to piss me off ya little post whore. Contribute or don't post. If you cant do that then read the forum rules. If you have trouble reading then I guess I can clearly see that.
ravenscar
August 11th, 2009, 11:06 PM
sigh.......
Hebrow
August 11th, 2009, 11:08 PM
Seriously, what the fuck is that?
A post just to get your activity percentage up?
To make your experience go up and make you look like a senior member or something to that effect?
ravenscar
August 12th, 2009, 01:48 PM
no im just pokin fun at yall, this bores me im out
ishkur88
August 12th, 2009, 07:40 PM
Anyways, I think he asked what is the best programming language for hacking, I'd have to say assembly language for computer based, virii stuff. And PHP/SQL for web hacking. I might be forgetting something.
Are you fucking serious?
Hackers are the laziest bunch of folks I know, and following such they would most definitely want to use something a bit higher up the chain than ASM.
If you think about it in terms of what a hacker's goals are and the fact that most of them aren't masochistic, then I would tend to say they'd fuck with something along the lines of Perl or Python (a lot of exploit code I see as of late is in Python).
I think a happy medium lies between those two extremes. Take Metasploit for example, a slightly controversial hacking framework. The vast majority of it is written in Ruby, but it is capable of *generating* ASM based exploit code (for remote code injection and whatnot).
That doesn't mean I advocate the use of Metasploit or ASM, I was just stating that certain hackers have abstracted the labor of deriving ASM code into a series of Ruby scripts that does it for them.... which is kinda neat.
skull
August 12th, 2009, 08:25 PM
Thanks for the insightful response. unlike some people (ravenscar *cough*cough*)
DoG MikkyW
August 15th, 2009, 12:05 AM
Are you fucking serious?
Hackers are the laziest bunch of folks I know, and following such they would most definitely want to use something a bit higher up the chain than ASM.
If you think about it in terms of what a hacker's goals are and the fact that most of them aren't masochistic, then I would tend to say they'd fuck with something along the lines of Perl or Python (a lot of exploit code I see as of late is in Python).
I think a happy medium lies between those two extremes. Take Metasploit for example, a slightly controversial hacking framework. The vast majority of it is written in Ruby, but it is capable of *generating* ASM based exploit code (for remote code injection and whatnot).
That doesn't mean I advocate the use of Metasploit or ASM, I was just stating that certain hackers have abstracted the labor of deriving ASM code into a series of Ruby scripts that does it for them.... which is kinda neat.
He didn't ask what hackers would use, he asked what's the best, I still stick with my original statement, if you learn ASM like a fucking beast, you're the man. You can do shit tons of stuff that I wouldn't begin to understand. Why? Because I'm one of those asshat lazy hackers who doesn't try that hard.
ishkur88
August 15th, 2009, 10:53 PM
If you're speaking strictly in terms of classical hacking, eg. building shit from nothing, then sure ASM would work. If all you have is an empty disk drive and a CPU, it wouldnt do you much good to learn something like Python (or C for that matter), because it is just too high up the chain (initially at least).
I'm speaking in terms of productiveness and general ease/fun of use. It is my personal opinion (and I'm a small fish in a big sea), that anyone outside of low-level systems programming or academia shouldn't willingly be bothered with stuff like ASM.
Programming languages for the longest time were designed to be general purpose monsters that could handle anything you threw at them (given enough TLC). Up to a certain point, that is great. You have one tool for working with your bare bits, and it's also capable of stuff so high up that you can start interacting with other computers (networking, etc.).
Cool.
But as of late (past decade or so), new(er) niche languages have been popping up left and right. Ones that are targeted at smaller problem domains and have less "power". I think the lack of "power" in some languages helps it out more than hurts it. The programmer doesn't have to worry about implementing certain things, or worrying about others. They're built into the system or are data in the system.
Good example would be what I saw earlier today on the XKCD forums. A user developed his own language (called Safety) for solving a problem he had with Brainfuck. The language more or less worked in such a way that any given string (random in nature or a plain english sentence) would be a valid program. Here's his representation of a program that can generate the fibonacci sequence:
:ba-+1=^aaaaaaa!$1.: .^:#.: .^:f=[+@$f#.f=: .^:!^!]:
.
Buttfuck ugly code, but it solves a niche problem he had.
Another thing to consider is that most languages are considered "Turing Complete", and unto that also comes the fact that there's not a thing you can do in one that you couldn't eventually do in another.
I think what beginners should start learning would be an intermediate language like Python or Scheme/Lisp. The expressiveness in either of them is really great (moreso in Scheme/Lisp, however), and the amount of initial effort is relatively low.
So, my vote is still Python.
Xon
August 17th, 2009, 06:52 PM
ishkur, have you ever learned or used lisp?
Danial
August 17th, 2009, 08:03 PM
C/C++
perl
........
Lord Midol
August 20th, 2009, 06:46 AM
Some of the suggestions in this thread are really, really odd.
Learn C++ and ASM.
Learn C#.
With those three languages, there is very, very little you can not do. I know C# & a bit of ASM (I am currently learning ASM) then will be moving on to C++.
If you're going to learn a language at least learn one that you can use in other areas, such as the job market.
DoG MikkyW
August 20th, 2009, 04:48 PM
ishkur, have you ever learned or used lisp?
Yes, he knows lisp quite decently.
ishkur88
August 20th, 2009, 06:58 PM
I've used Lisp extensively in the past, and I plan to continue doing so in the future.
Xon
August 20th, 2009, 08:09 PM
I was looking at learning it. Do you have any pros and cons for it?
DoG MikkyW
August 22nd, 2009, 03:12 PM
He's probably going to tell you something about macro's which are supposedly some really powerful... somethings in lisp which make lisp as powerful as it is. Also, it's the premier language used in AI if my memory serves me right. Hmmm. Cons, well, more people are looking for programmers who program C, C++, C#, VB, .NET anything, PHP. But still, that's not a big con at all.
Xon
August 22nd, 2009, 03:25 PM
Ah... but those other languages are just *****g sometimes....
Now AI is something fun...
ishkur88
August 23rd, 2009, 02:19 AM
Pros would be the level of expressiveness. Lisp is a mutliparadigm language and utilizes metaprogramming to a great extent (macros).
I like it because of the expressiveness of the language. Lisp allows you to take the problem domain and build the language up to handle it, then solve it in a very elegant way (whereas in other languages (*cough* Java) you have to build the problem down into constructs that the language can handle (easily at least).
A lot of people seem to have a problem with the parentheses, but I swear thats just n00b issue. With an editor that supports syntax highlighting and bracket matching, you wont even notice them.
Other people don't like the form that Lisp expressions use (S-Exp's), but I find them easy (thus, another n00b issue).
Would you rather write:
1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9
or:
(+ 1 2 3 4 5 6 7 8 9)
or how about:
(reduce #'+ (loop for i from 1 to 10 collecting i))
?
I think the only con I would have would be the level of confusion in the Lisp community about how they want to run things. There are a bit too many flavors of Lisp out there to choose from (CLISP, SBCL, Corman), as well as a subset/variant of Lisp called Scheme (very minimalistic and purist dialect). I concede that having a couple of variants might not be a *bad* thing necessarily, I just don't think having too many is a *good* thing either. YMMV.
As for those other languages... The mindset that C programming requires and that which Lisp requires are totally different, and that's what I think causes such a rift in what people like.
I still claim that the closest thing you're going to get to Lisp in a ALGOL derived language is Python, and if I had to I'd use it.
Here's a few little scripts I've made when I was bored:
http://pastebin.com/m323eb2f3
http://pastebin.com/mc9626c8
http://paste.lisp.org/display/77799
http://paste.lisp.org/display/77726
http://paste.lisp.org/display/77232
Xon
August 23rd, 2009, 07:54 PM
Sounds interesting... I spent about a week reading on and off about lisp and some programming and such about it... I think it would be fun to learn, but I start school tomorrow with 21 hrs so I will work on something a little less time consuming.
MajesticFive
October 10th, 2009, 11:24 PM
I would say to learn List Processing.
xDarryl
October 11th, 2009, 06:59 PM
I'd say learn some vb basic's. Then try branch of too Delphi or C++.
Learning some web coding is a handy (PHP/SQL), html is ok too know but just knowing html wont get you anywhere lol.
So go read up on some vb as for that will give you a intro to coding, then decide what "tools" you'd make if you were a programmer. Delphi is old and outdated language BUT is brilliant for trojans, RAT's, etc etc
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.