Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 31 guests online
 
Advertisement

You are here: Home arrow Ethical Hacking Discussions and Related Certificationsarrow Programmingarrow I'm a noob, Heres some questions :p
EH-Net
May 25, 2013, 08:06:23 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: I'm a noob, Heres some questions :p  (Read 9927 times)
0 Members and 1 Guest are viewing this topic.
SuperSlug
Newbie
*
Offline Offline

Posts: 3


View Profile
« on: July 04, 2011, 02:33:57 AM »

As the title says, I'm new to programming and, well being a white hat and I have a few questions.

I am currently learning C++ through a variety of sources on and offline. Is this a good general language to know as well as one to use to be a white hat?

I intend to use it for basic things, as well as I said before besides white hatting.

I have heard many people mention Python, but I want to know if C++ can be used the same way, if that makes any sense.

any advice/personal experienced is encouraged, thank you in advance!
Logged
cd1zz
Recruiters
Hero Member
*
Offline Offline

Posts: 561


View Profile WWW
« Reply #1 on: July 04, 2011, 09:26:44 AM »

Are you trying to be an exploit developer? What are you trying to achieve exactly?
Logged

idr0p
Newbie
*
Offline Offline

Posts: 49


View Profile
« Reply #2 on: July 04, 2011, 02:48:30 PM »

I think C++ a good start to learn a compiler lang.. i would go into Python, C and Java after... maybe Ruby if you want to write Metasploit plugins.
Logged

GCIA GCIH GPEN GWAPT
Up Next: CISA CISSP
j0rDy
Hero Member
*****
Offline Offline

Posts: 590


View Profile
« Reply #3 on: July 05, 2011, 02:13:50 AM »

is this your first programming language ever? C++ is a good language to start with. remember that programming is a mindset, and the language you use just the syntax, so if you go from there to any of the languages idr0p mentions, if will be a lot easier. good luck and keep programming, its the only way to learn!
Logged

ISC2 Associate, CEH, ECSA, OSCP, OSWP

earning my stripes appears to be a road i must travel alone...with a little help of EH.net
dbest
Jr. Member
**
Offline Offline

Posts: 79


View Profile
« Reply #4 on: July 05, 2011, 02:55:29 AM »

Knowing the concepts of programming and learning one language certainly helps you move to another language quicker.
In Uni, our studies were focussed around C++. However that didn't stop me from writing a script in Perl to automate patch anaylsis in Solaris. I then moved to PHP (non-security related) and now am trying to understand Python.
So the bottom line is that, learn the language that you are and then its easier to move to another language by understanding their syntax.

You will notice that majority of exploits are developed in C.
Ruby is used to code exploits for Metasploit.
Any scripting language like Ruby, Perl, Python will help you automate few tasks.
Logged

CISM, CEH, CISA, ISO 27001 LA
cd1zz
Recruiters
Hero Member
*
Offline Offline

Posts: 561


View Profile WWW
« Reply #5 on: July 05, 2011, 08:11:48 AM »

@dbest - back in the day the majority were written in C but these days the most are written in perl, python and ruby. Look at exploit-db.com and see how many exploits are in C.
Logged

millwalll
Guest
« Reply #6 on: July 05, 2011, 12:43:55 PM »

I think it all depends on if you had any experience. My first language was
Vb then Java then bits PHP and C I recently went thought 30 videos on Python and once you got the basic down its pretty much across the board exactly the same.

C++ I would not start with this as I personally think its too confusing dealing with memory management and other stuff
Logged
SuperSlug
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #7 on: July 05, 2011, 03:35:10 PM »

Yes, this will be my first computer language for those who are wondering
Logged
mesho
Newbie
*
Offline Offline

Posts: 24


View Profile
« Reply #8 on: July 05, 2011, 09:05:25 PM »

never learn C++ because it's wortheless in the security area.

try to learn C you will understand Low Level concept better and more powerfull in dealing with memory than C++

after ending learning the C basics try to pick any script lang such as:
perl, python, ruby, and for sure i highly recommend Python you will know the reason by searching for the following keywords:
IDAPro, Immunity Debugger, Scapy

Thank you
Logged
dbest
Jr. Member
**
Offline Offline

Posts: 79


View Profile
« Reply #9 on: July 06, 2011, 06:54:47 AM »

@dbest - back in the day the majority were written in C but these days the most are written in perl, python and ruby. Look at exploit-db.com and see how many exploits are in C.

I have not looked at exploit-db.com of late. Apologize if I spread the wrong message.

Logged

CISM, CEH, CISA, ISO 27001 LA
millwalll
Guest
« Reply #10 on: July 06, 2011, 05:11:41 PM »

I would personally start off with Python as its very useful and quick and easy without having to worry to much about the code. There was a good book going about on python called hello world there are lots good links and videos about on python.

There some links to tutorials on my page It easy to paste my link then relink it all

http://www.jamierougive.co.uk/tutorials.html
Logged
SuperSlug
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #11 on: July 07, 2011, 01:29:38 PM »

I think I am going to learn C++ for now, since I have already started. I want to learn the basics of programming first before anything else happens. I will then go into Python and see what happens from there. Does this sound like a good idea?
Logged
WCNA
Full Member
***
Offline Offline

Posts: 187



View Profile
« Reply #12 on: July 08, 2011, 10:01:23 AM »

Sure. Why not? It never hurts to learn. I personally would skip the C++ and go straight to python but that's me. I hate programming. If the C++ course is just the basics of programming and you know little about it, it's a good idea.
Logged

ISC2 Associate, WCNA, CWNA, OSCP, Network+
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.068 seconds with 24 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
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:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Advertisement

© 2013 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.