Author Topic: Which language? (more specific than your typical question..)  (Read 3013 times)

0 Members and 1 Guest are viewing this topic.

Offline silenthunder

  • Royal Highness
  • ****
  • Posts: 700
  • Cookies: 23
  • Anpan.
    • View Profile
As some of you might remember, I'll be trying to get a government security job that deals mostly with computers, like a job in computer forensics. My brother found a type of "course" or "job shadowing" opportunity that I can take under his branch of the government (homeland security). He works for ICE and said that they are in desperate need of people like me.

I pass almost all of the requirements for the course, and will pass all of them but one by the time I can apply for it. That one would be "basic knowledge of a programming language." I don't know anything about any of them.. Now based on this information, what programming language should I go for? I'll probably need a stable, powerful one that isn't too complicated. I figured python might be ok, but I'm not so sure it'll be able to do the job all the time.


"Hacking is a lifestyle, a specific mindset, and it really is a lot of work." - Daemon

"Just wanted to state that this is just wicked social engineering at its best." - proxx

Offline 3vilp4wn

  • Serf
  • *
  • Posts: 46
  • Cookies: 11
  • :D
    • View Profile
    • Evil Ninja Hackers
Re: Which language? (more specific than your typical question..)
« Reply #1 on: May 17, 2013, 10:54:34 pm »
C++, Python, and PHP are the ones I would recommend, I'll go into brief about what they're usually used for:

C++: Speed, gives you a lot of control, but more complicated and lower level.
Python: Slower, but better for high level stuff, can be used for the web (server side) or downloadable.
PHP: Used on the web, Server side, most websites use PHP or ASP in some way.

I recommend Python to start off with, as it will introduce you to programing in a very simple way before you need to start worrying about pointers and shit like that.  If you want to make websites, you will basically *have* to learn PHP to make dynamic content.

Of course, that's just a basic intro, once you learn about 2 to 3 languages, it's easy to learn more, because it's just a matter of syntax.

Good luck!
Shooting is not  too good for my enemies.

Offline vezzy

  • Royal Highness
  • ****
  • Posts: 771
  • Cookies: 172
    • View Profile
Re: Which language? (more specific than your typical question..)
« Reply #2 on: May 17, 2013, 11:41:35 pm »
The requirement is really vague. Just what do they consider "basic" knowledge?

For computer forensics and security though, a high-level programming language (especially an interpeted and scripting one) does wonders, so Python is a very good bet. I suppose you would need some knowledge of memory management and data structures though, which is where C is needed.

PHP for the web, indeed, but unless you have to actually analyze insecure web coding and vulnerabilities, you can handle dynamic website functionality with a framework in any other language (Python included, with Django, TurboGears, web.py, etc.)
Quote from: Dippy hippy
Just brushing though. I will be semi active mainly came to find a HQ botnet, like THOR or just any p2p botnet

Offline s3my0n

  • Knight
  • **
  • Posts: 276
  • Cookies: 58
    • View Profile
    • ::1
Re: Which language? (more specific than your typical question..)
« Reply #3 on: May 18, 2013, 07:37:56 am »
Just learn C, it's not that hard.. Lots of introductory programming courses use C.
Easter egg in all *nix systems: E(){ E|E& };E

Offline rasenove

  • Baron
  • ****
  • Posts: 950
  • Cookies: 53
  • ಠ_ಠ
    • View Profile
Re: Which language? (more specific than your typical question..)
« Reply #4 on: May 18, 2013, 08:23:44 am »
Python would be easy for anyone to learn. C++ on the other hand is a language with a big syntax (i doubt there is any programing concept Bjarne Stroustrup didnt like) so it will give you much deeper understanding of some important programing concepts.

@ 3vilp4wn: C++ has high level language features too.
My secrets have secrets...

Offline namespace7

  • Sir
  • ***
  • Posts: 561
  • Cookies: 115
  • My Brother's Keeper
    • View Profile
Re: Which language? (more specific than your typical question..)
« Reply #5 on: May 18, 2013, 09:08:02 pm »
Just learn C, it's not that hard.. Lots of introductory programming courses use C.

