Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-

learning more

Name: Anonymous 2011-10-17 3:24

Well, I'm learning C, but I have a few questions on where to go from there.

After I learn C I plan on becoming ASM literate at the very least.

But how do I learn more advanced things about linux and the way things all work together?

I want to get into computer security as an end-goal, but I would like to be on the research and development side of things, like code-auditing and malware reversing.

So what are some good resources for learning the internals of systems and debugging and shit?

General self teaching thread.

Name: Anonymous 2011-10-17 3:32

Linux isn't a very good OS.

Name: Anonymous 2011-10-17 3:35

>>2
Linux is just a kernel, not an OS.

Name: Anonymous 2011-10-17 3:35

>>2
I also yearn to know more about *bsd.

Name: Anonymous 2011-10-17 3:40

>>1
me too.
Right now I reverse engineer games to cheat and for fun. But I want to get into security type stuff with it. Idk where to look. But i do find game cheating good practice.

Name: Anonymous 2011-10-17 3:42

>>5
I'm not even knowledgeable enough to do that....

Throw me a bone!
Where/how did you learn to do that shit?

Name: Anonymous 2011-10-17 9:21

>>6
its really hard to find good assembly tutorials.
Here's how I did it:
-find a bunch of resources on cracking programs
-read through, do some "crackme"s and get an understanding of
How programs work and how you can manipulate them.
The same methods that are used crack a program can be used to cheat in a game.
 
Example:
Crack Photoshop - reverse it to bypass the registration process so you can get it for free.
Well do the same thing but for games.
Example:
Hack Battlefeild 3 - reverse it for infinite health so you can't die.

It's the exact same thing. Just cracking is illegal.

Name: Anonymous 2011-10-17 9:25

>>7
also
Try writing some simple programs and analze them in assembly.
Start with a hello world program(in a language of your choice), and see what stuff looks like and do more complex stuff as you go.

My favorite assembly tools are Ollydgb(free) and IDA Pro(not free).

Also
Try finding stuff on how to write programs directly in ASM rather than just editing premade programs.

Protip: Goolgle is your friend.

Name: Anonymous 2011-10-17 9:51

>>7
Why wont you write your own game instead?

Name: Anonymous 2011-10-17 9:54

>>9
Because he is reatarded nigger without game design skills. He can only steal from others - nigger's way.

Name: Anonymous 2011-10-17 10:10

>>9
write a game in assembly? Dumbass.

>>10
he's not stealing. He's editing.

Name: Anonymous 2011-10-17 10:16

>>11
Tell that to Chris Sawyer, you lame idiot!

Name: Anonymous 2011-10-17 20:34

>>7
op here, thanks for the links man!
I actually had been looking at crackmes a few days back.
I had a feeling that was where to start.

Thank you very much.

Name: Anonymous 2011-10-17 21:08

Any more resources?

Name: Anonymous 2011-10-18 4:31

read some CS theory books

Name: Anonymous 2011-10-18 16:41

>>15
such as?

Name: Anonymous 2011-10-18 16:58

>>16
The Art of CP.

Name: Anonymous 2011-10-19 5:23

>>17
More books please!

Thanks in advance.

Name: Anonymous 2011-10-19 5:43

SICP, obviously.

Name: Anonymous 2011-10-19 5:55

read the typeclassopedia

Name: Anonymous 2011-10-19 6:29

>>11,12
For those not in the know:
http://www.chrissawyergames.com/faq3.htm
What language was RollerCoaster Tycoon programmed in?
It's 99% written in x86 assembler/machine code (yes, really!), with a small amount of C code used to interface to MS Windows and DirectX.
ARE YOU A BAD ENOUGH DUDE TO WRITE A GAME IN ASSEMBLY?

Name: Anonymous 2011-10-19 6:42

>>21
machine code
What's the point? Any decent assembler should generate the best opcodes.

Name: Anonymous 2011-10-19 6:47

>>21
All C64 and NES games were written in assembly.

Name: Anonymous 2011-10-19 6:57

