Programming and Coding
Programming and coding tips, help and solutions...
1,876 topics in this forum
-
[Delphi] Magic Api Hook Engine
by thaton- 15 replies
- 12.3k views
from : http://magic.shabgard.org Magic Api Hook Engine v1.0 (Delphi Source Code) this is a simple all around process Api hooker and Dll Injector. UserMode(Ring3) just for WinNT family. some examples included. http://magic.shabgard.org/MagicApiHook.zip
-
- 0 replies
- 2.6k views
Is there a plugin interface for firefox that allows adding image decoders? Basically I want to add an image decoder to firefox without rebuilding the source.
-
Create a debug mscorlib?
by high6- 0 replies
- 2.8k views
Well I came across an interesting article. http://www.codeproject.com/KB/dotnet/Debug...rk_Classes.aspx It is a bit old but with some modifications it works. I was reading about sequence points http://blogs.msdn.com/jmstall/archive/2004/10/03/237137.aspx. Is there any ways with ilasm to maximize sequence points? When debugging I stepped into Thread.Sleep() and got (from the il file I had created from that first link). .method public hidebysig static void Sleep(int32 millisecondsTimeout) cil managed { // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 IL_0001: call void System.Threading.Thread::SleepInternal(int32) IL_0006: ret } // end of method Thre…
-
C# .NET File.Open() strage behaviour
by Hikaru- 1 reply
- 2.7k views
Let's say I have a piece of code like this one: private void RecursePath(DirectoryInfo Root) { if (Root.Exists) { //System.Threading.Thread.Sleep(15000); FileInfo[] files = Root.GetFiles(); LastFile = ""; foreach (FileInfo fi in files) { try { LastFile = fi.FullName; FileStream f = File.Open(LastFile, FileMode.Open); f.Close(); //FileIO TestFile = new FileIO(LastFile, FileIO.FileIoMode.OpenExisting); } catch (Exception e) { PrintException(LastFile, e); } }Yeah, it's a bit ugly sorry. The point is that I'm having some troubles trying to understand why File.Open() throws PathTooLongException with paths shor…
-
ASM program
by as1- 11 replies
- 4.3k views
Where can I download an ASM compiler(I know its not exactly a compiler but for lack of a better word...)?
-
sound volume control problem
by alaphate- 0 replies
- 2.4k views
Hi, buddies, I used webbrowser (IWebBrowser2) in my code, and I want to disable the navigation sound when I click a link. In case of changing system sound, I'd like to mute my application only. Just like some movie players, they can adjust their volume individully. Thank you for your help.
-
Ollydbg load source code
by Scale- 5 replies
- 11.5k views
I am a beginner in c++ but i noticed that when i wrote a c++ dll and then loaded it into olly so i could check if everything worked, it would also display the source of what every operand does. It happens completely automatic however this time it does not, so how can i load my source code into olly? thanks
-
Stitchy SID?
by Jaymz- 0 replies
- 2.8k views
Sorry if the topic can be found somewhere in this forum, i used the search with several search words and couldn't find it.. if someone knows the URL to some page where i can get this open-source sidchip player (source codes) please post it here.. Thanks. edit: working on a intro where i want to play c64 sidchip tunes edit2: found it myself,here's the link for anyone interested about it: Stitchy SID
-
Tow functions
by HelloRootkit- 1 reply
- 2.9k views
BOOLEAN __stdcall fake_KeInsertQueueApc(IN PKAPC Apc, IN PVOID SystemArgument1, IN PVOID SystemArgument2, IN KPRIORITY PriorityBoost) { PEPROCESS pTargetProcess; PUCHAR pTargetProcessName; ULONG XXThread; //------------------------------------------------------------------------------------------------------- pTargetProcess=IoThreadToProcess( (PETHREAD)Apc->Thread ); // pTargetProcessName=(PUCHAR)((ULONG)pTargetProcess+g_ProcessNameOffset); pTargetProcessName=PsGetProcessImageFileName(pTargetProcess); //-------------------------------------------------------------------------------------------------------// if ((strcmp(pTargetProcessName,"notep…
-
- 4 replies
- 2.9k views
Well the provided .def file mismatches with the provided header. How so? Well the header defines every function normally but the definition file defines every function with a underscore in front of the name. So instead of redoing the header file. Can I regenerate the .def file without underscores? Edit: Even though msvc prepends _ to the name it can't find the external reference unless I prepend a _ myself.
-
Pe editor/dumper
by 0ron- 0 replies
- 4.1k views
Anyone have source for a Pe editor or dumper. Any lingo is fine.
-
Help about dialog for masm
by Vi2DoubleYu- 1 reply
- 2.6k views
hi all thanks for you time, i got trouble with about dialog. i use keygen template from ufo-pu55y and about dialog like star fall. but i think i need move it up. what i need to do. if need a bones.inc file for that about dialog, i think i can upload it on here for check it. thanks for your help. regards Note : I added asm file for this troube too... bones.rar IUG_Keygen_GIF_1.rar
-
Loading proc from a dll
by ShadowRayz- 2 replies
- 3.2k views
Didn't see fit to put it in Reversing, its more of coding i think... Well, i try to load a .DLL and, to load one of it's processes...i wrote a test cpp code just to check that the proc name really does exist and it was added to the .DEF and all...everything's fine...it returns a handle to the DLL and the Process, as you can see here. but when i get to the GetProcAddress in olly with code i wrote in the cave, it fails and gives me LastErr = ERROR_MOD_NOT_FOUND. what have i done wrong? thanks.
-
Load Dll Directly From memory
by Departure- 19 replies
- 14.5k views
While I was wondering around on the net a stumbled accross and interesting example, Corvu5 has showen this example in delphi {[===========================================] [?]uDllFromMem - Loading a DLL from Memory[?] [v] Version 1.0 [v] [c] Hamtaro aka CorVu5 [c] [@] hamtaro.6x.to OR corvu5.6x.to [@] [================Description================] [With this Code, you can load a DLL in your ] [application directly from Memory, the file ] [doesnt have to be present on your Harddrive] [===================Note====================] [ This example doesnt work with Bound ] [ Import Tables at this time ] [==================thx to===================] [ …
-
DLL Injection -> Writing in Executable Memory
by Hyperlisk- 3 replies
- 3.6k views
Okay, so I thought I knew how to do this, but apparently not... Here's the situation... I'm currently messing around with DLL injection, using Mine Sweeper as my target. I'm just trying to get my DLL code to be able to write in Mine Sweeper's executable memory. I thought that VirtualProtect() would help me there, but apparently not... Any suggestions? This is what I'm currently doing in my DLL code, just trying to do a 1-byte patch, lol: char* addr = (char*)0x00BA76A0; if(!VirtualProtect((LPVOID)addr,1,PAGE_EXECUTE_READWRITE,NULL)){ MessageBox(NULL,"Couldn't protect the memory...","Fail...",NULL); }EDIT: Nevermind, I'm stupid. I just used WriteProcessMemory()…
-
How make Hook to rtcMsgBox?
by c0lo- 1 reply
- 3.2k views
How can make Hook to rtcMsgBox...? i don't understand... similar to __vbaStrCmp... injert in msvbvm60.dll but can learn me about this? Thanks
-
loading PE file in C#
by 0ron- 0 replies
- 2.5k views
Anyone have a tut on loading a PE file in C# or any source code?
-
C++ edit malloc for shared memory?
by high6- 4 replies
- 3k views
How do you edit "malloc" to alloc shared memory? Am I going to have to dig the source out of the cpp file and redefine it?
-
Icon Changer n Validate PE
by hanjian- 0 replies
- 2.4k views
This is the simple Icon Changer.... Build With VB 6.0 Hopefully useful and good for Download Link "Hanjian"
-
add/remove cmd "PATH"?
by high6- 4 replies
- 3.5k views
What is it called that "PATH" accesses? Also how do you add and remove a directory to it?
-
How to make a EXE protector in Delphi
by HEROiC- 6 replies
- 6.3k views
Hello, I try to make an exe protector like ASPackDIE and Themida. But i have a couple of questions: - How do they hide any string in the .exe ? - Can som1 give me some source codes ? Thnx in advance!
-
- 1 reply
- 2.7k views
Hey everyone, I'm looking to learn how to write a c script I can run that will write the output of a program to another file. Do I just write a small c program that calls exec() and I can get the variables from there? I'm having a hard time searching for some kind of tutorial on what to do, can anyone enlighten me/point me in the right direction? EDIT: So I now understand how to write a shell script to get the output of a program, this was apparently to easy to think of to start with... I'm now looking into how to get specific variables from the output/specific lines, say an output line starts with foo:, can I just get the output of this line? EDIT II: I now underst…
-
phoenix framework?
by high6- 0 replies
- 4.3k views
I read that with the phoenix framework you can read/write MSIL, Can it? If so, does anyone have an example of using it?
-
PLz help me
by MIt- 0 replies
- 2.6k views
Dear Bros I know little bit c# language, im lazy fellow if i did't understand some topics i do't study further , plz refer some text book that is meant newbies n practical oriented. meself i rate 1 out 5. ASP.Net books also. Thanx
-
I would like to code a 2D scroller in ASM
by powerpenguin- 1 reply
- 3.1k views
I would like to start a side ways scroller in ASM. I was using VC++ 2005 which compiled some small tutorials quite well. Does anyone have any code to share, that work in VS 2005 (ASM), or other insights or tools? BTW, there was nothing in the book I was reading (ASM book) about graphics work. Meanwhile I guess I'd better reinstall VS 2005.