Programming and Coding
Programming and coding tips, help and solutions...
1,877 topics in this forum
-
Sniffing Unicode Text?
by ChupaChu- 2 replies
- 3.4k views
I have played around with Anorganix's sources for serial sniffer from eZine#2 DL it here h!!p://arteam.accessroot.com/ezine/dl.php?id=2 (look in chapter 8, sources are included). Sniffer Source goes like this: function SniffSerial(PI: PROCESS_INFORMATION; Ctx: _Context): string; var X: Cardinal; Buff: PChar; begin // allocate some memory GetMem(Buff,50); // suspend the program and get the context SuspendThread(PI.hThread); GetThreadContext(PI.hThread,Ctx); // read the value that [EAX] holds (the good serial) ReadProcessMemory(PI.hProcess,Pointer(Ctx.Eax),Buff,50,X); // set the result and free the buffer Result:=Trim(Buff); FreeMem(Buff)…
-
Bootstrapper Routine
by oricode- 9 replies
- 3.9k views
Hi ppl, I am writing a bootstrapper routine. What I am trying to do is, call a 'C' routine from the bootstrapper routine(writen in ASM). This is to be done before any OS loads. I am not sure how to call a 'C' binary that contains my logic, and run it without any environment. Maybe something like what a Live CD does while checking for available peripheral devices. Any help appreciated. Regards, Oricode.
-
Ttcpclient & Ttcpserver [delphi 7+]
by Departure- 3 replies
- 11.5k views
hey guys, Well I have started a nice little project but I have made a mistake some where along the line, As delphi programmers would know, Delphi has added in a new componate to replace the old socket client/server. They now use TTcpClient & TTcpServer from delphi 7, What i want is to get my project working, I did it the way I would write in vb6 or older versions of delphi (below version 7) but I seem to be missing something, all I really want is it to connect to server and send text, the rest ill continue doing later, I did have it conencted at one stage but I forgot what I change to make it connect correctly and did'nt save before closing the project down. This proj…
-
Enabling A Menu Button
by Sigma- 7 replies
- 4.2k views
Does anyone know how to achieve VEOVEO like behavior? I ideal would like to check to see if a certain window is running, then if that window has focus, and if so, enable the buttons. In a pseudo-code/C hybrid: if((Window_Caption == "My window") && ("My Window" has focus) { Enables buttons }I have no idea what to even look for API wise in MSDN, so I'd take any hints/suggestions/pointers. Thanks
-
Hide Oep
by diamond_sh- 2 replies
- 4.3k views
hi every one how can i hide oep address ? i need asm code for this work. plz help me.
-
Writing Simple Debugger
by Fungus- 9 replies
- 4.1k views
I would like to code a simple debugger, as I want to start working on making unpackers and some other stuff. I would appreciate any source code or info on how to write a simple debugger. For my first project I would like to code an .exe launcher than patches GetVersion in kernel32. Help would be much appreciated folks. TIA.
-
Delphi Vs. Vb.net
by cegy- 11 replies
- 6.9k views
Hi, i would like some help and view's on what you people think about delphi and vb.net. I would like to learn 1 of them has a proper language but i don't know which 1 to go nar do i have any idea's which 1 will help me the best with the support . I'll be mainly making any kind of apps. P.S. If you know of any websites which will help me within that language please let me know, Also let me know which version of what language to use is the best Many thanks cegy
-
String Format In C# (more Advanced This Time!)
by n00b!ICU- 2 replies
- 4.1k views
Is there anyone in here who could help me with this little problem here: I have a string of 30 chars, I want to divide that string into 3 lines with 10 chars at max per line. Only problem is; NO WORDS SHOULD BE DIVIDED INTO 2 PARTS, it must stop and choose next line if it see that the word is too long for the line.... What I have so far: String[] Splitter = input.Split(new char[] { ' ' });That code will then split the string into bits and parts, now to the rebuilding part where the actual help I need is needed.... Any good and valid suggestions? /Regards, n00b
-
Brute Force Algo In C And Asm
by Guest K.PAZ- 0 replies
- 3.5k views
Recently I was working on a crackme and I needed to bruteforce it. Since I could not find a decent algorithm for creating strings from a character set, I came up with this 2 algo's in C and Assembler. The algos are probably not optimized (the assembler one , for sure not), so if you have suggestions please go ahead and mail me. Since I am still a beginner in this I will appreaciate every comment. Algo in C ------------------------------------------------------------------------------------------------------------- void BruteForce();char *CharSet = "abcdefghijklmnopqrstuvwxyz1234567890 "; char a[32];//----------------------------------------------------------------------…
-
Code Execution Before A Program Is Run From A Dll
by SiliconShadow- 0 replies
- 2.8k views
Soemtimes when you have a exe say a application that uses the web or soemthing you want to analyse you make a little dll and hook a function and cal lthat function somewhere along the way. However sometimes you need the dll to only run the code before the exe is run itself perhaps to add some protection to your exe or other reasons use your imagination Basically some programs allow you to pack a dll with a exe and depending on the exe type the code in the main of the dll will execute before the program on others it wont. The reason for this is that soemtimes it ignores the dll totally so you need to create a false export and the dll and create a import on the exe befo…
-
Communication
by Scale- 6 replies
- 7.7k views
What is the best option to send to strings from 1 program to the other? At first i was simply reading the memory but on restart the address changes. Thanks allot!
-
Magic_h2001's V2m Player (c/masm/vb/delphi)
by mudlord- 7 replies
- 6.8k views
Herein attached is a modded version of KB/farbrausch's V2M player. Supports win98-me-2k-xp-2k3-vista Has static and dynamic libs for Delphi/VB/VC++/MASM32 Includes library support for PowerBASIC/many others.... Enjoy! V2mPlayer_VB_Delphi.zip
-
Madcodehook
by ChupaChu- 5 replies
- 8.4k views
autor states: read all about it here: h!!p://www.madshi.net/madCodeHookDescription.htm So if anyone has last free package, please share. TIA, ChupaChu!
-
- 5 replies
- 18.8k views
hi friends Please help me for get ProcessID From File name i have a process . this process hase not caption and i must get this process id . !!sorry for my Poor English!!
-
How To Search For Signatures
by Durchschuss- 6 replies
- 3.6k views
Do you know how PEiD (esp. KANAL) and ProtectionID search for signatures? Is it just searching for a coherent byte pattern?
-
Help Out With Patch In Delphi
by Guest Fellow Hacker- 13 replies
- 5k views
Alright Whatup Everybody I Am New To This Forum Thought I Do Know About Cracking. Problem Is I Dont Know How To Make My Own Patches So I Checked Here And Found Something Similar But I Need Help Changing It. begin assignfile(FB , original.caption); Reset(FB); b := $90; seek(FB,$00066C38); Write(FB,b); closefile(FB); end; end; How Would I Change This Code To Patch Many Offsets Instead Of Having To Repeat The Same Code Many Times. Any Help Appreciated Laterz, Short-Circuit
-
How To Disable Rich Signature In Vs2005 Linker
by Durchschuss- 6 replies
- 7.2k views
I already succesfully removed this **** from the masm linker as described in win32 assembly tut from goppit, but Asterix's signfinder doesn't find anything in the VS 2005 linker. Does somebody know how to remove it there? Manually removing it from the compiled exe is annoying.
-
- 11 replies
- 3.7k views
Hoy there fellas, I have this little problem here..... Im stuck with a text-line problem, so here it goes: I want to code an app which automatically selects a new line for each lets say 12 chars has been written, and then continue so on.... Anyone with any suggestions that might could help me out? /Dearest, n00b
-
Embed Form Into Other Apps Window [delphi]
by Departure- 14 replies
- 14.1k views
Just wondering if anyone has infomation about embedding your delphi app into another window, For example adding a richedit control from your delphi form into another app or even the whole form. I assume its done by using API calls but im not sure which ones, My guess is to find the handel of the control in other apps and set delphi form as child??
-
[delphi] Get Upload/download Speed
by 4e4en- 10 replies
- 6.1k views
Hello, i would like to know, how i can get actual upload/download speed, like DU Meter. I searched in MSDN, but i didn't found anything, usefull. Can you provide some info, or atleast function names. The best variant would be with small example. thanx.
-
About Displaying International Language
by cuties- 1 reply
- 2.9k views
I want to display my language in font that i have in asm. like the menu and all that how?
-
Writing Patch In Vb
by Pimp.exe- 5 replies
- 3.5k views
I had seen it asked for here and other places so I put together a .bas module for VB to create patches in VB rather easily. I had alot of code for this scattered and finally put it together. I made it as painless as possible I promise lol. Its all contained in a single sub and commented. Also comes with an example. Hope this helps some of you... http://rapidshare.com/files/64577808/VBOffsetModule.zip
-
Creating Buttons
by Mazuki- 1 reply
- 3.2k views
i am making an autorun for a cd im also creating, and can't figure out how to make a button either circle....or without a border, is there any way to do this with VB 6.0? really what i'm trying to do is make the button switch graphics when clicked, which i succeeded in, but have no border, right now there is an ugly grey square border around my circle graphic, and it makes for a nasty interface any thoughts? thanks for helping
-
How To Kill A Process From Your Application
by TheCodeCracker- 4 replies
- 3.6k views
hi I like to ask that how can i kill or close a process from my code suppose a process is already running in the memory e.g Notepad opened or some game is running than how can we close it from our code. (languages can be any :masm, c++, vb).
-
Hardware Bkpoint
by Rumour- 2 replies
- 3.5k views
How can set hardware bkpoint by asm code? (masm) Google find only in C: //Set your context flags like this this->cx.ContextFlags = CONTEXT_FULL | CONTEXT_DEBUG_REGISTERS;//Creates a Hardware Break on Execute Breakpoint bool DebugEngine::SetBreakOnExecute(DWORD addr) { if (!this->UpdateContext()) { return false; } cx.Dr0 = addr; // set Bp addr cx.Dr7 = 0x1; //activate it if(!this->SetContext()) { return false; } return true; }But I need in masm, google not find. I ask in ARTeam too. No answer. This perhaps somebody here have know how? Thank for all tip.