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 online
You are here:
Home
Ethical Hacking Discussions and Related Certifications
Programming
Studying computer networking at uni need some advice
EH-Net
May 26, 2013, 02:26:12 AM
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
) >
Studying computer networking at uni need some advice
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Studying computer networking at uni need some advice (Read 3791 times)
0 Members and 1 Guest are viewing this topic.
uperkurk
Newbie
Offline
Posts: 13
Studying computer networking at uni need some advice
«
on:
September 21, 2011, 09:38:10 PM »
Hello all, im starting my computer networking degree at uni in october and it does have some C++ moduels but not that much. I want to learn C++ in my spare time at uni because I think it will greatly benefit me later down the line when I try to get a job.
I have looked at the source code some programs written in C++ before such as tic tac toe game and a keylogger and I just think "how will I ever learn what this crap means" lol.
I dont see how its possible to remember so much syntax and remembering when it would be used and why.
I would like to know from you professionals did you literally learn by doing these small tutorials and then thinking "Let me see if I can do this or change that and see what happens"
Downloading open source programs, reading them, changing them and getting them to do slightly different things?
I really want to learn but I think the most important thing is finding a good book or online website because if im learning stuff but not really making a program then ill lose intrest fast. What do you recomend?
Thanks guys.
Logged
hayabusa
Hero Member
Offline
Posts: 1633
Re: Studying computer networking at uni need some advice
«
Reply #1 on:
September 22, 2011, 07:53:41 AM »
When I started learning programming, it was self-taught, by trial and error, and, as you said, looking at others' code, figuring out what it was doing, how I could fix bugs or tweak it, etc. Later, I formally took Perl and other classes, to get more 'foundational' knowledge.
Most languages, nowadays, I pick up books and learn on my own, as aside of differing constructs, and some terminology, the underlying principles are the same, and you just need to learn how ABC language does things in comparison to XYZ language.
HTH,
Logged
~ hayabusa ~
"All men can see these tactics whereby I conquer, but what none can see is the strategy out of which victory is evolved." - Sun Tzu, 'The Art of War'
OSCE, OSCP , GPEN, C|EH
uperkurk
Newbie
Offline
Posts: 13
Re: Studying computer networking at uni need some advice
«
Reply #2 on:
September 22, 2011, 09:03:21 AM »
Thnx hayabusa. How long roughly from when you first made your hello world program or picked up your first book to you make a meaninful program that actually had a purpose?
Can you tell me what this program was please. Sorry for all the questions.
Logged
3xban
Hero Member
Offline
Posts: 608
Re: Studying computer networking at uni need some advice
«
Reply #3 on:
September 22, 2011, 10:26:05 AM »
I doubt that anyone really memorizes all the syntax, unless they do nothing but code and in some cases they are not always coding in the same language. But like hayabusa said, its the general principles that we must learn and the basics of what each language entails.
Think of it like an actual speaking language. Latin is the basis of most Western European languages. Spanish, French, English. Thought they are all different, much of their base is Latin and the initial principles are the same. They sometimes even share the same words or variations of words.
Thanks to some intro programming courses I am able to at least read through some code and understand what some of it is doing. At that point its just a matter of learning a bit more. Best bet is to learn a language that may assist you in future tasks. Scripting is used quite often so if you look to PERL or Python to start, that might work. From Python you can branch into Ruby which is supposedly a bit easier and is used quite a bit in Metasploit.
Logged
Certs: GCWN
(@)Dewser
rance
Full Member
Offline
Posts: 212
<censored>
Re: Studying computer networking at uni need some advice
«
Reply #4 on:
September 22, 2011, 11:22:18 AM »
For the new coder with no experience, the "hello world" tutorials will certainly show you the construct of programming, and how to accomplish tasks in the language you've chosen. I find that that gets boring after a while. And when you start getting in to other languages, you're going to find that things like, oh, an array is an array, a variable is a variable, etc, regardless if it's perl or php. You might be able to work with the array differently with the languages, but it's all the same in theory.
The best way I've found to learn programming is to have a goal in mind. You want to write something to parse some flat-file DB info, you want to scan stuff, whatever. I find if I have a goal in mind, I can start coding toward that goal, and as I need help, then I'll refer to online references or programming books. As opposed to just going page by page through a book (boring), and coding in the "hello world" examples (boring), I find working towards a specific goal is much more invigorating, more brain power required, and by being faced with challenges/problems, you're more apt to remember what you learn as you work through the discovery/problem solving steps.
My two pennies worth, anyway...
Logged
Poking at security since 1986. +++ATH
uperkurk
Newbie
Offline
Posts: 13
Re: Studying computer networking at uni need some advice
«
Reply #5 on:
September 22, 2011, 11:52:36 AM »
Thanks rance. My only problem is I dont really have a goal I cant think or a program thats small enough to be doable but still meaningful. I think maybe small games is the first step like tic tac toe or a simple game where you have the slider at the bottom and have to rebound the ball and keep it going as the ball gets faster....
Then something alittle more complex like a tetris game or something. I would also like to learn a scripting language that is used to exploit a weakness in a website. Maybe javascript or something? I'm not so sure though..
Logged
eth3real
Sr. Member
Offline
Posts: 309
Re: Studying computer networking at uni need some advice
«
Reply #6 on:
September 22, 2011, 12:03:08 PM »
I took one programming course years ago, Intro to Computer Programming. The language was VB.NET, and since I already had a job programming, it was mostly useless to me. However, every time I try a new programming language, I still run through the exercises we did in that class, even though they were pretty basic.
I would recommend finding a set of programming exercises, maybe in an old text book, and see if you can perform them in the new language. The reason it helps so much is that the exercise is giving you a goal, and they usually won't take that long. Since my old programming book is VB.NET, the code examples are irrelevant if I'm using a new language, like Python or C++. This is also a good thing, because it will force me to start looking for things on Google, instead of handing me all the answers if I get stuck.
Logged
Put that in your pipe and grep it!
3xban
Hero Member
Offline
Posts: 608
Re: Studying computer networking at uni need some advice
«
Reply #7 on:
September 23, 2011, 09:32:13 AM »
I am trying to strengthen my knowledge of Python and have looked at 3 different books. The freebie online ones:
Dive into Python
and
Learning Python the Hard Way
as well as
Beginning Python: Novice to Professional
.
I started with Beginning Python and was getting frustrated with the differences in code, they released the Python 3 edition before Py3 was officially released so there are numerous code mistakes right in the beginning. Also it went over all the principles and standard functions of Python, which I found helpful, but not enough to keep me interested.
At this point I will probably focus on Dive into and The Hard way. Dive into has the most accurate information on both the 2.6/7 versions as well as 3 and they kick it off with a small python script and break it down per section to explain things. The Hard way is basically a number of excercises to get you comfortable with programming but not overload you with the different functions and modules of Python, at least early on. And it emphasizes that YOU MUST TYPE OUT EVERYTHING... DO NOT COPY/PASTE!!! Once you work through all the excercises and extra credit it then recommends to go back to some of the other books to learn more advanced stuff. So far I like the setup of this one.
Logged
Certs: GCWN
(@)Dewser
uperkurk
Newbie
Offline
Posts: 13
Re: Studying computer networking at uni need some advice
«
Reply #8 on:
September 23, 2011, 02:30:22 PM »
Thanks 3xban, I heard python is great for new comers but I dont want to confuse myself with learning python just yet because my uni course had some programming modules but there all C++
I did some C++ before and learnt about if statements, functions, classes and some other stuff but didnt really understand what it was doing, I was just typing out what I saw on the youtube videos
This was about 4 years ago so I have forgotten it all but im sure it will come back to me. I may give python a shot though.
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
OSCP - Offensive Security Certified Professional
: Failed my first attempt at the OSCP exam
(95) by
zeebee
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
© 2013 The Ethical Hacker Network
Joomla!
is Free Software released under the GNU/GPL License.