Programming and Coding
Programming and coding tips, help and solutions...
1,876 topics in this forum
-
Signature Scanner for Delphi by ArxLex
by arxlex- 1 reply
- 5.7k views
Signature scanner written by ArxLex specifically for site members Cheaton.ru. Material purely for informational purposes. As a basis and work were taken functions from C++. Example is written for beginners and amateurs of WINAPI as a console application, for more comfort and understand the code. Enjoy! program signaturescanner; {$APPTYPE CONSOLE} uses Windows, SysUtils, TlHelp32; var m_pID: integer; m_hProc: THandle; module: TModuleEntry32; m_Sign: integer; const procName = 'D3D9Test.exe'; procedure GetPID; var snapshot: THandle; pInfo: PROCESSENTRY32; begin snapshot := CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); pInfo.dwSize := si…
-
- 9 replies
- 9k views
Help needed! I want to be able to push one button only, and when I do it the text in the two boxes will be different. I want to just push the bottun and then the different texts are visible, but without me needing to write anything in the 'name' box, then push 'keygen' and then the serial is visible. ONLY me pushing 'keygen' and then both name and serial will appear. I can only get the same text in both 'name' and 'serial' boxes to appear when pressing 'keygen' button. I using "WinAsm Studio" base.zip
-
close window
by FastLife- 9 replies
- 9.4k views
i want to inject some code into a running process. This process have a gui and uses a window. (I know the handle of this window) so i want to close this window, but let the process running. i used the API DestroyWindow but get a 0x5 error ( acces denied ), because i dont know the thread which created the window. ( GetCurrentThreadId is not the answer). so my question is do you know a way how to close/destroy a window knowing its handle, but NOT closing the process, just the window of it?
-
get handle from window
by FastLife- 5 replies
- 6.3k views
hello i injected a new thread into a running process, the thread displays a MessageBox. This is working fine. However i want to get the handle (hwnd) of the running window to pass them as parameter in the MessageBox api, like: MessageBox(hWnd, str1,str1,1); but i can't retrieve the right handle of the window. i already tried api's such as Get(ForeGround)Window etc. Any ideas how to get the handle of the running window?
-
NetBox - the secret beyond!
by CodeExplorer- 1 follower
- 4 replies
- 13k views
1. First build the program! The most important code is this: Process process = new Process(); process.StartInfo.FileName = FileName; process.StartInfo.WorkingDirectory = Path.GetDirectoryName(FileName); process.StartInfo.UseShellExecute = true; processes.Add(process); It is very important to set UseShellExecute to true else won't work! And finaly the code which start the process: public List<Process> processes; void RunSelectedToolStripMenuItemClick(object sender, EventArgs e) { if (assemblieslist.Items.Count>0&&assemblieslist.SelectedIndices.Count!=0) { if (File.Exist…
-
Batch file programming
by zingle- 2 replies
- 8.5k views
Hello, I have this small batch file to make computer shutdown or reboot after "xx" seconds, to change the value "xx " the user should edit the file each time, i do not know how to make the program ask the user to chose the value of "xx" for example a dialog : "Please enter the value "xx". @echo off Title Scheduled ShutdownPC,RestartPc or Abort the two previous actions. cls echo. echo Please select an action : echo *********************** echo. echo 1) Shutdown computer in 01 minutes echo 2) Restart computer in 01 minutes echo 3) Abort all actions echo 4) exit echo. set /p web=Type option : if "%web%"=="1" shutdown -s -t 60 if "%web%"=="2" shutdown -r…
-
Keygen Template in C
by Cyclops- 18 replies
- 9.4k views
Hi all! Just thought to share my keygen template coded in C. Enjoy! src+bin: http://cyclops.ueuo.com/sources/Template.rar
-
ollydbg 2.01 plugin template
by njkermk- 0 replies
- 4.8k views
I've written a simple template of ollydbg2 plugin for latest flatassembler compiler. ollydbg2_plugin_template.7z
-
Debug Registers
by snoopy- 10 replies
- 12.7k views
Hey guys, I am reading up on ARteam securom information. What I am wondering is the following. Deroko in his post is posting a method to set hardware breakpoints to work his way around with the code splicing. What I am mis understanding is the following code from the goodies dir there is vmtrace.asm. In here he sets Dr0 with the following info: mov [ecx.context_dr0], eax //eax reg hold the address to breakpoint mov [ecx.context_dr7], 10101h //should be a breakpoint on write What I am missing here is how did he calculate 10101h. According to the intel manual, there is 31 bits: 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4…
-
Magic_h2001 v2m player source
by Freefall63- 4 replies
- 6.8k views
Hey guys, I just wanted to ask if somebody has the delphi source of magic´s v2 lib. Should be easier to translate .NET I think. Translation help is ofc appreciated, too.
-
VB .NET Low Level winmm Audio playback
by Freefall63- 8 replies
- 8.3k views
Hello guys, I tried to work the low level winmm.dll functionality out in VB .NET, but encountered several problems. My goal is to play a wave file from stream using WaveOutOpen, WaveOutPrepareHeader und WaveOutWrite, using it only once to play the whole file: Imports System.GlobalizationImports System.Runtime.InteropServicesImports System.TextImports System.IOImports System.ThreadingPublic Class Form1 <StructLayout(LayoutKind.Sequential)> _ Private Structure WAVEHDR Public lpData As Integer Public dwBufferLength As Integer Public dwBytesRecorded As Integer Public dwUser As Integer Public dwFlags As Integer Public d…
-
Yasp - Web-based Assembler/Emulator to Learn Assembly...
by Teddy Rogers- 1 reply
- 7.4k views
yasp-Assembler Title pretty much sums it up... http://demo.yasp.me/ Ted.
-
PureBasic Keygen Template
by tim619- 8 replies
- 15.1k views
File Name: PureBasic Keygen Template File Submitter: tim619 File Submitted: 21 Mar 2014 File Category: Source Code Today I release a Keygen which I programmed a few days ago. It is written in PureBasic (v5.0) and can be compiled using x86 or x64 Compiler. The features of this Keygen Template are: -The language is very easy to understand and the code is not too much. -transparency -chiptune support -fading in and out of transparency and music -window always on top -Key copied to clipboard autom. -the "core" should also compile on MAC and Unix Version. have fun Click here to download this file
-
OllyDBG 2.01 plugin SDK bug ?!
by cypher- 0 replies
- 6.3k views
when using Ollys builtin options feature ODBG2_Pluginoptions with static WCHAR opt_ollyTitle[TEXTLEN] = {}; static t_control scyllahideoptions[] = ..... { CA_EDIT, OPT_16, 200, 30, 40, 10, NULL, opt_ollyTitle, L"Olly title" }, ... the SDK doc says that the opt_ollyTitle variable will be updated with the modifications you did on WM_CLOSE. however this doesnt work for some reason ! For CA_CHECK (checkboxes) it works... Am I doing sth wrong ? As a hacky workaround I now do extc t_control* ODBG2_Pluginoptions(UINT msg,WPARAM wp,LPARAM lp) { if(msg==WM_COMMAND) { if(LOWORD(wp)==OPT_16) { //yes this …
-
ollydbg 2.0 plugin
by walter1945- 2 replies
- 6.9k views
Hi all, i'm writing a small plugin for olly but i can't figure out how tell olly (from plugin) to resume process,do you know what's the right way to do that from plugin? thanks.
-
[Help] Inject x64 DLL into x64 PE File
by Gladiator- 15 replies
- 9.2k views
HelloI have problem with injection 64 bit dll into 64 bit exe file , in case i don't know what i should to do ? any one can help me with information , sources or some thing that solve my problemThanks
-
Generating a MethodDef signature
by ubbelol- 0 replies
- 9.8k views
Nevermind.
-
- 3 replies
- 3.9k views
Hello, I have coded a software, and its working fine on latin and english operative systems, but it does not work godd on Chinese Windoxs XPI have a module, for strings, conversion etc etc....Code is: st1 = HexToAsc("100404084A011004C8DC")Winsock2.SendData st1in latin server / client app, I receive very same string I sent.... I use winsock.GetData but on chinese windows xp it does not I receive this: 100404084A0110040000 (C8DC is now 0000)what could the problem be?? unicode related?? thanks
-
Firework LIB+DLL
by SmilingWolf- 1 reply
- 8.6k views
This is an implementation of the Fireworks effect by ronybc as a library with a little enhancement: you can now run multiple fireworks instances! Preview (3 instances): Documentation, sources, examples, compiled LIB and DLL are included. Hope you will like this Now go and set your CPU on fire! Firework.7z
-
.NET Reversing
by Elena Schneider- 11 replies
- 9.5k views
Hello!I)) I am reversing .NET web application which sends sockets to server through HTTP and RTSP protocol. I just want to change IP address where I send requests.My problem is...I can't find this right place in code. Look at that please. public WebWrapper() { this.UseProxy = false; this.UA = "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.107 Safari/535.1"; this.Proxy = new WebProxy(); this.LastPage = "http://google.com/"; this.cookies = new CookieContainer(); } public string httpGet(string Address, [Optional, DefaultParameterValue(true)] bool Redirect) string str; try { IEnumerator enumerat…
-
how to create a loader with visual basic 6?
by nicogalan- 0 replies
- 4.3k views
Hello, do you know how to create a loader in visual basic 6? where could I find source code for it? thanks regards
-
patch auto saved in memory map?
by PieterJones- 2 replies
- 4.2k views
hello tuts4you i suppose after mapping a file in memory, and after making a change/patch in this mapped memory, i need to save the bytes wich are changed using FlushViewOfFile , right? so the weird thing is, it saves the patch already without using the FlushViewOfFile api yet! so actually i don't have to use FlushViewOfFile because the bytes are automatic saved after unmapping it seems. can someone tell me why? hOpenFile = CreateFile(szFilePath, GENERIC_WRITE | GENERIC_READ, 0, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL | FILE_FLAG_RANDOM_ACCESS, NULL) hOpenFileMapping = CreateFileMapping(hOpenFile, NULL, PAGE_READWRITE, 0, dwSizeOfFile, NULL) pFile = M…
-
BASS static lib v.2.4
by ::: - phpbb3 - :::- 14 replies
- 9.9k views
BASS static lib v.2.4 MASM32 player example BASS.static.lib.v.2.4.MASM32.player.zip
-
strongod driver
by PieterJones- 16 replies
- 8.5k views
Hi folks i want to change the drivername of the to strongOD plugin at runtime. i know i can change this in the olly.ini file, but i need to change it at runtime after the driver is created. So in example i want to change the default drivername ("fengue0") to "testing" at runtime programmatically. is there a way to do this?
-
How to use this procedue "FindOEPGenerically"
by darkbreak- 1 reply
- 4.1k views
Hi all, How to use this procedue "FindOEPGenerically" in TitanEngine please help Thank you