#47934 - 03/09/09 04:02 AM
Re: CC+ TO LEARN
[Re: Gremelin]
|
Joined: Mar 2009
Posts: 3
pete
UGN Newbie
|
UGN Newbie
Joined: Mar 2009
Posts: 3
53º 35' N, 005º 55' W
|
gizmo i have just got the post,
could i ask in what ways does cc+ affect the ability to hack and what sort of situations could i ask would it resolve
everyone i would like to say thankyou for all replys to my posts and taking the time to do so as i know that you could maybe be doing better things so agian thankyou and i do wish you a very good day...............................thankyou
|
|
|
#47955 - 03/11/09 12:55 PM
Re: CC+ TO LEARN
[Re: Gremelin]
|
Joined: May 2006
Posts: 2
hack911
UGN Newbie
|
UGN Newbie
Joined: May 2006
Posts: 2
china
|
build a knowledge base to store what you learn. more learn,more think,more do.
no pay,no gain
|
|
|
#49794 - 12/04/09 03:01 AM
Re: CC+ TO LEARN
[Re: hack911]
|
Joined: Mar 2002
Posts: 256
ninjaneo
UGN Security Staff
|
UGN Security Staff

Joined: Mar 2002
Posts: 256
Likes: 1
CA, USA
|
Yeah programming requires a lot of knowledge of the "inner workings" of computers, and the software that runs on them. Hackers take advantage of this knowledge and do what they can. A good network admin would have an understanding of how hackers exploit software running on a network to take advantage of it, and then try to prevent it, but hackers will always prevail so programming custom utilities to do backups or maintenance is definitely a plus. If you're decent at math, programming will come naturally to you. You just have to get over that fear of learning something new and dive into your first "Hello World" application. Good luck. I'm trying to be more active on the forums, so if you have any specific questions, feel free to post. I always like to look at the example source, and learn from that... and as far as network tech, "socket programming" is important, and I assume you've read the IP/TCP/UDP/ICMP/DNS (and any other applicable) RFC's? If not here is the IP protocol to start: http://www.faqs.org/rfcs/rfc791.htmlI highly recommend you learn C not C++, C++ is C with added bull [censored], that just leads to crappy programming. If you do it in C, and you thought it through, you'll not only have a better understanding of what is going on, but better control of your program too. and I always like reading about the language itself first: http://en.wikipedia.org/wiki/C_(programming_language)
Last edited by ninjaneo; 12/04/09 03:04 AM.
|
|
|
#49815 - 12/04/09 04:15 PM
Re: CC+ TO LEARN
[Re: Gremelin]
|
Joined: Dec 2005
Posts: 39
LeviMrJeans
UGN Newbie
|
UGN Newbie

Joined: Dec 2005
Posts: 39
colorado
|
I've heard it is good to learn c++ before c, I've been reading books on both... I'm new to computer programming still, I've been trying Python and VB C++, I'd like to do something with audio file editing, as well as database editing i.e. taking a bunch of files from a several file trees and move them all at somewhere at once... (on second thought I think windows does that...ehm...ok next program) or make something that allows me to compare the contents of many branches of a file tree and replace them based on size, date modified and name.
I have a problem whenever I back up files from my laptop to an external hard drive; I usually select everything I want to back up (audio files, pictures, video, text) and move it over to the external hard drive. Problem is I don't want to build up duplicates of files I've moved or make copies of copies of copies (iTunes has killed me on this... ::groan::), or most importantly, replace files that have the same name but may be a different file (those "untitled" documents for example). Whenever I transfer the files, I usually tell the computer to replace whatever it finds. I'm uncomfortable doing it this way, but otherwise I have to tell it not to replace every single duplicate file (of which there are thousands).
Chopping beats since 1999.
|
|
|
#49818 - 12/04/09 10:26 PM
Re: CC+ TO LEARN
[Re: LeviMrJeans]
|
Joined: Mar 2002
Posts: 256
ninjaneo
UGN Security Staff
|
UGN Security Staff

