pgarba / UniPE

UNIPE - A small framwork to execute PE files with UniCorn
44 stars 14 forks source link

sample file? #1

Open junkoi opened 6 years ago

junkoi commented 6 years ago

hi,

would you please put up the sample file "g:/Cracking/UnicornBasedAttacks/UniTest/Release/UniTest.exe", together with its source code, so i can play with your tool?

thanks for this nice work!

pgarba commented 6 years ago

Hi,

You can easily create it yourself. Just create a new visual studio console application and compile it as Release.

I got some more code ready for UniPE that is more stable and supports some real world applications (like Multithreading) but I want to implement some more things before I commit it.

Peter

junkoi commented 6 years ago

something like this, or more complicated?

#include <stdio.h>

int main()
{
    printf("hello world\n");
}
junkoi commented 6 years ago

i cannot compile this due to missing static library (unicorn_static.lib). i tried to get the libraries from Unicorn website, but still cannot fix this.

could you also put all the dependencies up, to make it easier to build?

pgarba commented 6 years ago

You need to compile the Unicorn engine from the repo

junkoi commented 6 years ago

can you explain exactly where to put the header files, and library file, so VS can compile?

(would be great if all these dependencies are coming together with your code, so people dont need to go extra miles just to build)

junkoi commented 6 years ago

any hints, please?