Programming and Coding
Programming and coding tips, help and solutions...
1,894 topics in this forum
-
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
-
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…
-
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.
-
Anyone have source for a Pe editor or dumper. Any lingo is fine.
-
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
-
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.
-
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===================] [ …
-
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 can make Hook to rtcMsgBox...? i don't understand... similar to __vbaStrCmp... injert in msvbvm60.dll but can learn me about this? Thanks
-
Anyone have a tut on loading a PE file in C# or any source code?
-
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?
-
This is the simple Icon Changer.... Build With VB 6.0 Hopefully useful and good for Download Link "Hanjian"
-
What is it called that "PATH" accesses? Also how do you add and remove a directory to it?
-
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!
-
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…
-
I read that with the phoenix framework you can read/write MSIL, Can it? If so, does anyone have an example of using it?
-
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 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.
-
Hi, sometime ago, I got inspired by the Installer of the game: VietCong II. So, I have coded a custom installer for apps. Its not complete yet- some more features that I would add are; Region-able main window and buttons, masked about window, masked images as progressbar, support for installation using multiple CDs etc. The release I am posting here, is just a preview: its not fully functional yet. One more thing; I have coded a ShellTreeView like TShellTreeView of Delphi, but it might be buggy sometimes. Your suggestions, bug-reports and feedback are of immense importance. So plz let me know of your ideas and findings. Prof. DrAcULA }:-) pd_Installer.rar
-
as the title says, i am creating a new section and storing data in it, i would like to know the best way to store a large amount of data and read it back, perfer delphi, but any lang would be good.
-
This is some animation text with vb... VERSION 5.00 Begin VB.Form Form1 Caption = "Form1" ClientHeight = 3570 ClientLeft = 60 ClientTop = 450 ClientWidth = 7500 LinkTopic = "Form1" ScaleHeight = 3570 ScaleWidth = 7500 StartUpPosition = 3 'Windows Default Begin VB.Timer TmrAnim8 Interval = 50 Left = 6660 Top = 3780 End Begin VB.Timer TmrAnim7 Interval = 20 Left = 6210 Top = 3780 End Begin VB.Timer TmrAnim6 Interval = 50 Left = 5760 Top = 3780 End Begin VB.Timer TmrAnim5 Interval = 100 Left = 5310 Top = …
-
this is a anti loader trick writen in delphi. executing code in randomly place ( not a specific address ) only for fun !!! AntiLoader.rar
-
Pre-compiled header, and add conio.h and windows.h if anyone needs describition on what's going on or have a question, then post here and i will be glad to help out. // ConsoleInjector.cpp : Defines the entry point for the console application. //#include "stdafx.h"//DWORD dwProcessId;void inject(LPCWSTR procname, LPCSTR dll_path) { SIZE_T BytesWritten; HANDLE hSnap; PROCESSENTRY32 lppe; lppe.dwSize = sizeof(lppe); hSnap = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); Process32First(hSnap, &lppe); do { if( wcscmp( lppe.szExeFile, procname ) == 0 ) { printf("Found target!\n"); break; } } while( Process32Next(hSnap, &lppe) ); HANDLE hP…
-
Hey, I'm making a program atm which needs to open other processes, however there are a few processes that I've come across that use AddAccessDeniedAce and SetSecurityInfo to prevent me from opening the process. I can't use SetSecurityInfo to remove this attribute because that requires a handle to the process, which I cannot obtain due the the ACE. I can reverse this easily, but I'm trying to code it into a program that will work on all apps. Can someone give me some hints on how to open a process that's using AddAccessDeniedAce? I've been googling for quite a while but couldn't find anything useful. I don't want to do a system wide hook (at startup) because that would aff…
-
Hello Today we see a lot of applications which use the container file. How does this container file work ? We have many files and some folders with files in them, if i need to create a container to store them, how does it work ? Does it have a fixed header whihc has the file names and sizes ? Please shed some light on this