Home
Calendar
Certifications
Columns
Features
Forum
Resources
Vitals
Latest Additions
Jan 2009 Free Giveaway Sponsor - Black Hat DC
Scooby Doo and the Crypto Caper - Answers and Winners
Daemon - A Contest Revealed
Hacking: The Art of Exploitation 2nd Edition
Nov 2008 Free Giveaway - Winners
Dec 2008 Free Giveaway Sponsor - SANS
Santa Claus is Hacking to Town
Plug-N-Play Network Hacking
Nov 2008 Free Giveaway Sponsor - CWNP
Daemon - A Contest Begins Now
It Happened One Friday - Answers and Winners
Daemon - A Contest
Scooby Doo and the Crypto Caper
MS Blue Hat Hackers Headline Chicago Security Con
The Pen Testing Perfect Storm Webcast Series with Skoudis, Wright, Johnson
EH-Net Login
Welcome Guest.
Username:
Password:
Remember me
Lost Password?
No account yet?
Register
Who's Online
We have 18 guests and 3 members online
EH-Net Donations
Enter Amount:
$
CAD
USD
GBP
AUD
JPY
EUR
Google Ads
EH-Net News Feeds
Latest Additions
Book Recommendations
You are here:
Home
Forum
Ethical Hacking Discussions and Related Certifications
Programming
Steps for The Ethical Hacker to learn programming
Ethical Hacker Community Forums
January 08, 2009, 10:18:35 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
: ChicagoCon 2009 - May 4 - 9. Boot Camps & an Ethical Hacking Conf.
www.chicagocon.com
Home
Help
Calendar
Login
Register
Ethical Hacker Community Forums
>
Ethical Hacking Discussions and Related Certifications
>
Programming
(Moderator:
don
) >
Steps for The Ethical Hacker to learn programming
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Steps for The Ethical Hacker to learn programming (Read 13026 times)
0 Members and 1 Guest are viewing this topic.
Kev
Guest
Steps for The Ethical Hacker to learn programming
«
on:
June 24, 2007, 02:39:22 PM »
I am a big believer that the Ethical Hacker should know at least some basic programming. The first place to start is with basic Bash scripts. They are so easy and you get results right away. Then go onto to some basic HTML. Then either Python or Perl and eventually to C. C is the ultimate goal and it is without question the traditional code of the hacker. Why not just start with C? You could and some do, but I have seen too many people get stuck because C can be a little obscure for those new to programming.
Python or Perl are good languages to grasp before taking on C. Even when you are well versed in C there are many times you would rather write a quick script in these languages rather than C. The natural question is, if you had to choose one over the other, Perl or Python, which one would be the better choice? For me, Python is really the way to go. I feel its easier to learn, has more readable code , integrates into java better and can port a little easier because it doesn’t lean has heavily to Unix as Perl. I also feel Python makes the jump to learning C more natural than from Perl.
I wote this in the opinion area because that is what it is, my opinion. I would be curious if others diifer from this progression .
«
Last Edit: June 24, 2007, 02:43:42 PM by Kev
»
Logged
p0et
Full Member
Offline
Posts: 100
Re: Steps for The Ethical Hacker to learn programming
«
Reply #1 on:
June 24, 2007, 09:34:04 PM »
That's pretty interesting, Kev. I just dabbled a bit in HTML, Javascript, C and Perl but now don't really know enough to even put a program (or anything) together in any of those languages! Whenever I sit down and try to learn a language, it seems a little overwelming and boring to me. I enjoy learning about networking and security too much to switch over and study programming instead. It seems like I'd need to put in some good time that's usually spent with ethical hacking into programming. I'll check it out though, bash is pretty cool... thanks for sharing your opinion!
Logged
GCIH, Security+, Network+, A+, MCP, DCSE
jimbob
Sr. Member
Offline
Posts: 332
Re: Steps for The Ethical Hacker to learn programming
«
Reply #2 on:
June 25, 2007, 07:41:11 AM »
A often overlooked programming skill I consider essential for ethical hacking is shell scripting. No matter what Unix-like environment you're in you always have the shell the fall back on and you cannot assume Perl or Python are installed. The same could be said (to a lesser extent perhaps) of Windows batch scripting.
Knowing how to program in a one of the 'lowest common denominator' languages is pretty useful since wherever you have a foothold you have an interpreter you can use.
Jim
Logged
Kev
Guest
Re: Steps for The Ethical Hacker to learn programming
«
Reply #3 on:
June 25, 2007, 03:55:40 PM »
Thanks for the input. If you find programming a little boring there is one little exercise one can do to make it a little more interesting. Try writing a basic script to ping all the live hosts on a network on several different platforms. First write a bash script. Then write one in Python and then finally one in C. You can google examples of each. Once you see how each platform accomplishes the same goal, lights usually go on in peoples head about how programming works. Its actually fun to write a quick program like this and see it work.
Logged
invincible
Newbie
Offline
Posts: 3
Re: Steps for The Ethical Hacker to learn programming
«
Reply #4 on:
July 26, 2007, 09:19:25 AM »
I know bash scripting and is trying to learn c .
Thanks for the post .
Logged
cleanwithit0607
Newbie
Offline
Posts: 43
Re: Steps for The Ethical Hacker to learn programming
«
Reply #5 on:
July 26, 2008, 06:05:15 AM »
Quote from: Kev on June 24, 2007, 02:39:22 PM
I am a big believer that the Ethical Hacker should know at least some basic programming. The first place to start is with basic Bash scripts. They are so easy and you get results right away. Then go onto to some basic HTML. Then either Python or Perl and eventually to C. C is the ultimate goal and it is without question the traditional code of the hacker. Why not just start with C? You could and some do, but I have seen too many people get stuck because C can be a little obscure for those new to programming.
Python or Perl are good languages to grasp before taking on C. Even when you are well versed in C there are many times you would rather write a quick script in these languages rather than C. The natural question is, if you had to choose one over the other, Perl or Python, which one would be the better choice? For me, Python is really the way to go. I feel its easier to learn, has more readable code , integrates into java better and can port a little easier because it doesn’t lean has heavily to Unix as Perl. I also feel Python makes the jump to learning C more natural than from Perl.
I wote this in the opinion area because that is what it is, my opinion. I would be curious if others diifer from this progression .
Talk about bringing a thread back from the dead. I like the way you created a roadmap; or path to what a ethical hacker needs as far as programming goes. I never really thought about learning a language, until I started reading about exploits. I will def. keep this thread on my favorites list, so I can stay on track. I already know HTML, I used to code a clan website I had back in the days of, Medal of Honor Allied Assault. But anyways, I guess I will start with Bash Scripting, then onto Python.
Does anybody know of a book, or website that's reputable that can help me learn Bash, and or Python?
Logged
A+, Network +, Security +, Linux +
Work in progress: CEH
Currently Reading: Hacking-The Art Of Exploitation.
Recommended book: Counter Hack Reloaded.
RoleReversal
Hero Member
Offline
Posts: 508
Re: Steps for The Ethical Hacker to learn programming
«
Reply #6 on:
July 26, 2008, 07:33:10 AM »
Try this EH Thread (
dive into python
)
Read the rest of the programming board threads for some great resources.
And remember, the search box and google are your friend......
Logged
A little bit of sanity:
http://www.infosanity.co.uk
cleanwithit0607
Newbie
Offline
Posts: 43
Re: Steps for The Ethical Hacker to learn programming
«
Reply #7 on:
July 26, 2008, 08:35:20 AM »
Quote from: RoleReversal on July 26, 2008, 07:33:10 AM
Try this EH Thread (
dive into python
)
Read the rest of the programming board threads for some great resources.
And remember, the search box and google are your friend......
Thanks man. Yea, I always use google and the search function. I just ask so I can get more opinions. By the way, How's the OSCP course going?
Logged
A+, Network +, Security +, Linux +
Work in progress: CEH
Currently Reading: Hacking-The Art Of Exploitation.
Recommended book: Counter Hack Reloaded.
Kev
Sr. Member
Offline
Posts: 359
Re: Steps for The Ethical Hacker to learn programming
«
Reply #8 on:
July 26, 2008, 09:38:22 AM »
Quote from: cleanwithit0607 on July 26, 2008, 06:05:15 AM
Talk about bringing a thread back from the dead.
LOL! Well it does show you are spending some time going through the forum rather than just making a quick post for help. Very cool. Please forgive my leaning towards python. Python was and still is the "darling" language for linux enthusiast. In reality, once you have a grasp of Python, it wont be too hard to get the "feel" of both Perl and Ruby. If you are wanting to import new exploits to Metasploit, a reasonable grasp of those will be important.
«
Last Edit: July 26, 2008, 09:40:20 AM by Kev
»
Logged
Gert
Newbie
Offline
Posts: 1
Re: Steps for The Ethical Hacker to learn programming
«
Reply #9 on:
August 09, 2008, 05:27:47 AM »
basic Bash scripts i have a book on Linux Command Line and Shell Scripting is this the same thing as bash scripts.
Logged
RoleReversal
Hero Member
Offline
Posts: 508
Re: Steps for The Ethical Hacker to learn programming
«
Reply #10 on:
August 09, 2008, 03:07:15 PM »
Gert,
Bash is a very common Linux shell, so yes Bash scripting == shell scripting
Logged
A little bit of sanity:
http://www.infosanity.co.uk
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
EH-Net
-----------------------------
=> Special Events
=> Calendar Of Events
===> ChicagoCon 2007
===> ChicagoCon 2008s
===> ChicagoCon 2008f
===> ChicagoCon 2009
=> News Items and General Discussion About EH-Net
-----------------------------
Ethical Hacking Discussions and Related Certifications
-----------------------------
=> Certification
===> The Charter Study Group - Pen Test
=> Network Pen Testing
===> CEH - Certified Ethical Hacker
=====> CEH - Official Course Modules v4
=====> CEH - Official Course Modules v5
=====> CEH - Official Course Modules v6
===> CPTS - Certified Pen Testing Specialist
=====> CPTS - Official Course Modules v5
===> CPTE - Certified Pen Testing Expert
=====> CPTE - Official Course Modules v1
===> ECSA - EC-Council Certified Security Analyst
=====> ECSA - Official Course Modules v1.2
=====> ECSA / LPT - Official Course Modules v3
===> OSCP - Offensive Security Certified Professional
===> GPEN - GIAC Certified Penetration Tester
=> Forensics
===> CCE / MCCE - (Master) Certified Computer Examiner
===> CHFI - Computer Hacking Forensic Investigator
=====> CHFI - Official Course Modules v2
===> EnCE - EnCase® Certified Examiner
=> Incident Response
===> CSIH - Computer Security Incident Handler
===> GCIH - GIAC Certified Incident Handler
=> Hardware
=> Malware
=> 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
=> Gates
=> Heffner
=> Hoffman
=> RichM
=> Murray
=> J. Peltier
=> 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
-----------------------------
Resources
-----------------------------
=> Career Central
===> Looking For Work
===> Looking To Hire
=> Links to cool sites.
=> Mass Media
=> News from the Outside World
=> Tools
=> Tutorials
Loading...
Sponsors
Polls
How many security events including conferences and training do you attend a year:
1 - 2
3 - 4
5 - 6
7+
None - But want to
None - Choose not to
Support EH-Net
Support EH-Net by
Buying all of your
Amazon items using
the search bar above.
Try CBT Nuggets Free!
Recent Forum Topics
Other
: Insanity?
(5) by
jason
Other
: Fedora Hits the 10 Spot
(0) by
don
Other
: FreeBSD 7.1 Released
(0) by
don
Other
: Windows 7 Beta Available Tomorrow
(0) by
don
OSCP - Offensive Security Certified Professional
: Next Up OSCP101 v2.0
(39) by
don
OSCP - Offensive Security Certified Professional
: Offensive Security Releases Sample Pen Testing Report
(0) by
don
Book Reviews
: Need a book suggestion!
(4) by
don
Web Applications
: Determine URL from IP address
(2) by
BillV
Malware
: uninstall trend mciro officescan clients
(1) by
adamj
Tools
: Core Impact Essentials
(0) by
sgt_mjc
News from the Outside World
: Google branching out a little further...
(3) by
jason
Physical Security
: Magnetic stripe card spoofing
(5) by
jason
Gates
: Oracle version module for metasploit
(3) by
RoleReversal
Malware
: THe website is Evil but what to do??
(3) by
NickFnord
CEH - Certified Ethical Hacker
: Helow... help some tutorials...
(7) by
K3lV1n
CEH - Certified Ethical Hacker
: CEH is a scam
(20) by
K3lV1n
Mass Media
: Daniel Suarez Interview
(9) by
blackazarro
Malware
: Security Forecast for 2009
(5) by
jason
News from the Outside World
: Is this acceptable?
(9) by
jason
Wireless
: Wireless Pen Testing Cards
(6) by
jason
Oct 2008 - Scooby Doo and the Crypto Caper
: Skillz October 08 Winning Entry - Technical
(1) by
jason
Book Reviews
: [Article]-Mitnick - The Art Of Intrusion: Ch 1 - Hacking The Casinos For A Million Bu...
(5) by
jason
Links to cool sites.
: Free Computer Engineering Classes From Stanford
(3) by
jason
Oct 2008 - Scooby Doo and the Crypto Caper
: Skillz October 08 Winning Entry - Creative
(1) by
jason
Oct 2008 - Scooby Doo and the Crypto Caper
: [Article]-Scooby Doo and the Crypto Caper - Answers and Winners
(2) by
jason
News Items and General Discussion About EH-Net
: [Article]-Jan 2009 Free Giveaway Sponsor - Black Hat DC
(1) by
jason
News Items and General Discussion About EH-Net
: EH-Net Milestone - 2 Articles Cross 1 Million Page Views
(3) by
BillV
Other
: What kind of lab, machines you have for your security testing?
(12) by
charlottebandit
Malware
: Network Virus Problem
(9) by
RoleReversal
Wireless
: WUSB600N good usb ?
(2) by
nap191
Other
: FBI code cracking challenge
(3) by
jimbob
Calendar Of Events
: RSA 2009
(0) by
don
Forensics
: Network Forensic tools/practice/techniques
(2) by
jimbob
Malware
: Autoplay when i try to open the drive.
(4) by
jimbob
CEH - Certified Ethical Hacker
: Any Practice Environment for learning tool for CEH?
(15) by
don
Wireless
: a petri-dish bridge
(2) by
don
CEH - Certified Ethical Hacker
: TFTP Tranfer time out
(5) by
jason
Tools
: tool to trace users
(8) by
pseud0
Malware
: Malware Challenge 2008 Analysis
(0) by
blackazarro
Programming
: Python 3.0 Released
(0) by
don
Vote For EH-Net
progenic.com
binarica.com
technorati fave
Privacy Notice
for TDCC & All Properties
© 2009 The Ethical Hacker Network
Joomla!
is Free Software released under the GNU/GPL License.