google-site-verification: googlebaca44933768a824.html Neferty src problem - Old Royal Hack Forum

Announcement

Collapse
No announcement yet.

Neferty src problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Neferty src problem

    Hi!
    I have problem.
    I can comping neferty source code but i got:

    EROR: Cannot open file detours.lib

    Can someone send detours.lib there?

    - Thanks

    #2
    google ftw!! you need detours 1.5

    Comment


      #3
      I find only detours.exe but how i can get detours.lib ? :(

      Comment


        #4
        Originally posted by monster666 View Post
        I find only detours.exe but how i can get detours.lib ? :(
        Your an idiot, Extract the files from the Exe to get your library files....

        Download Detours 1.5, Extract to Your C Drive into a folder called Detours (Or anywhere you want, but they must stay in the same place)

        You should have an include folder, a lib folder and various other stuff.

        In your IDE go to your options->Projects, and VC++ Directories, Then add the Detours/Include folder into the includes, and the Lib folder into the Library files

        Comment


          #5
          Here

          Comment


            #6
            you all make me laugh sry!

            just remove the #pragma shit who make the compiler search detour lib
            its not used in the src

            and why not just this for detours "when its used xD" ?!

            Code:
            //x32 & x64 tested
            void* DetourFunc(PBYTE src, const PBYTE dest,const int iSize,char* szErrorMessage )
            {    
                if( src[0] == 0xE9 )
                {
                    //put a message box or somwhat log
                    //to say its allready detoured 
                    //and you cant redetour it with this 
                    //phoenix_debug::add_log(szErrorMessage);
                    return NULL;
                }
                else
                {
                    unsigned char* jumpto    = new unsigned char[iSize + 5];
                    VirtualProtect( src, iSize, PAGE_EXECUTE_READWRITE,new unsigned long);
                    protected_memcpy(jumpto, src, iSize);
                    jumpto                            += iSize; 
                    jumpto[0]                        = 0xE9;
                    *(unsigned long*)(jumpto + 1)    = (unsigned long)( src + iSize - jumpto ) - 5;
                    src[0]                            = 0xE9;
                    *(unsigned long*)(src + 1)        = (unsigned long)( dest - src ) - 5;
                    //VirtualProtect(src,iSize,PAGE_EXECUTE_READWRITE,new unsigned long); 
                    return (void*)(jumpto - iSize);
                }
                return NULL;
            }






            gibs coins @
            1KatP9B8KG7mvcoFhdLGua1isG88nYZE8C

            Comment


              #7
              lol owned :P:1wub:

              Comment

              Working...
              X