Joined: Mar 2002
Posts: 256
Likes: 1
CA, USA
|
Well, The reason I suggest learning C is because it uses "real" data types. Whereas C++ has all this bullshit like strings, which lead beginning programmers to believe there is such a datatype... And there is not. So thats why, imo, I suggest learning C. As for audio programming, that can be pretty complex depending on the file format you want to edit. What exactly were you trying to 'edit'? (File format, and what about the file?) For your backup program, I suggest performing a checksum on the files, and you can compare the checksum, and normally files will not 'collide' and you can tell if they are different files by comparing the sums. Modified/accessed dates can be altered/invalid/missing/etc. And not all "edits" will increase the file size either. Although once you find that the file is indeed different those might be handy to look at if available. See http://msdn.microsoft.com/en-us/library/ms724320(VS.85).aspx for more information on how to call GetFileTime. Also, you don't need to choose a strong checksum that can be slower to calculate -- CRC should be good enough.
|
|
|
#49825 - 12/05/09 12:50 AM
Re: CC+ TO LEARN
[Re: ninjaneo]
|
Joined: Dec 2005
Posts: 39
LeviMrJeans
UGN Newbie
|
UGN Newbie

Joined: Dec 2005
Posts: 39
colorado
|
It would be wave files, although it would be nice to be flexible enough to support others such as aiff, mp3, mp4, acc, ogg, flac, wma. Primarily though, all I need to edit is wave files.
They could be song length files or files only about >0-30 secs at least 44.1kHz 16bit stereo.
Last edited by LeviMrJeans; 12/05/09 12:57 AM.
Chopping beats since 1999.
|
|
|
#49829 - 12/05/09 02:54 AM
Re: CC+ TO LEARN
[Re: LeviMrJeans]
|
Joined: Mar 2002
Posts: 256
ninjaneo
UGN Security Staff
|
UGN Security Staff

Joined: Mar 2002
Posts: 256
Likes: 1
CA, USA
|
Ok, I've never actually gone as far to read the sound data from an mp3, But I did learn enough about the MPEG specification to read an mp3 frame by frame, and identify information about the stream such as bitrate, sample length, the compressed sound-data. This allowed me to calculate things like the average bitrate of the mp3 and I also read about some of the metadata associated with them such as ID3(v1/1.1/2) tags and the XING header.... So I can tell you about all that stuff if you're interested; but what it sounds like to me is you want to decode the data itself so that you can alter the sample and make some beats  . I really recommend using someone elses library for reading the sound files there is too many varieties of formats. Even a wav file is just a container, its just convention to use LPCM data, but not required... So you'd have to support "hundreds" of different codecs etc. Whereas if you used say libsnd file, you can read N frames and it will always give you a standardized output, much easier to work with. You still get to combine the samples and tweak them with your code. I skimmed over http://www.tactilemedia.com/info/MCI_Control_Info.html looked like it had everything you'd need to know to get to work. I'm teaching myself guitar, so I do have an interest in music theory and stuff if you want to collaborate on the effects themselves, I might be able to pull some calculus out of my [censored]. Check out http://en.wikipedia.org/wiki/Pulse-code_modulation too
Last edited by ninjaneo; 12/05/09 03:00 AM.
|
|
|
#49840 - 12/06/09 10:03 PM
Re: CC+ TO LEARN
[Re: LeviMrJeans]
|
Joined: Mar 2002
Posts: 256
ninjaneo
UGN Security Staff
|
UGN Security Staff

Joined: Mar 2002
Posts: 256
Likes: 1
CA, USA
|
|
|
|
|
Forums41
Topics33,701
Posts68,795
Average Daily Posts0
|
Members2,173
Most Online1,567 Apr 25th, 2010
|
|
|
Okay WTF?
by HenryMiring on 09/27/17 08:45 AM
|
|
|
|
|
|
|
|