New answers tagged c
It probably helps a little, raising the bar and requiring a more sophisticated attack, but I wouldn't hang my security hat on this. The better way to think about it is that, in the worst case, they have the ability to add arbitrary code to your program. They can do anything that C code can do, including read/writes to files on your filesystem (ie reading ...
Yes, you can brute force this rather quickly, but in case you are curious, you don't need to brute force this entire solution. There is a mathematical approach. You might even require pieces of this anyway since this seems to be a hashing algorithm and not an encryption algorithm (I.e. it is not reliably reversible). Does it make you curious that a ...
A few hints: The letters in the key are likely to be within the ASCII printable range. The decoded text is likely within the ASCII printable range. It's not very hard to bruteforce a 32-bit number, even less hard if you can reduce the key space down.
In gdb the memory map is different, so when you run the program the buffer overflow "does not work" like you wanted.
Top 50 recent answers are included