Programming and Coding
Programming and coding tips, help and solutions...
1,897 topics in this forum
-
Hello. This is in relation to a patch I'm working on. The description is based on IDA's output. There is a word area in data section called 'Time'. It's used like so: mov eax, Time What I want is a short way to assign a value to 'Time' before the above is executed. The data to use, I can make available through another register. If I try something like: mov Time, ebx it works when I run the program under IDA, but of course fails when run on its own. How can I avoid the relocation problem and do the assignment in as few bytes as possible, say 5? (No more room in the surrounding area). The above is for 32-bit but if you also have a 64-bit way that would be great. Thanks in a…
-
Hello everyone, I'm currently coding a project that uses TitanEngine, but because of portability issues I want to link everything statically... The problem is that the guide provided here doesn't really work At first I tried compiling the original DLL version, to test if the code was correct. It wasn't (1>.\TitanEngine.rc(10) : fatal error RC1015: cannot open include file 'afxres.h'.) and I "fixed" it by replacing "afxres.h" by "windows.h"... After that another error popped up because the author forgot to do: "#define IDC_STATIC -1". I defined it and the DLL compiles (and runs) without errors... Then I changed the output type to .lib (Static Library), compiled wi…
-
-
- 11 replies
- 9k views
- 1 follower
-
-
guys, i need create a dll, for breakpoint a adress and change the EAX register, how i can do it? i searched, but i cant find
-
-
Hey guys, I'm searching for nice Name Patcher source code in asm. When anybody have sources i would be very happy if this person could share Ty
-
Hi everyone, Instead of writing IDC script with IDApro, i would like to integrate what IDApro can do into a simple c++ interface using TitanEngine. TitanEngine is a good tool with detailed SDK which can perform disassembling, PE modification, hooking etc. I would like to know how i can retrieve all the addresses of user-defined functions in a C++ .exe program using TitanEngine. If i am to create a dummy c++ file with 3 functions: void func1(), void func2(), void func3(), which API can i use to retireve the 3 functions after disassembling with TitanEngine? IDAPRO has flirt signature and name view which automate the analyzing of all user-defined functions... Is there a byt…
-
Ummm... i wrote a simple callback project in Delphi just to see how it looks like inside Olly when it goes inside a callback, does it look like this ? (btw, it's not a normal CALL) The "Arg 1" is what i'm talking about... here's the source code: unit Unit1; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs; type TForm1 = class(TForm) Button1: TButton; procedure Button1Click(Sender: TObject); private procedure myCallback (s: string); public { Public declarations } end; type TCallbackFunction = procedure (s: string) of object; var Form1: TForm1; implementation {$R *.fmx} pro…
-
-
Hi, Does anyone know of a fast brute force algorithm they are willing to share? I'm looking for something preferably written in C or x86 assembler. My aim is to brute force a 40-bit key. I tried using the brute force function given in a tutorial titled "the art of password brute forcing". It counts predictably up to FF FE FE FF 00, it then displays FF FE FF 00 00 as the next key in the sequence instead of the expected FF FE FE FF 01. The document I am referring to can be found here :Link I can't seem to find why it behaves this way. I though I would share it in case someone can see how to fix it. Thanks for any help, Mondo. edit : It would help if I sh…
-
Hi guys, i am trying to add new code or data section to an existing PE file. for eg: calc.exe from windows7 I am doing this for education research. I discovered PELIB opensource library but it is not updated and there's a limit to what it can do. I have no problem adding section for c++ console applications but it doesnt add new section for calc.exe due to limited header size. I was wondering if anyone have any other open source and useful PE editor or PE maker... i need the library and not the tools. something i can code with. PE EDITOR 1.7 - yoda CFF explorer Both are great tools but i need the library to perform my own calls. help please. Thanks in advance.
-
I'm looking for an example keygen in any language that has RNG used in a functional part of the key.
-
Hey every one, I'm experiencing a coding problem with ollydbg. When i call an animation function from main plugin thread, it works. (of course it will work ). and here is a piece of correctly working code: void ODBG_Pluginaction(int Origin, int Action, void* pItem) { if(Origin == PM_DISASM) { switch(Action) { case 0: Go(Getcputhreadid(), 0, STEP_OVER, false, true); break; } } } but if i call the same function from a thread it doesn't work (and here's a non working code): DWORD WINAPI ThreadFunc(LPVOID dd) { Go(Getcputhreadid(), 0, STEP_OVER, false, true); return TRUE; }void ODBG_Pluginaction(int Origin, int Action, void* pItem) { DWORD …
-
-
Hi. Coders and also Reversers... I am coding a kernel hook for cd-dvd system driver for monitoring that device. I need all functions that deal and work with this device... I have (and know some) functions but maybe incomplete... functions like: deviceiocontrol , getdrivetype , ... Regards...
-
Hi, After reading and playing lots of pages and tools ( I am sure this is nothing ) ) as a newbie I am very confused ! I have .net dll trying to delete the time limit but even could not start doing it, because every new report I see a new protection system which seems to me logical that my ddl has it !! So; Is there any doc that systematically deals , helps to understand which protection methods are used in the dll ? Also if these systems resembles to can you guide to a way ? As far as I can see ; StrongName + obfuscate + string / all encoding is present. Thanks,
-
Hello ! I want to fully understand Windows API hooking and everything about ring0, ring1(never heard about), ring2(never heard about), ring3 and also any ring it could be. I wish a book for API hooking or a video or something to help me to fully understand these concepts. Thank you very much ! LE: Forgot to say, I want to know everything about API detouring and any other kind of API intercepting also.
-
Hello guys. Maybe same question has been asked before, although i couldnt find any useful thing while searching. I am looking for a SIMPLE search+replace patcher src in C. And I'm not a C coder so please do not offer to code it on my own p.s: do not offer dup SnR engine.
-
Can any one give some Source Code for Crackme in ASM/MASM?
-
Where can i get the source code Milk drop for delphi? thx b4.
-
Was messing around in Java and wrote this up. Improvements? public final class KeyDecoder { private static int CalculateHash(String licenseName) { int hash = 0; for (int i = 0; i < licenseName.length(); i++) { int xorValue = licenseName.charAt(i); int rotateSequence = xorValue; for (int j = 0; j < 4; j++) { int rotateLeft = rotateSequence & 0x3; int shiftLeft = rotateLeft; int shiftRight = 32 - rotateLeft; int rotatedBits = hash >>> shiftRight; hash = hash << shiftLeft | rotatedBits; hash ^= xorValue; rotateSequence >>= 2; } } return hash + 1 & 0xFFFF; } public static short[] getInfoArray(String regis…
-
-
Hi, I am having troubles with getting BeaEngine to work. i am using the files (lib+.dll) given in "\beaengine-win32\Win32\Dll\" and this code: #include <Windows.h> #include <stdio.h> #include <string.h> //#define BEA_ENGINE_STATIC /* specify the usage of a static version of BeaEngine */ #define BEA_USE_STDCALL /* specify the usage of a stdcall version of BeaEngine */ #include "BeaEngine.h"#pragma comment(lib, "BeaEngine.lib")int main() { DISASM di; ZeroMemory(&di,sizeof(di)); di.EIP = (UIntPtr)main; di.EIP = (UIntPtr)0x00412130; //! int len; for(int i=0; i<20; i++) { len = Disasm(&di); di.EIP += len; } Sleep(10000); } It`s supp…
-
Author : me release data : nov.13.2007 target : Registry Easy 4.0 Src_by_IMPosTOR.zip
-
Please give me some tutorial make keygen with winasm ???? Please?????
-
Hello There anyone here can help me how to use alphablend library in c language i found it in patchlib but i dont want to use patchlib and some times i cannot use patchlib with my weired apps too there are 3 functions but dont know how to use them VOID AlphaBlend2(ULONG,HBITMAP,ULONG,ULONG,ULONG,ULONG,HBITMAP,ULONG,ULONG,BOOL);VOID AlphaBlendScroller(ULONG,HBITMAP,ULONG,ULONG,ULONG,ULONG,HBITMAP,ULONG,ULONG,BOOL,ULONG,ULONG,ULONG);VOID PaintText(HDC,HBITMAP,HDC,HBITMAP,const LPCSTR strText,ULONG,ULONG); Alphablend Library : http://uppit.com/xxti9x3w817y/alphablend.zip Please Help Thanks in advance Mike.X.