This.

C is amazing universal language. And it looks MUCH more serious and better on a resume then Python. I am not saying python is bad. No. Its amazing. But for security you REALLY REALLY want to learn C.
C will take you very far. And for basic scripting need of course you can use bash scripts, or simple python stuff. If you know C, you will be able to pick up something like python in a few hours (I mean syntax, not python specific modules and functions/classes etc).

So yeah. Go ahead. Learn C. And practice practice practice.
"A programmer’s greatest enemy isn’t the tools or the boss or the artists or the design or the legacy code or the third party code or the API or the OS. A programmer’s greatest enemy is getting stuck.
Therefore a crucial step to becoming a better programmer is learning how to avoid getting stuck, to recognize when you’re stuck, and to get unstuck." -Jeff Wofford

Offline silenthunder

  • Royal Highness
  • ****
  • Posts: 700
  • Cookies: 23
  • Anpan.
    • View Profile
Re: Which language? (more specific than your typical question..)
« Reply #6 on: May 19, 2013, 03:13:41 am »
Sounds like C would be the best choice here.. I have to be enrolled in a 2 year college for this program and the college only offers 2 programming courses: Basic/Visual Basic and C++/Visual C++. Is C++ too different from C? I'll start learning C before I take the class but I want to know which class would better coordinate with C, because I need to take at least 1 class as proof that I know something lol.


"Hacking is a lifestyle, a specific mindset, and it really is a lot of work." - Daemon

"Just wanted to state that this is just wicked social engineering at its best." - proxx

Offline Zesh

  • Royal Highness
  • ****
  • Posts: 699
  • Cookies: 42
    • View Profile
Re: Which language? (more specific than your typical question..)
« Reply #7 on: May 19, 2013, 05:59:41 am »
but I want to know which class would better coordinate with C

The C++ class ofcourse. Its just C with two ++ :P

Offline rasenove

  • Baron
  • ****
  • Posts: 950
  • Cookies: 53
  • ಠ_ಠ
    • View Profile
Re: Which language? (more specific than your typical question..)
« Reply #8 on: May 19, 2013, 06:53:34 am »
Is C++ too different from C?
No. Theres a reason why c++ is called "c with classes", and that is what it says it is.
My secrets have secrets...

Offline namespace7

  • Sir
  • ***
  • Posts: 561
  • Cookies: 115
  • My Brother's Keeper
    • View Profile
Re: Which language? (more specific than your typical question..)
« Reply #9 on: May 19, 2013, 08:51:50 am »
Sounds like C would be the best choice here.. I have to be enrolled in a 2 year college for this program and the college only offers 2 programming courses: Basic/Visual Basic and C++/Visual C++. Is C++ too different from C? I'll start learning C before I take the class but I want to know which class would better coordinate with C, because I need to take at least 1 class as proof that I know something lol.

Cant you just learn C on your own?
And by the way, you can write in C within C++ to an extent, so C++ is a more wide language with more possibilities. Its more powerful for big application programming where classes and object oriented programming help out a lot.
But for studying Security course at uni, I would still learn C and not C++.
Just my opinion.
You could just get some books on it and learn by yourself.
"A programmer’s greatest enemy isn’t the tools or the boss or the artists or the design or the legacy code or the third party code or the API or the OS. A programmer’s greatest enemy is getting stuck.
Therefore a crucial step to becoming a better programmer is learning how to avoid getting stuck, to recognize when you’re stuck, and to get unstuck." -Jeff Wofford

Offline vezzy

  • Royal Highness
  • ****
  • Posts: 771
  • Cookies: 172
    • View Profile
Re: Which language? (more specific than your typical question..)
« Reply #10 on: May 19, 2013, 04:31:23 pm »
No. Theres a reason why c++ is called "c with classes", and that is what it says it is.

It was originally C with Classes, but it has greatly expanded in its own right since, which is why nowadays treating it so simply is considered bad practice.
Quote from: Dippy hippy
Just brushing though. I will be semi active mainly came to find a HQ botnet, like THOR or just any p2p botnet

