Programming and Coding
Programming and coding tips, help and solutions...
1,876 topics in this forum
-
OllyDbg2 Issue - Table Window with Sorted Data
by akrutsinger- 3 replies
- 4.6k views
I'm developing another plugin for OllyDbg2 and for some reason, after I populate my table with the sorted data (anywhere from 1,500 to 4,00 records or so), I can't use the scroll bar on the side of that window to scroll through all of the data. When I drag the scroll bar down, I can view through a small portion of the data (140 records); as soon as I release the left mouse button the scroll bar immediately returns to the top, but the view doesn't change. When I click to drag the scroll bar again, the view of the data automatically displays the first record at the top of the window and I can scroll through those first 140 records. Now if I use the Page Up/Down or Arrow Up/…
-
File crash after adding section
by FastLife- 11 replies
- 5.4k views
Hello Tuts4you, I created a function which adds a new section to a exe file. Everything seems to be correct, but the new file crashed after adding the new section. After some study, i found the problem is the SizeOfRawData, because when I zero this out, the file runs smoothly. So the problem is I don't know what Im doing wrong. Maybe someone could help me out with this? If you want to see an example of a crashing-file after adding the new section, see attachment. crashed_file.rar
-
twofish Asm source code.
by tarequl.hassan- 7 replies
- 6.8k views
Dear All Does anyone have keygen source code which uses twofish? If so please share with me.
-
Need help creating my first keygen for a CrackMe
by Lukesc1993- 10 replies
- 5.6k views
So I just cracked my first CrackMe and found out how the program computes the registration number and now I wanna write a keygen for it. What program should I use to write the keygen and could anyine get me started on the code? The algorithm the CrackMe uses to create the correct keygen is: Get hex value of each letter in username Add each letter in hex together Multiply the value by 539 Output as decimal Thanks to anyone who can help
-
Help in Porting from ASM to Delphi
by XorRanger- 4 replies
- 4.4k views
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.
-
force unload modules of a process
by sr3330- 2 replies
- 6.1k views
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 == …
-
32 bit asm in 64 exe?
by Yazuki- 10 replies
- 4.8k views
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
-
lookin for a talented coder
by afrit- 24 replies
- 11.1k views
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
-
force HUD window over another
by kolynet- 1 reply
- 4.5k views
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?
-
Increase DWORD by one?
by FastLife- 8 replies
- 5.8k views
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?
-
[ Investigating & Coding ]
by IllusiveMan- 1 reply
- 4.8k views
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…
-
Delphi repaint or invalidate
by kolynet- 1 reply
- 8.8k views
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.
-
- 5 replies
- 6.6k views
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…
-
injected DLL and exe communication
by kolynet- 4 replies
- 6.4k views
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:)
-
C++ question 1 2
by GIV- 27 replies
- 12.7k views
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++"); }
-
Delphi / API hook / DrawText
by kolynet- 10 replies
- 8.2k views
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.
-
NtCreateProcess not executing process?
by FastLife- 16 replies
- 8.2k views
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
-
VideoBios Vesa table
by Kova78- 3 replies
- 5.4k views
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…
-
MFC
by xSRTsect- 10 replies
- 10.1k views
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
-
Proxy(made in java) for Mobile Game(help needed)
by madskillz- 3 replies
- 3.9k views
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…
-
- 3 replies
- 4.6k views
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
-
Is KANAL opensource?
by xSRTsect- 3 replies
- 5.5k views
is it?
-
How do I set a method as a setter using Dnlib?
by CodeExplorer- 1 reply
- 4.1k views
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?
-
- 3 replies
- 6.5k views
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 Library
by V65j- 0 replies
- 7.9k views
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