Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - zendk

Pages: [1]
1
C - C++ / Re: What does this code
« on: October 08, 2015, 01:36:00 pm »
Are you new to C++ programming?
Yes.
They created a file mapping called WhatTheFile.
You can take advantage of any language and map to that same file to read or write what's in it.

The function that you're probably trying to cause an exception in is itoa(v3, DstBuf, 10);
This puts the number in v3 (1) into DstBuf and converts it to a string in Base 10 format.

The file mapping to CreateFileMapping is only accessing 256 bytes.
If you map to the file and write past this, you will overwrite the value of v3, which means you can put a string in it and make it crash on itoa.
Thank you very much for your time. And still - WHAT is written in this file? And if i can map to that same file to read or write, how can this be done?

Thanks for the help! :)

2
C - C++ / Re: What does this code
« on: October 07, 2015, 08:45:30 pm »
Thank you for your feedback!

All I need is to understand what makes this program.

There was a suspicion that it simply records the number 32 into the variable DstBuf, but it turned out that this is not the right answer.

P.S. By the way, if something goes wrong in the program and stop the cycle, it will print to the console any appropriate inscription.
P.P.S. As I understand the cycle stops every 1600 seconds ...wath line 100

3
C - C++ / What does this code
« on: October 07, 2015, 08:07:29 pm »
Hi!
I am trying to crack the program. The point is that when you run creates shared memory area, and is written to some information. It is necessary to know what is written there.

There is only .exe
With the help of IDA I have translated the program in pseudo-code, but now I can not fully understand what the code does.

I am hope for your help :)

Pages: [1]