Programming and Coding
Programming and coding tips, help and solutions...
1,882 topics in this forum
-
Winamp's scrolling song title
by hakand- 2 replies
- 3k 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.2k 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.5k 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
- 11.9k 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.4k 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.3k 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.2k 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.3k 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.6k 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.4k 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.2k 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.5k 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.6k 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
- 3.7k 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.3k 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.6k 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
- 9k 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…
-
Memory Search Routine
by Nieylana- 7 replies
- 3.4k views
Attached is a memory search routine i wrote in ASM, on a 1.8GHZ processor my benchmark test shows the ability to search a 3MB block of memory in 31ms. SearchString_ASM_Routine.txt
-
[C] JmpFinder
by KOrUPt- 5 replies
- 4k views
Ok so this small project was inspired by a question from Illuz1on, so shouts to him for that one smile.gif. I didn't spend very long on this so it may contain a few bugs(hopefully not). Basically it searches a specified PE(Portable-Executable) for all JMPs to registers and informs you of their position on disk and in memory with the intention of aiding in the exploitation of executables. Those who are familiar with Windows exploits or exploits in general will already know why it's useful to know where a "Jmp ESP" or similar instruction is located in memory... So I wont bother explaining that part of things here. // JmpFinder V1.1 By KOrUPt #pragma comment(linker,"/BA…
-
Resource-only dll
by nilsen- 0 replies
- 3.7k views
Hi! I'm creating some files using inno setup,and i want to have all my bitmaps and sounds files in one file.I know good solution for this is a build an resource-only dll.Problem is i don't know how to use such dll to call a bitmap in inno setup.How to create this dll in vc++? Does somebody can post an example code plese?
-
Resuming a debugger after attaching to a target
by SuperCRacker- 6 replies
- 4k views
Hi I am trying to play a little bit with Win32 Debug apis. I tried to debug a target using the DebugActiveProcess API, the problem is that the target freezes right after and I can't resume its execution (I'm looking for the equivalent of F9 in OllyDbg). I tried many things ResumeThread, ContinueDebugEvent ... but no one worked. Maybe someone has got a suggestion Thanks, SC.
-
- 7 replies
- 5k views
I'm currently coding an Olly plugin and it's supposed to read and write code from/to a given range of memory. While reading 2 sections in the image with just one call to Readmemory works flawlessly, Writememory with the same memory range returns 0 (= Error). I looked at the plugin manual but it doesnt say anything about restrictions on just one memory block. I also explicitly set the memory's access to PAGE_EXECUTE_READWRITE although I think Olly does that by default (at least temporarily), but to no avail Oh, regular WriteProcessMemory works fine... I just wanted to stick to Olly's APIs as it handles its BPs peroperly etc... Maybe someone has dealt with that beh…
-
24 bit BMP writing code
by enhzflep- 2 replies
- 3.3k views
Just finished some code for another site I visit. It's just been hacked together very quickly, though perhaps somebody will get some use from it. With error checking on the 4 calls to CreateFile or WriteFile you'd have an okay function. Shown below is the output from the code. Tootles... .586 .MODEL flat, stdcall OPTION CASEMAP:NONE ;Case sensitive Include windows.inc Include kernel32.inc Include masm32.inc IncludeLib kernel32.lib IncludeLib masm32.lib myMain PROTO writeBmp24 PROTO :DWORD,:DWORD,:DWORD,:DWORD .DATA? pixelData dd ? ; pointer to the pixel buffer x dd ? ; used to create the pattern y dd ? myBmpInfo BITMAPINFO <> myInfoSize dd…
-
Immunity Debugger PDK for Delphi...
by Teddy Rogers- 0 replies
- 2.9k views
This is an update to the Immunity Debugger (unofficial) Delphi PDK... http://tuts4you.com/download.php?view.2112 Ted.
-
Create/Open connection
by Scale- 2 replies
- 2.6k views
I am trying to find which system call(s) can open a connection. Like CreateFileA opens a file, even the library name would help. Thanks!