Programming and Coding
Programming and coding tips, help and solutions...
1,894 topics in this forum
-
How do you do something like ModuleHandle.ResolveMethodHandle(token); in cecil? Assembly.MainModule.MemberReferences doesn't contain all the references. Only way I can think is by loading each referenced assembly and check it. Would be very very slow though... (also locating the assemblies...)
-
Hi, I was trying to inject a dll into a process and use WM_COPYDATA for sending the data needed for the dll to work. The problem is that I'm in the middle of the debug loop, ie the remote thread on LoadLibrary doesn't return until I loop through WaitForDebugEvent/ContinueDebugEvent. So I called it in another thread, and found something weird happening: When I call SendMessage (logging something to a listbox) in the thread, it doesn't return and seems to hang up. At the same time, WaitForDebugEvent hangs up as well, and doesn't return (it's set to INFINITE). I found this at MSDN but I'm probably too retarded to get it... The thread sending the messages waits for SendMessa…
-
Posted this on another forum and thought I should post it here too. This is how I made a .dll loader for VisualAssistX.
-
Does anyone have the source for Yoda's Protector 1.03.3 source? I found version 1.02. Anyone have it?
-
Hi, I'm coding on some win32 c++ app. What API should I use to keep the window on top of other windows regardless if it is selected or not? I'm just guessing it is an API, but I'm not sure if it is one.
-
hey community, i need some help in ASM. I use a keygen template from UFO-Pu55y. I modified it a little bit for a about button to show a new window with a text in a bitmap. my problem is to get the cursor animation same like the main window. If the about dialog pops up the mouse cursor is changing to normal. i'm sitting here for 4 hours and i don't get it to work. About proc hWnd:DWORD,uMsg:DWORD,wParam:DWORD,lParam:DWORDlocal ps:PAINTSTRUCT.if uMsg == WM_INITDIALOG invoke SetWindowPos,hWnd,HWND_TOPMOST,0,0,0,0,SWP_NOMOVE + SWP_NOSIZE invoke LoadPng,1501,addr sizeAbout mov hAboutBg,eax invoke CreatePatternBrush,hAboutBg mov hAboutBrush,eax invoke CreateFontIndir…
-
Last night I decided to try and see if it was possible to create a messagebox in VB6 without using the built in MsgBox function. I chose to do this because the MsgBox function actually calls rtcMessageBox() located in the MSVBVM DLL. I wanted my application to instead of using this function, use the MessageBox function located in USER32.DLL. The Link below takes you to my source code on how i did it. It was done by executing some pre-compiled ASM that is executed from VB. In order to see what the ASM is doing, compile the program and debug it using Olly. Then place a BP on CallWindowProcA. Run the application, when it breaks... right click on ESP+4 (PrevProc) and se…
-
Hi, I'm trying to make a dumper, but run into some problems. program Delphi;uses Windows, SysUtils;{$R *.res}type TByteArray = array of Byte;var hMod: THandle; hOpen: THandle; hFile: THandle; IDH: TImageDosHeader; INH: TImageNtHeaders; ISH: TImageSectionHeader; dRead: DWORD; dWritten: DWORD; dSize: DWORD; bBuff: TByteArray; i: integer; begin hMod := GetModuleHandle(nil); hOpen := GetCurrentProcess; if ReadProcessMemory(hOpen, Ptr(hMod), @IDH, SizeOf(IDH), dRead) then begin hFile := CreateFile(PChar('dumped.exe'), GENERIC_WRITE, FILE_SHARE_WRITE, nil, CREATE_ALWAYS, 0, 0); if hFile <> INVALID_HANDLE_VALUE then begin SetLength(bBuff, SizeOf(I…
-
- 16 replies
- 7.8k views
- 1 follower
-
-
Please give some source code with UPX Scrambler????? I try to make UPX Scrambler with Visual Basic 6??? Please?????
-
Hello, Im making a program that will load an setup file for example: I fire up my delphi project and i got a installer.exe now how do i execute it (if i press on Button in Delphi)
-
Hello, im creating a program in delphi, its a simpel database program to store Serials in it (personal use). Now what i need is: i got a TreeView now if i click on the SubItem wich is 3Q Software i want to see all my available serials i got, but i dunno how, can i use a edit1 box or somting else...?
-
I wanna code a not complex anti-cheat .dll. Features: -Checksum of critical files. (No idea how to do yet, need to learn) -Search for programs with a specific title that the cheat's have. -Search for specific processes, like packet editors. -Loop every few sec the three above features. I wanna make it a .dll and hook it into the main executable, so it will be harder to beat and will take a reverser to code out the hook to the .dll from the main executable, of course i could just write a .exe that will be launched with the main executable but what will stop anyone from Opening Task-Mgr and killing it?... any suggestions in the matter? thx
-
Hello, I think you all know winamp's scrolling song title. It scrolls horizontally(to left and to right). Could anyone code a sample program and share it with us? Thanks.
-
I want to send WM_COPYDATA messages to my dll injected in a exe. Sorta like how WPE Pro works. I currently am trying this. GMAptr GMATrampoline = 0; GMAptr GMATarget = 0; BOOL __stdcall GetMessageADetour(LPMSG lpMsg,HWND hWnd,UINT wMsgFilterMin,UINT wMsgFilterMax) { BOOL ret = GMATrampoline(lpMsg,hWnd,wMsgFilterMin,wMsgFilterMax); if (lpMsg->message == WM_COPYDATA) { if (lpMsg->wParam == MessageNum) { COPYDATASTRUCT * data = (COPYDATASTRUCT*)lpMsg->lParam; ParseCommand(data); lpMsg->message = 0; } } return ret; }BOOL APIENTRY DllMain(HINSTANCE hModule, DWORD Reason, LPVOID lpReserved) { HMODULE mod; switch(Reason) { case DLL_PROCESS_…
-
Hello all, Could someone have a source for a keyfile in asm? thanks for answer.
-
Hi Guys...i am learnning masm...and have managed to learn howto skin windows, buttons as well as some other controls. I have even managed to design some small keygen templates. but guys i need some help regarding using custom fonts both open type as well as True Types I'll be grateful for any help greetz, TCC/CiB
-
السلام عليكم Hi guys ! this is my 1st asm program Window Minimizer V1.0 It's a simple program to control any window Plz test it Download links : Program : Source code :
-
Delphi Source function gen(name:string) : string; var norm1,norm2,added,s1,f,finalserial:string; i,res:integer; begin norm1:='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890!@#$%^&*()_+=-{}[]/?\|><~. '; norm2:='CqiHSXMkEVZeRyBKdTAFWljDIPzxpOkgYmtarQnsuUGJLNbcfhowQQQQQQQQQQZZZZZZZZZZZZZZ ZZZZZZZZZZZZZ'; added:='HLWsCbMErpAQOXWK';for i:=1 to length(name) do begin s1:=copy(name,i,1); res:=pos(s1,norm1); f:=f+copy(norm2,res,1); end;if length(f) > 15 then begin finalserial:=f; end elsefinalserial:=f+copy(added,1,length(added)-length(f)); result:=finalserial;end;Visual Basic Source Dim normal, asdf, finalw, i, s, res, f, p, rt, qwfinal normal = "…
-
Hey ya'll! Does anyone have any C/C++ KeygenMe Templates that they'd be willing to post?
-
Hi all anybody have a Good example on how create a loader useing vb6 ..... i need a real example (code and file). pls i need help in this ....... and may it include the way on how hook API , put Hw-bp and something like this , it is not problem if it depended on anthor dll file (coded by C++) pls help Thanks in adv
-
What is the best way in C++ to call a method? Current I am doing. const int Method_Addr = 0x1234; void Method() { __asm { call Method_Addr } } Any suggestions? Thanks .
-
How do you figure out where the dlls are located with the following. <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.VC80.CRT" version="8.0.50608.0" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity> </dependentAssembly> </dependency> </assembly>all I see is C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.1433_x-ww_5cf844d2\
-
Hi all. Wondering if anyone can provide source code for making a generic patcher using a search and replace pattern. Thnx in advance
-
Who can help me ? hi i want to get remote control reference or papper.i want to program a software about windows remote control it can be trojan or remote monitor program.because i want do a graduation project.ineed this information very much .it best english reference or papper. thank you !
-
Please help me find the true serial: private void button1_Click(object sender, EventArgs e) { if (this.regist_code.Text.ToString() == this.Encrypt(this.cpu_id.Text.ToString())) { if (this.RegCDRomSn(this.regist_code.Text.ToString())) { MessageBox.Show("Good Boy"); } else { MessageBox.Show("Bad Boy Registry potected"); } } else { MessageBox.Show("Wrong serial"); } } ======================================================================= Encrypt: protected string Encrypt(string pToEncrypt) { string str; byte[] buffer = new byte[] { 0x19, 0x17, 0x18, 0x19, 0x17…