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 26 guests and 2 members online
Free Business and Tech Magazines and eBooks
You are here:
Home
Ethical Hacking Discussions and Related Certifications
Programming
Steps for The Ethical Hacker to learn programming
EH-Net
May 25, 2013, 10:44:49 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
) >
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 19347 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: 197
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
Guest
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: 49
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 +,
MCP/MCTS: Vista Config.
Work in progress: CEH
Currently Reading: Hacking-The Art Of Exploitation.
Recommended book: Counter Hack Reloaded.
Andrew Waite
Hero Member
Offline
Posts: 928
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
--
http://www.infosanity.co.uk
--
http://blog.infosanity.co.uk
cleanwithit0607
Newbie
Offline
Posts: 49
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 +,
MCP/MCTS: Vista Config.
Work in progress: CEH
Currently Reading: Hacking-The Art Of Exploitation.
Recommended book: Counter Hack Reloaded.
Kev
Sr. Member
Offline
Posts: 428
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
Andrew Waite
Hero Member
Offline
Posts: 928
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
--
http://www.infosanity.co.uk
--
http://blog.infosanity.co.uk
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
News Items and General Discussion About EH-Net
: Change is Coming to EH-Net!!
(30) by
don
Tools
: Symbolic Exploit Assistant project is looking for collaborators
(0) by
galapag0
Greetings
: Hi from the UK
(5) by
prats84
GCIH - GIAC Certified Incident Handler
: Passed my GCIH
(9) by
prats84
Network Pen Testing
: Want a challenge? Want a GXPN practice exam?
(0) by
ajohnson
GCIH - GIAC Certified Incident Handler
: GCIH Free Practice test attempt
(1) by
prats84
EH-Net News Feeds
Latest Additions
Privacy Notice
for TDCC & All Properties
Free Business and Tech Magazines and eBooks
© 2013 The Ethical Hacker Network
Joomla!
is Free Software released under the GNU/GPL License.