"we don't need this code, i dont' nkwo what it does" infact ill remove it, *dellete*" "now computer "compile(he measn assemble)!" *pc crashes" "oh... god....shit...."
This is a good intro, I think it is worth dedicating some time to explain the difference between the Intel syntax and the other one.
I have made some superficial experiments with assembly code and for now I only know that Intel syntax is easier to read, but perhaps the other notation has some benefits?
Awesome thank you for this video :). I just started learning about assembly language in my computer systems course. This would help me understand it a bit.
You don't use any special function for that, you just open the executable file in binary, read, write mode using the fopen function and ... look for what you need to replace and replace it.
file_pointer = fopen("file.exe", "r+ b");
r+ : to open an existant file in read and write mode.
I didn't ignore your real question, I just assumed without reading carefully that you were talking about how to patch a program, but you were talking about how to program a "Trainer" which "changes parts of memory used by a game to for example gain more money, [weapons,] etc", I don't know where was my mind? I'll try to answer you in a future video, and if it won't fit in 10 minutes I'll send you the source code of the "trainer" I'll try to write! OK?
i have make some trainers with C with riteprocessmemory() etc but im writing more vb6 than C so i got a problem in C its not necessary to be something for games i just wanna find how to do it with C to change the assembly code in a memory adress i have done it with patch way but yea i wanna see how this can be with non-patch way and if i can inject some asm code more to the program without patch
you speak french? Parlez-vous Francias?
LilMJflex 1 week ago
thanks brother
cssaheel 5 months ago
ollydebug FTW!! =)
darkdan4ever 9 months ago
GCC -S option... soooo usefulll.... can make faster programs using this :)
71GA 11 months ago
This has been flagged as spam show
youtube.com/watch?v=TROnlvorhDs programming will be easy in the future.
supermatti78 1 year ago
This has been flagged as spam show
Cracking Guide For Newbie
Every basic things about cracking
cracking
patching
serial fishing
keygenning
change the xx to tt
hxxp://hotfile.com/dl/87537082/262fa07/Cracking_for_newbie_2010_translated.chm.html
renuka0111 1 year ago
lol
"we don't need this code, i dont' nkwo what it does" infact ill remove it, *dellete*" "now computer "compile(he measn assemble)!" *pc crashes" "oh... god....shit...."
happygamestvfun1 1 year ago
egh i hate ur voice
happygamestvfun1 1 year ago
u got sexy accent :)
Muhafaka 1 year ago 2
Does this mean that most programming languages usually translate to Assembly, or is this just for C?
Gr8gabe 1 year ago
@Gr8gabe all translate to machine code.
SNaRF66666666 1 year ago
Can you say why there is some unnecessary code in compiled C program?
thealeksass 2 years ago
"gcc -S -masm=intel file.c"
This generates a Intel syntaxe file. =)
eskizonet 2 years ago 7
This is a good intro, I think it is worth dedicating some time to explain the difference between the Intel syntax and the other one.
I have made some superficial experiments with assembly code and for now I only know that Intel syntax is easier to read, but perhaps the other notation has some benefits?
ralienpp 2 years ago
nice
VladimirVichfret 3 years ago
Awesome thank you for this video :). I just started learning about assembly language in my computer systems course. This would help me understand it a bit.
Entertainmentwf 3 years ago
Thanx dude, this helped me alot
Ronnieflip 3 years ago
how to change the assembly code in one memory adress using C??
lets say i got the adress 0x5412
and i wanna use nop(0x90)
im trying it with writeprocessmemory() but the program crash any solution??
DarkInjection 3 years ago
Hi,
You don't use any special function for that, you just open the executable file in binary, read, write mode using the fopen function and ... look for what you need to replace and replace it.
file_pointer = fopen("file.exe", "r+ b");
r+ : to open an existant file in read and write mode.
b : to open a file in binary mode.
youhakim 3 years ago
well can u give me an example?
i have try it with fopen,strstr and fputs but i cant make it work
DarkInjection 3 years ago
Ok, I've decided to make a video to demonstrate that, so stay tuned!
youhakim 3 years ago
wow :) thnx
DarkInjection 3 years ago
Oops! I didn't answer your question, did I?
I didn't ignore your real question, I just assumed without reading carefully that you were talking about how to patch a program, but you were talking about how to program a "Trainer" which "changes parts of memory used by a game to for example gain more money, [weapons,] etc", I don't know where was my mind? I'll try to answer you in a future video, and if it won't fit in 10 minutes I'll send you the source code of the "trainer" I'll try to write! OK?
youhakim 3 years ago
i have make some trainers with C with riteprocessmemory() etc but im writing more vb6 than C so i got a problem in C its not necessary to be something for games i just wanna find how to do it with C to change the assembly code in a memory adress i have done it with patch way but yea i wanna see how this can be with non-patch way and if i can inject some asm code more to the program without patch
DarkInjection 3 years ago
Gcc uses a line feed as the end of the line not a carriage return, line feed! it is Windows who uses carriage return, line feed.
Mac uses a carriage return.
sorry for the mistake!
youhakim 3 years ago
i like it...very simple
but only at&t syntax can we have?
DarkInjection 3 years ago
Thank you for taking time to leave a comment :)
You can generate if you want Intel syntax by adding the option -masm=intel when you compile the c code
gcc -S -masm=intel hello.c
Though gcc which relays on gas to do the assembling works natively with the AT&T syntax.
youhakim 3 years ago