>>22
handcoded opcodes are obvious 2% faster VRx0x0M VRx0x0M.

Name: Anonymous 2011-10-19 9:48

>>21
Chris Sawyers games were also buggy and not patched.

>>23
Demonstrably untrue.

Name: Anonymous 2011-10-19 10:13

>>25
So Mario and Metroid used C++?

Name: Anonymous 2011-10-19 10:16

>>26
Yep! And they drew on screen through std:cout, while std:vector was used to hold tileset.

Name: Anonymous 2011-10-19 10:21

>>26
If you break out of Pirates! on the C64 you can see it's mostly BASIC with some machine language helper routines. Languages like Forth were pretty popular back then.

Name: Anonymous 2011-10-19 10:28

>>25
Chris Sawyers games were also buggy and not patched.
Not a single time TTD crashed for me, while I managed to crash Sim City 2000 and other games of it's time.

Name: Anonymous 2011-10-19 10:30

>>28
They probably used BASIC as a startup script.

Name: Anonymous 2011-10-19 10:38

>>30
Lolz go look for yourself. There's thousands of lines in there, it's all the main game logic (which is probably why it runs so slow).

Name: Anonymous 2011-10-19 10:40

>>29
Locomotion had all kinds of bugs, none of them were ever fixed.

Name: Anonymous 2011-10-19 11:18

>>31
But that is C64 and NES had too little memory for BASIC.

Name: Anonymous 2011-10-19 11:40

>>23
I think nintendo used C for N64 games, before that all assembly I guess

Name: Anonymous 2011-10-19 13:17

>>33
How much memory do you think is needed and what do you base that on? Regardless, the original claim was that all C64 and NES game were written in assembly, which is simply uninformed.

Someone with the free time could do a comprehensive survey of the games for those platforms and look for signs of generated code. I bet you'd find surprisingly many, at least outside the action games.

Name: Anonymous 2011-10-19 13:21

>>35
Yeah! Games like Action 52 surely use a lot of "generated code".

Name: Anonymous 2011-10-19 13:24

>>35
Someone with the free time could do a comprehensive survey of the games for those platforms and look for signs of generated code. I bet you'd find surprisingly many, at least outside the action games.
Just download one of these big ROM archives and use auto-analyzer on it. C++ generates a lot of garbage.

Name: Anonymous 2011-10-19 14:47

>>37
2/10

Name: Anonymous 2011-10-19 15:43

>>37
C++ generates a lot of garbage.
Which cannot be collected.

Name: Anonymous 2011-10-19 18:59

What's with all the "learning C" posts over the last few weeks?  C has no place on /prog/.

Name: Anonymous 2011-10-19 19:27

>>40
/g/ and reddit.

Name: Anonymous 2011-10-19 21:26

>>8
using Ollydgb [o]
disassemble a C "hello world" [o]
thousands  of ASM code, no clue where to even start [o]

Did i do something wrong or is there a easier way to this? I mean can't you tell the compiler to print the assembled code form your C code?

Name: Anonymous 2011-10-19 22:10

>>42
Did i do something wrong
You used too many [o] tags, and didn't close any of them.

Name: Anonymous 2011-10-19 22:10

quote
failure

Name: Anonymous 2011-10-19 22:11

use google
realize how to show assembly code generated from gcc
everythingwentbetterthanexpected.jpg

Name: Anonymous 2011-10-19 23:20

how do you do
multiline quoting

Name: Anonymous 2011-10-19 23:20

a
>> b

Name: Anonymous 2011-10-19 23:21

a
b

Name: Anonymous 2011-10-19 23:21

multiline \
quoting

Name: Anonymous 2011-10-19 23:22

a
b

Name: Anonymous 2011-10-19 23:22

a
b

Name: Anonymous 2011-10-19 23:23

multiquoting is done like


a[o]
[/o]b

Name: Anonymous 2011-10-19 23:32

> > > > > > > > > > > > > > > fuck off ``faggot''

Name: Anonymous 2011-10-19 23:48

l
o
l

Don't change these.
Name: Email:
Entire Thread Thread List