Programming and Coding
Programming and coding tips, help and solutions...
1,890 topics in this forum
-
Increase DWORD by one?
by FastLife- 8 replies
- 6.2k 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
- 5.1k 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
- 9.2k 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.9k 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.7k 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
- 13.6k 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.7k 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.6k 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.7k 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.4k 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
- 4.1k 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.8k 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.7k views
is it?
-
How do I set a method as a setter using Dnlib?
by CodeExplorer- 1 reply
- 4.4k 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
- 7.1k 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
- 8.2k 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
-
packet encryption
by jamsb123- 10 replies
- 7.3k views
how i can find the recv decrypted packets? i tried to follow them but not helped.
-
get 3'th byte of eax?
by FastLife- 9 replies
- 6.5k views
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!
-
question for memory write
by Gegul- 1 reply
- 13k views
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
-
Skinning GUI with C/C++ [Win32 API]
by Zekim- 6 replies
- 7.5k views
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
-
- 6 replies
- 4.8k views
I have been fooling around with scripting for years and have that down pat. I started doing C++ and C# in 2010/2011, but really got into coding for about a year now. I write almost exclusively in C++ and LUA. To expand on this, just to help pinpoint what I might be missing, I have completed my education in C++ at university, first year. Got through what would be about an entire introduction level text book to C++ in a semester, next semester went onto boolean algebra and basic data structures. In that semester I also started to get really familiar, already had used them just getting a lot of work in with them, with pointers, classes, and structs. My question is this:…
-
Help learning programming a web bot
by NeWOT- 9 replies
- 5.1k views
Removed!
-
Delphi Glyphs
by NOP- 2 replies
- 6.8k views
Does anybody have the standard Delphi Glyphs on their computer that they could upload for me? They are normally saved in c:\Program Files\Common Files\Borland Shared\Images\GlyFX or C:\Program Files\Common Files\CodeGear Shared\Images\GlyFX For some reason the GlyFX folder is not included in the 2 different Delphi versions I have Thanks in advance for anyone that can help
-
Help needed / changing keyboard layout in a game
by Starship Orion- 6 replies
- 5.4k views
Hi! I'm new to reverse engineering and I'd like to get some help with my project with the game Heroes of Might and Magic 3. I'm trying to change the keyboard layout in the game to finnish language. I've opened the exe file of the game in OllyDBG 2.01 and Resource Hacker, but so far I haven't been able to find much anything helpful. I started the project by looking for any function calls that would be related to keyboard layout. However there are no cases of user32.LoadKeyboardLayout or user32.activatekeyboardlayout which I think would be the right functions to call. Yet the game always uses the US keyboard layout, even the Polish version of the game. There…
-
Help C programming
by NeWOT- 2 replies
- 13.3k views
1