Programming and Coding
Programming and coding tips, help and solutions...
1,890 topics in this forum
-
keep the window on top
by Bleed- 4 replies
- 3.6k views
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.
-
[HELP!] Keygen About Dialog
by DeRoX- 1 reply
- 3.4k views
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…
-
Using WIN32 APIs
by Nieylana- 0 replies
- 3.8k views
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…
-
[Help] Process Dumper - Delphi
by steve10120- 1 follower
- 16 replies
- 7.6k views
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…
-
UPX Scrambler
by tagor- 0 replies
- 6.7k views
Please give some source code with UPX Scrambler????? I try to make UPX Scrambler with Visual Basic 6??? Please?????
-
Question..
by HEROiC- 6 replies
- 9.8k views
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)
-
Delphi Help!
by HEROiC- 0 replies
- 3.1k views
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...?
-
Coding a small anti cheat .dll help
by ShadowRayz- 5 replies
- 3.8k views
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
-
Winamp's scrolling song title
by hakand- 2 replies
- 3.2k views
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.
-
- 15 replies
- 6.4k views
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_…
-
keyfileme source
by Goldocrack- 8 replies
- 3.8k views
Hello all, Could someone have a source for a keyfile in asm? thanks for answer.
-
How To Use Custom Fonts 1 2
by TheCodeCracker- 25 replies
- 12.5k views
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
-
Window Minimizer V1.0 + Source code [ASM]
by zEaK47/AT4RE- 1 reply
- 5.6k views
السلام عليكم 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 :
-
KeyGen Src iN Delphi & VB
by GioTiN- 1 reply
- 3.6k views
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 = "…
-
Keygen me template
by 0ron- 10 replies
- 4.4k views
Hey ya'll! Does anyone have any C/C++ KeygenMe Templates that they'd be willing to post?
-
Loader By Vb6
by ahmadmansoor- 22 replies
- 10.7k views
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
-
Best way to call local methods?
by high6- 3 replies
- 2.8k views
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 .
-
locate manifest dlls?
by high6- 4 replies
- 3.7k views
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\
-
Making Generic Patcher with Delphi
by Eleos- 14 replies
- 7.6k views
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
by frozenrain- 0 replies
- 2.7k views
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 !
-
help with .net
by buganxin- 1 reply
- 6.8k views
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…
-
How to custome right popup menu?
by blaCke- 9 replies
- 4k views
i want to custome right poupmenu in windows like you guys do i want add open with oly, scan with peid,... but i haven't any idea ? thanks in advance
-
Recurive Scan
by starzboy- 22 replies
- 5.5k views
Hello guys, i have written a little recursive scan function to list all files with their sizes inside a directory as well as its sub directories. The function seems to work fine but the only thing is that it is very slow. I have tried using threads but its not better. Actully i am listing the files to find duplicates, with same name and size. Can someone provide with a better approach. Can anythign be done with drivers to accelerate things. cya starz
-
Generate different Keys
by mild11- 6 replies
- 3.8k views
I have question about how to generate different keys like 12345-67890 is key and second key is 09876-54321 and many others So how to do in asm.. Can some tell me this!
-
Using NtQueryInformationProcess
by ibanigger- 1 reply
- 9.4k views
I am looking to use NtQueryProcessInformation into a C++ program. The problem is, when I declare the NtQuery function, i get a strange error. Here's my code : typedef NTSTATUS (WINAPI *_NtQueryInformationProcess)( __in HANDLE ProcessHandle, __in PROCESSINFOCLASS ProcessInformationClass, __out PVOID ProcessInformation, __in ULONG ProcessInformationLength, __out_opt PULONG ReturnLength );_NtQueryInformationProcess __NtQueryInformationProcess = NULL;HMODULE NtDll = LoadLibrary("ntdll.dll");_NtQueryInformationProcess __NtQueryInformationProcess = NULL; __NtQueryInformationProcess = (_NtQueryInformationProcess) GetProcAddress(NtDll, "NtQueryInformation…