Offline silenthunder

  • Royal Highness
  • ****
  • Posts: 700
  • Cookies: 23
  • Anpan.
    • View Profile
Re: Which language? (more specific than your typical question..)
« Reply #11 on: May 19, 2013, 04:34:45 pm »
Cant you just learn C on your own?
And by the way, you can write in C within C++ to an extent, so C++ is a more wide language with more possibilities. Its more powerful for big application programming where classes and object oriented programming help out a lot.
But for studying Security course at uni, I would still learn C and not C++.
Just my opinion.
You could just get some books on it and learn by yourself.

Well yeah, the plan was to learn C on my own, but it's required that you've taken a class on programming.


"Hacking is a lifestyle, a specific mindset, and it really is a lot of work." - Daemon

"Just wanted to state that this is just wicked social engineering at its best." - proxx

Offline namespace7

  • Sir
  • ***
  • Posts: 561
  • Cookies: 115
  • My Brother's Keeper
    • View Profile
Re: Which language? (more specific than your typical question..)
« Reply #12 on: May 19, 2013, 07:30:00 pm »
Well yeah, the plan was to learn C on my own, but it's required that you've taken a class on programming.

Oh I see.
You could do this free course:
https://www.udacity.com/course/cs046

It uses Java. Its free. Starts in june.
Most importantly it assumes no programming experience.
"A programmer’s greatest enemy isn’t the tools or the boss or the artists or the design or the legacy code or the third party code or the API or the OS. A programmer’s greatest enemy is getting stuck.
Therefore a crucial step to becoming a better programmer is learning how to avoid getting stuck, to recognize when you’re stuck, and to get unstuck." -Jeff Wofford

Offline silenthunder

  • Royal Highness
  • ****
  • Posts: 700
  • Cookies: 23
  • Anpan.
    • View Profile
Re: Which language? (more specific than your typical question..)
« Reply #13 on: May 20, 2013, 12:44:33 am »
Oh I see.
You could do this free course:
https://www.udacity.com/course/cs046

It uses Java. Its free. Starts in june.
Most importantly it assumes no programming experience.


Good reference, I just might take that course, however it won't help me out "academically". I'll take it so I can learn as much as possible, but it won't go on my college transcript will it? That's what the agency is looking at.. I don't mean to be all picky and shooting everything down, but that's how it is. I'll see if I can take that course anyways though, but I'll miss 2 weeks of it.

EDIT: Actually this looks like a good preliminary course to the C++ one I'll be taking.
« Last Edit: May 20, 2013, 12:46:00 am by silenthunder »


"Hacking is a lifestyle, a specific mindset, and it really is a lot of work." - Daemon

"Just wanted to state that this is just wicked social engineering at its best." - proxx

Offline namespace7

  • Sir
  • ***
  • Posts: 561
  • Cookies: 115
  • My Brother's Keeper
    • View Profile
Re: Which language? (more specific than your typical question..)
« Reply #14 on: May 20, 2013, 06:08:10 pm »
Good reference, I just might take that course, however it won't help me out "academically". I'll take it so I can learn as much as possible, but it won't go on my college transcript will it? That's what the agency is looking at.. I don't mean to be all picky and shooting everything down, but that's how it is. I'll see if I can take that course anyways though, but I'll miss 2 weeks of it.

EDIT: Actually this looks like a good preliminary course to the C++ one I'll be taking.

Yes, it will help academically. You get a few actual university credits for completing it. Of course if you want to get some credits for it you will have to pay some money, but its peanuts, like 150 bucks or something. If you dont need credits its free. In any case you can put it on your resume. It was designed by a reputable university even if its online.
"A programmer’s greatest enemy isn’t the tools or the boss or the artists or the design or the legacy code or the third party code or the API or the OS. A programmer’s greatest enemy is getting stuck.
Therefore a crucial step to becoming a better programmer is learning how to avoid getting stuck, to recognize when you’re stuck, and to get unstuck." -Jeff Wofford