All Questions
Tagged with patch-reversing c
4 questions
1
vote
1
answer
1k
views
Patching branch on assembly code
I compile this code
1. #include <stdio.h>
2. void F(int a, int b)
3. {
4. int c= a+b;
5. int d= a*b;
6. }
7. void printAll()
8. {
9. printf("test1");
10. printf("test2");
11. ...
4
votes
2
answers
3k
views
Inverse And operation
I'm trying to write a keygen to a crack me that I'm learning from and I got stuck. What happens there is pretty simple:
Let's say that I entered the password: "12121212"
XOR DWORD PTR DS:[ECX+EAX],...
1
vote
1
answer
968
views
Assembly and C++
I'm trying to learn Reverse Engineering, at this time I compile C++ code without any optimization and see the correspond assembly in IDA's disassembler, but there are some parts of the code, where I ...
2
votes
1
answer
693
views
How do I find a collision for a simple hash algorithm
I have the following hash algorithm:
unsigned long specialNum=0x4E67C6A7;
unsigned int ch;
char inputVal[]=" AAPB2GXG";
for(int i=0;i<strlen(inputVal);i++)
...