Home
Calendar
Certifications
Columns
Features
Forum
Resources
Vitals
Latest Additions
April 2013 Free Giveaway Sponsor - eLearnSecurity
Human Intelligence to Navigate the Security Data Deluge
February 2013 Free Giveaway Winner of SANS CyberCon Training
Interview: Bugcrowd Founders on Herding Ninjas for Crowdsourced Bug Bounties
Network Forensics: The Tree in the Forest
March 2013 Free Giveaway Sponsor - Mile2
Book Review: Violent Python
February 2013 Free Giveaway Sponsor - SANS
Holiday 2012 Free Giveaway Winner of Metasploit Pro by Rapid7
Course Review: SANS FOR408 Computer Forensic Investigations – Windows In-Depth
The Security Consulting Sugar High
Tutorial: Fun with SMB on the Command Line
Interview: Ilia Kolochenko, CEO of High-Tech Bridge
October 2012 Free Giveaway Winner of LearningGate Training
The Broken: Assessing Corporate Security in 2012 to Make a Better 2013
EH-Net Login
Welcome Guest.
Username:
Password:
Remember me
Lost Password?
No account yet?
Register
Who's Online
We have 62 guests and 2 members online
You are here:
Home
Ethical Hacking Discussions and Related Certifications
Programming
Python or Ruby.
EH-Net
May 21, 2013, 09:07:44 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Go back to The Ethical Hacker Network Online Magazine
Home Page
Home
Help
Calendar
Login
Register
EH-Net
>
Ethical Hacking Discussions and Related Certifications
>
Programming
(Moderator:
don
) >
Python or Ruby.
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Python or Ruby. (Read 24441 times)
0 Members and 1 Guest are viewing this topic.
H4TT1fn4TT
Jr. Member
Offline
Posts: 54
Python or Ruby.
«
on:
February 24, 2011, 11:01:46 AM »
So 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.
Logged
"The quality of programmers is a decreasing function of the density of go to statements in the programs they produce."
xXxKrisxXx
Hero Member
Offline
Posts: 512
Re: Python or Ruby.
«
Reply #1 on:
February 24, 2011, 11:50:22 AM »
I'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
Logged
eCPPT, GCIH, OSCP, OSWP
H1t M0nk3y
Hero Member
Offline
Posts: 864
Re: Python or Ruby.
«
Reply #2 on:
February 24, 2011, 12:29:14 PM »
I am a Java developer and I use Python when it comes to hacking. I only READ ruby from Metasploit.
So python without hesitation.
Logged
OSCP, GPEN, GWAPT, GSEC, CEH, CISSP
H4TT1fn4TT
Jr. Member
Offline
Posts: 54
Re: Python or Ruby.
«
Reply #3 on:
February 24, 2011, 01:14:53 PM »
I 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?
Logged
"The quality of programmers is a decreasing function of the density of go to statements in the programs they produce."
yatz
Full Member
Offline
Posts: 222
Re: Python or Ruby.
«
Reply #4 on:
February 24, 2011, 01:26:56 PM »
Python stuff.
http://www.ethicalhacker.net/component/option,com_smf/Itemid,54/topic,6208.msg33147/#msg33147
http://www.ethicalhacker.net/component/option,com_smf/Itemid,54/topic,5617.msg29536/#msg29536
Logged
"Live as though you would die tomorrow, learn as though you would live forever."
CCNA, MCSA, MCTS, Sec+, Net+, Linux+, CEH
don
Editor-In-Chief
Administrator
Hero Member
Offline
Posts: 4165
Editor-In-Chief
Re: Python or Ruby.
«
Reply #5 on:
February 24, 2011, 10:56:52 PM »
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
Logged
CISSP, MCSE, CSTA, Security+ SME
H4TT1fn4TT
Jr. Member
Offline
Posts: 54
Re: Python or Ruby.
«
Reply #6 on:
February 25, 2011, 09:27:17 AM »
Quote from: don on February 24, 2011, 10:56:52 PM
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.
Logged
"The quality of programmers is a decreasing function of the density of go to statements in the programs they produce."
chrisj
Hero Member
Offline
Posts: 1163
Re: Python or Ruby.
«
Reply #7 on:
February 25, 2011, 09:34:00 AM »
I've posted this in a few threads, including one linked above...
http://diveintopython3.org/
Edit:
Also, don't know where in the world you are, but amazon has the book on it's site for a nice price.
Logged
OSWP, Sec+
mesho
Newbie
Offline
Posts: 24
Re: Python or Ruby.
«
Reply #8 on:
February 25, 2011, 10:16:51 AM »
if 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=tKTZoB2Vjuk
2) 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
«
Last Edit: February 25, 2011, 10:56:08 AM by mesho
»
Logged
celord
Guest
Re: Python or Ruby.
«
Reply #9 on:
February 25, 2011, 03:38:54 PM »
+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
Logged
timmedin
Sr. Member
Offline
Posts: 469
Re: Python or Ruby.
«
Reply #10 on:
March 01, 2011, 08:42:43 PM »
Python, if for no other reason than Scapy.
Logged
twitter.com/timmedin |
http://blog.securitywhole.com
f4csimil3
Newbie
Offline
Posts: 22
Re: Python or Ruby.
«
Reply #11 on:
May 11, 2011, 01:33:11 PM »
Really great post regarding Python vs Ruby, i was reading it and learned a lot.
Also had my questions answered regarding lanjuage.
Thanks guys.
Logged
jacobadam
Newbie
Offline
Posts: 10
Re: Python or Ruby.
«
Reply #12 on:
May 12, 2011, 02:00:51 AM »
I 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.
Logged
millwalll
Guest
Re: Python or Ruby.
«
Reply #13 on:
June 21, 2011, 06:19:22 AM »
If 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.
Logged
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
EH-Net
-----------------------------
=> Calendar Of Events
===> ChicagoCon 2007
===> ChicagoCon 2008s
===> ChicagoCon 2008f
===> ChicagoCon 2009s
=> Ethical Hacktivism
=> News Items and General Discussion About EH-Net
===> Greetings
=> Special Events
-----------------------------
Ethical Hacking Discussions and Related Certifications
-----------------------------
=> General Certification
===> Networking
===> OS
===> Security
=> Compliance, Regulations & Standards
=> Control Systems
=> Cyber Warfare
=> Forensics
===> CCE / MCCE - (Master) Certified Computer Examiner
===> CHFI - Computer Hacking Forensic Investigator
===> EnCE - EnCase® Certified Examiner
===> GCFA - GIAC Certified Forensics Analyst
=> Hardware
=> Incident Response
===> CSIH - Computer Security Incident Handler
===> GCIH - GIAC Certified Incident Handler
=> Malware
===> Advisories
=> Mobile
=> Network Pen Testing
===> CEH - Certified Ethical Hacker
===> CPTC - Certified Penetration Testing Consultant
===> CPTE - Certified Penetration Testing Engineer
===> CSTA - Certified Security Testing Associate
===> eCPPT - eLearnSecurity Certified Professional Penetration Tester
===> ECSA - EC-Council Certified Security Analyst
===> GPEN - GIAC Certified Penetration Tester
===> OSCP - Offensive Security Certified Professional
=> Physical Security
=> Programming
=> Social Engineering
=> Web Applications
=> Wireless
===> CWNP Certs
===> GAWN - GIAC Assessing Wireless Networks
===> OSWP - Offensive Security Wireless Professional
=> Other
-----------------------------
Columns
-----------------------------
=> Editor-In-Chief
=> Andress
=> Gates
=> Haddix
=> Hadnagy
=> Heffner
=> Hoffman
=> Linn
=> RichM
=> Murray
=> J. Peltier
=> Weidman
=> Wilson
-----------------------------
Features
-----------------------------
=> /root
=> Book Reviews
=> Opinions
=> Skillz
===> Examples
===> May 06 - Star Hacks, Episode V: The Empire Hacks Back
===> July 06 - Hack Bill!
===> Sept 06 - Netcat in the Hat
===> Nov 06 - Hitch-Hackers Guide to the Galaxy
===> Dec 06 - A Christmas (Hacking) Story
===> Feb 07 - Charlottes Web Site
===> April 07 - Microsoft Office Space
===> June 07 - Serenity Hack
===> Oct 07 - Worst. Ethical. Hacker. Challenge. Ever.
===> Dec 07 - Frosty the Snow Crash
===> March 2008 - It Happened One Friday
===> Oct 2008 - Scooby Doo and the Crypto Caper
===> Dec 08 - Santa Claus Is Hacking to Town
===> Feb 2009 - Brady Bunch Boondoggle
===> July 2009 - Prison Break
===> October 2009 - SSHliders
===> December 2009 - Miracle on Thirty-Hack Street
===> December 2010 - The Nightmare Before Charlie Browns Christmas
-----------------------------
Resources
-----------------------------
=> Career Central
===> Looking For Work
===> Looking To Hire
=> Links to cool sites.
=> Mass Media
=> News from the Outside World
=> Tools
=> Tutorials
===> Tutorial Requests
Loading...
Exclusive Deal
SANSFIRE 2013
June 15 - 22
5% Off
w/ Code
:
EHN_5
SANS Deals 4 EH-Netters
5% OFF
Any
SANS Course
in Any Format!
Coupon Code:
EHN_5
Including
SANS Rocky Mountain 2013
&
SANS Boston 2013
Polls
Compared to this year, 2013 will be:
Great!
Better.
About the same.
Little worse.
FUBAR!
Recent Forum Topics
Programming
: Finished Python Course in Codecademy now what?
(14) by
3xban
Network Pen Testing
: Ruby on Rails Vulnerabilities/Attacks in BackTrack 5 r3
(0) by
SUdoctstudent
Network Pen Testing
: De-ICE 1.140 released!
(2) by
superkojiman
Network Pen Testing
: AIX Vulnerability Assessments
(1) by
3xban
General Certification
: CPT Practical Submission
(1) by
UNIX
OSCP - Offensive Security Certified Professional
: Failed my first attempt at the OSCP exam
(94) by
azmatt
Tools
: Social-Engineer Toolkit (SET) Version 5.0 “The Wild West” Released
(2) by
m0wgli
Malware
: EICAR?
(3) by
UKSecurityGuy
Advisories
: HTB23154: Multiple Vulnerabilities in Exponent CMS
(0) by
AndyP
Advisories
: HTB23153: Multiple Vulnerabilities in Jojo CMS
(0) by
AndyP
Advisories
: HTB23151: Cross-Site Request Forgery (CSRF) in UMI.CMS
(0) by
AndyP
Tutorials
: Need guidance
(8) by
r0ckm4n
OSCP - Offensive Security Certified Professional
: Class Scheduled 6/8 - Linux n00b
(7) by
Taemyks
OSCP - Offensive Security Certified Professional
: OSCP exam scheduled
(6) by
gbhat
Incident Response
: LinkedIn Forensics
(0) by
AFENTIS_Forensics
General Certification
: Red Team/Blue Team
(1) by
ajohnson
Career Central
: Starter cert?
(3) by
Grendel
Network Pen Testing
: Beginner Ethical Hacker
(1) by
m0wgli
Web Applications
: Nessus and Nikto
(4) by
Seen
Network Pen Testing
: Cracking salted MD5 hash
(4) by
n37sh@rk
CEH - Certified Ethical Hacker
: Passed my C|EH
(3) by
n37sh@rk
Mass Media
: EC-council hacked, irony at his best?
(0) by
j0rDy
Web Applications
: SQL Injection into an INSERT statement.
(6) by
eyenit0
Network Pen Testing
: Solution for sipXtapi INVITE Message CSeq Field Header Remote Overflow
(1) by
m0wgli
Web Applications
: dns
(2) by
H1t M0nk3y
Other
: BSides Boston
(0) by
3xban
Career Central
: InfoSec in Central, FL
(2) by
tturner
Web Applications
: Web vulnerability scanner
(4) by
H1t M0nk3y
EH-Net News Feeds
Latest Additions
Privacy Notice
for TDCC & All Properties
© 2013 The Ethical Hacker Network
Joomla!
is Free Software released under the GNU/GPL License.