Programming and Coding
Programming and coding tips, help and solutions...
1,894 topics in this forum
-
Hello, i need help in porting this code from asm to delphi ( i have tried inlining it but it does not produce the right result) @Test_00452510: movsx eax,byte ptr [esi+$050e858] // =======> $050e858 is pointing to an address in memory lea edx,[eax+esi+1] imul edx,ebx add ecx,edx mov eax,$07ccbfadf imul ecx sub edx,ecx sar edx,9 mov eax,edx shr eax,$01f add eax,edx imul eax,eax,$03e7 inc esi add ecx,eax cmp esi,edi jl @Test_00452510 the above code was ripped with code ripper plugin in olly.
-
I want to unload some module in a process . I use this function : bool UnInjectDll(const TCHAR* ptszDllFile, DWORD dwProcessId) { if (NULL == ptszDllFile || 0 == ::_tcslen(ptszDllFile)) { return false; } HANDLE hModuleSnap = INVALID_HANDLE_VALUE; HANDLE hProcess = NULL; HANDLE hThread = NULL; hModuleSnap = ::CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, dwProcessId); if (INVALID_HANDLE_VALUE == hModuleSnap) { return false; } MODULEENTRY32 me32; memset(&me32, 0, sizeof(MODULEENTRY32)); me32.dwSize = sizeof(MODULEENTRY32); if(FALSE == …
-
hello all, is it posssible to have in example a x64-bit file, adding a empty section to it and add 32 bit code to that section. so ie. project64.exe > addsection > add 32 bit to section > run project32.exe
-
hello i m lookin for a talented coder for a project that i want basically i need to automate the kik messenger application so i can autorespond to my cllients if anybody can do this please pm me and we talk some more abt fees .... thanks
-
i would like to achieve to get my transparent window over another, but dont want to lose z-order, so i need to force my hud to be always the 2nd in z-order (to be the top of a specific window). Is there a good workaround for this?
-
hello you i want to increase a dword value by 1. So using c++ to get a value of a pointer, and using inline asm to increase this value by one. so far it works. now i want to remove that inline asm, and increasing the value by one in c++ itself. but that doesn't work because somehow it increase the value by 4 instead of 1. working with inline asm DWORD *value = (DWORD*)(VAaddress); __asm{ inc value } not working in fully c++ DWORD *value = (DWORD*)(VAaddress); value++; and ideas?
-
Hello everyone. So in nowdays i am interested in protecting .NET executables and i would like to try to make my own obfuscator or tools for exploring them. For first steps, i downloaded Confuser & ConfuserEx sources for exploring them and trying to understand how every protection works for making my own then. It's hard to understand some things like antidump(Their code) opposite adding IL instructions or working with metadata. Sometimes i find some things like digital values and i cant understand where did author took them(Maybe in special tools). So the first question is what tool kit do you advise me for exploring .NET assemblies(I know about reflector or SAE or dnE…
-
Hi, Im trying to figure out how can i repaint a remote window in delphi easily, because if i make changes to the window, i always have to minimize and maximize it to take effect. (believe the paint message start going when i maximizing). Is there any workaround? I have read that i should use the invalidate function, but i dont have a clue how to do it on a specific window, outside delphi.
-
Hello everyone, For x64_dbg I had to create a pattern finder and mudlord asked me to extend it with a pattern search & replace ability. Example of usage: #include "patternfind.h"int main(int argc, char* argv[]){ unsigned char data[0x100]; memcpy(data, main, sizeof(data)); //find pattern offset size_t found = patternfind(data, sizeof(data), "68 ?? ?1 0? 00"); printf("found: main+%p\n", found); if(found==-1) //not found return 0; //print current data for(int i=0; i<5; i++) printf("%.2X ", data[found+i]); puts(""); //search & replace if(!patternsnr(data, sizeof(data), "68 ?? ?1 0? 00", "?? ?1 1? 21 23")) return…
-
hey! i have my 'detour drawtext hook' dll injected to a process with my custom injector. i would like to achieve IPC or WM_COPYDATA style data passing between them. i can send messages from my application to the dll, but cannot communicate back. im also not sure which should be the client or server. What would be the easiest and best way to get this task done? thanks very much in advance:)
-
Hi all. I have bougth recently a C++ book where i have a CD with Turbo C++ Lite (the book is written by Dr. Kris Jamsa & Lars Klander). I don't want to use this compiler on CD. I want to use a new interface for coding (the one on CD is MS-DOS fashion). What do you recommend me? Example code: #include <studio.h> void main(void) { printf ("All about C/C++"); }
-
Hi, Im looking for a delphi hook source which could spy DrawTextW messages from user32.dll and store it in file or write on memo real time for ages without success! Is there anyone with better skills for hooking and stuff? Thank you:) https://code.google.com/p/delphi-detours-library/ this is what i tried to use, compiled a DLL, and tried injecting with extreme injector or xploded security injector, but after injection the remote process stops working (crashes). i have no idea.
-
Hello tuts4you, According to this source, I created a program which executes the windows regedit.exe ( it can be any file you want ), using NtCreateProcess. The process is indeed created without any errors, but that process is never executed... Is there anyone who does know why? Project.rar
-
Hello guys,I'm studying the Video Bios and the Vesa standards My aim is trying to figure out how this guy has reversed and forced the X550 Ati video card to work (in native mode) with other video resolutions and specially with other Hsync freq. (in order to use with the old Arcade monitors): http://tinyurl.com/mgcqnar (scroll down to see all the supported video resolutions).After reading ton of documentations found on google, I started to reverse, with IDA, the X550 Ati video card bios (that I attached), but at this moment it is very hard to me to find the VESA table presents inside (I have experiences on reversing, but never with the bios).Somebody, smarter than me , wo…
-
I was wondering what your suggestions would be for documentation on how to use MFC - the ideal deal would be from the basics to more complex stuff. But if this is not possible then whatever best documentation you can think of. Thanks for your kind and unconditional support, xSRTsect
-
One of my friend has created a proxy for a mobile game in java The proxy contains the decryption module in it for the mobile game traffic The traffic is sent via socket connection, Now the java proxy is loaded on the windows machine and the game is loaded on the android device. The hosts file in the android device is routed to the windows machine WIFI IP address. (Android Device and Windows Machine are on the same WIFI network). The Java proxy starts its working as the mobile game is loaded. It intercepts the traffic then decrypts it and saves it in a text log file. Now I want to this proxy to actually forward the data to fiddler where I ca…
-
Hello, Can anyone help me to add "Byte" and "IL & Byte" as language in Reflector as CodeCracker did in Reflector 7.0 hacked version. Then it will be very useful to make patches easily. Thanks in advance bsvo2786
-
-
How do I set a method as a setter using Dnlib? setm.IsSetter = true; // set the method as setter (using Mono.Cecil) Mono.Cecil declaration on MethodDefinition: public bool get_IsSetter() { return this.GetSemantics((MethodSemanticsAttributes.None | MethodSemanticsAttributes.Setter)); } Where are these on Dnlib?
-
hi all could possibly help me, I'm trying to create a non-commercial application to manage simple or any store to be managed, but I was a little problem when I tried it on another Computer not installed Delphi. if I put midas.dll the same folder / directory on System32 always appears Error message: Error loading midas.dll, but if I put midas.dll on the desktop then the error message did not appear and the application running normally.how to handle midas.dll so I can place it in the same folder?thx b4! ...
-
Delphi Hook LibraryCan Hook procedure/function,COM Object method...http://code.google.com/p/delphi-hook-library/ or http://www.raysoftware.cn/?p=357 Google-translated any one can help me about how to use this com hook for hooking an ocx functions? edit: attached file is google translated EN version Delphi Hook Library.rar
-
how i can find the recv decrypted packets? i tried to follow them but not helped.
-
hello tuts4you, i tried to solve a keygenme and faced a problem. the return value of a function is in example: eax == 00001234. now i want the 3'th byte of it, which is 12. so does anybody know a way to do this? have a nice day!
-
i want to write value on running process memory so need value dynamic memory region that value is keep changing memory address value on windows xp how can i find that ? maybe that memory address is created like malloc function thanks all
-
Hello There ! There is very less information about skinning GUI with C/C++ on Internet I wasted (Invested) my pretty good time to find solutions of many problems I'm posting a complete solution of this ... I am sure it'll helpful to those guys who learn by example like me I have attached source code in both MSVC and Dev-Cpp of skin examples I couldn't do that without some persons help so greetings all of them whose tutorial learnt me all this Enjoy ! .. Skin-Examples.7z Greetings To ... Shiva, Pongs, Blue Indian, CybotX, Cyclops, Korupt, Mikgfi