- This topic has 13 replies, 11 voices, and was last updated 9 years, 8 months ago by
Anonymous.
-
AuthorPosts
-
-
February 24, 2011 at 5:01 pm #6126
H4TT1fn4TT
ParticipantSo I learned C and C++ and wanted to start studying Python or Ruby now but I find it hard to choose not really knowing the future of Ruby.
I excluded Java because I simply get a bad feeling from it for some reason.
What are your views on the future of Ruby. For Python there are some nice tools out there I found out (tools for GUI programming etc.). My main aim is programming stuff that has to do with networking.
I also would appreciate some good advise on study material if anyone has that.
-
February 24, 2011 at 5:50 pm #38385
KrisTeason
ParticipantI’d say go with Python – but knowing Ruby would be good if you plan on toying with Metasploit Modules. Python also has some weight in the industry right now. I look around for programming jobs sometimes (being a software major), and some folks actually want Python background.
With Python, I’ve seen some beautiful stuff done involving networking (just take a look at some of the scripts in BackTrack for starters). Where I personally saw the real power of Python was in the Penetration Testing with BackTrack course, where the OffSec guys had developed a few python scripts which simulated Real-Live environments. To not be so vague about this, in the labs I often came across a couple of the machines I compromised having scripts that would be used to simulate a user checking his/her e-mail, visiting web pages, etc.
Also, hanging out on MaXe’s site Intern0t and participating in their, ‘Write a Program’ challenges, I’ve noticed a lot of guys using Python and can get code done quicker and a lot more efficient!
If your going to look into networking, I’d say don’t count Python out. The ‘bad feeling’ you get from Java is odd. Java has a lot of market value, it’s portable across OS’s and has great features in the java.net libraries that you could use to write some sweet tools.
Either route you go, your going to get closer in picking up on syntax from each language. Both languages have similar syntax so which ever one you favor you have nothing to lose when going back and learning the other.
-kris
-
February 24, 2011 at 6:29 pm #38386
caissyd
ParticipantI am a Java developer and I use Python when it comes to hacking. I only READ ruby from Metasploit.
So python without hesitation.
-
February 24, 2011 at 7:14 pm #38387
H4TT1fn4TT
ParticipantI will go for Python then. I also tried to search a bit more on google and the support community and online content on Python is way bigger than for Ruby.
Just one question that has nothing to do with this. It used to be that C and C++ where faster than the higher programming languages. When coding a function that does brute forcing is it better to code this function in C or C++ still or is the speed neglectable compared with Python?
-
February 24, 2011 at 7:26 pm #38388
-
February 25, 2011 at 4:56 am #38389
Don Donzal
KeymasterTry this for Python:
Desire to Pass on Love of Programming, Man Pens Book with Pre-Teen Son
Recommended python book for beginners, even if you’re over 10 years of age.
Don
-
February 25, 2011 at 3:27 pm #38390
H4TT1fn4TT
Participant@don wrote:
Try this for Python:
Desire to Pass on Love of Programming, Man Pens Book with Pre-Teen Son
Recommended python book for beginners, even if you’re over 10 years of age.
Don
The content looks interesting. To bad I can only find a copy near me for $999, lol. Will look around the bookstores here if any of them can get a hold of a copy instead of buying it online. 😀
-
February 25, 2011 at 3:34 pm #38391
rattis
ParticipantI’ve posted this in a few threads, including one linked above…
Edit:
Also, don’t know where in the world you are, but amazon has the book on it’s site for a nice price. -
February 25, 2011 at 4:16 pm #38392
mesho
Participantif you have asked me this question before 10 years i’ll answer differently!
but for the meantime and moving further Python is the 1st hacker must to know scripting language.
Python beats Perl when it comes to writing exploits because Python more clean & easy scripting language.
C is mandatory for System Hacking whether on Win, Mac or Unix alike OSs’.
regarding Java, i’m not a big fan for OOP so i’ll escape it 😉
last thing, here’s a good path to follow in learning python:
1) check the Google Python Class,
http://www.youtube.com/watch?v=tKTZoB2Vjuk2) very good video series in learning python from MIT
http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-00-introduction-to-computer-science-and-programming-fall-2008/video-lectures/3) and you are ready to go with
Gray Hat Python: Python Programming for Hackers and Reverse Engineers -
February 25, 2011 at 9:38 pm #38393
Anonymous
Participant+1 for Python, It has solved me a lot of problems, and take a look a w3af, and scapy two examples of great tools made with Python
-
March 2, 2011 at 2:42 am #38394
timmedin
ParticipantPython, if for no other reason than Scapy.
-
May 11, 2011 at 6:33 pm #38395
f4csimil3
ParticipantReally great post regarding Python vs Ruby, i was reading it and learned a lot.
Also had my questions answered regarding lanjuage.Thanks guys.
-
May 12, 2011 at 7:00 am #38396
jacobadam
ParticipantI would suggest Python. Python is an interpreted, general-purpose high-level programming language whose design philosophy emphasizes code readability. Python aims to combine “remarkable power with very clear syntax”, and its standard library is large and comprehensive. Its use of indentation for block delimiters is unique among popular programming languages. Python supports multiple programming paradigms, primarily but not limited to object-oriented, imperative and, to a lesser extent, functional programming styles. It features a fully dynamic type system and automatic memory management, similar to that of Scheme, Ruby, Perl, and Tcl. Like other dynamic languages, Python is often used as a scripting language, but is also used in a wide range of non-scripting contexts.
-
June 21, 2011 at 11:19 am #38397
Anonymous
ParticipantIf you want do python I have lots good resources on my site not sure if I can link to it but it save me typing them all out.
http://www.jamierougive.co.uk/tutorials.html
Take a look at thenewboston and there some under the python heading.
-
-
AuthorPosts
- You must be logged in to reply to this topic.