Programming and Coding
Programming and coding tips, help and solutions...
1,894 topics in this forum
-
Hi all, the program I'm working on allocates a block of memory of 0x66000 bytes. (Using Olly it is displayed on the Memory Map Tab) Every time I start this program it is 0x66000 bytes. Only the Base adres differs. I want to find this block of memory (if Olly can do it, It is possible) Using C# how should I do this? regards, ger
-
Something happened that usually never happens: Demo hardcore coders sharing their code. Kudos to that move />https://github.com/farbrausch/fr_public
-
Hi all, maybe the dummest quest of the day.... but msvs 2010 does not compile the '/', '*' and '%' operators.... (well it does compile, but the answers are not there.) I had the same issue using excell changed '/' to '-' problem solved. regards, ger
-
- 6 replies
- 6.6k views
- 1 follower
-
-
HiI got a nice keygentemplate and need transparant textboxes. I already have that but the text from the textboxes is strange... Look at the pic. Maybe someone does know how to get normal text there?
-
I generate some rsa keys with lockbox(c++ builder xe2) now if i whant us this keys i get an error invalid integer value: Her the keys i whant us: Puplic exponent E=EB0C Modulus N=75E7D3A2D3BC5366050B13B0D149479E8997EA705ABFE096528E9967DA0D763DCDC8B814F12BC005F08838350889832C67AFBEBCE3ECA772B8EA04F81C215A45FDC80CC29294F7E1474B656B8741AB6B8CDDB52274EF230E283F7DC4C570D855 Private exponent D=C3C37306BB25C9FFE62EE26B9393FF1986612B9A5256C5EF1A7BFEED58C3CDAB482F12DBAF751AB72C60737C3B0E0B421210A80DCF431B88ACD946A32AC7F90980E73BC6A7607E12F6133AF2D48048393C3E0AD89E0A150A3C86AB618E929B46 The keys looks like littel endian to me but i am not sure. This is the code i us to gen the rsa …
-
Hello everyone I have an EXE file packed by ASPACK. I want to write to a memory byte in real-time using asm code "mov byte ptr ds:[xxxxxxxx],xx" but when I do so, I get access violation error. I checked the EXE with some PE editors, code section flags was set to read/write/execute. so this won't gonna help me. what I need to do is, changing memory access in real time by using asm codes or any other way. when I load the EXE in olly and set memory mapping to full access, there will be no access violation error. I'll be pleased if anyone help me. thanks in advence
-
Hey Hey, I'm using Visual C++ 9.0 Express Edition, i'm trying to add a XM to a program the example file supplied with uFMOD are getting me no where, i'm pretty n00b at C++, but any kind of help would be great
-
Corkami PE Corpus [media]http://www.youtube.com/watch?v=MJvsshovITE Download Link: http://code.google.com/p/corkami/wiki/PE Ted. CPC-20111014.zip
-
Writing a program that recurses depends heavily on the stack; Is this a true fact? Example of a program is the legendary Towers of hanoi. //------------ //dexter #include<iostream> //the c++ standard library for stream input output #include<cstdio> //the c standard library for standard input output #include<cstdlib> //for the exit function using namespace std; class arr //arr class that holds each stag { public: int a[100],b[100],c[100]; int topa,topb,topc; }hanoi; int move=1; //counts the no. of moves int main() { void tower(int ,int *,int *,int *,int *,int *,int *); //function prototype void show(int); //function prototype int i; …
-
how to make a *. it [impulse Tracker] & *. mo3 [Compressed Modules] player with Delphi or C + + without the DLL, is there anything that has ever posted? ... may I know the link? whether Un4Seen.com provide Source Code / *. DCU [Delphi Componnent unit] Bass.dll? ... Thx B4!... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
Before flaming, this is a very old peice of snippet i had laying in my hd, so think before being a smart *** (example by kao is available below) and going "WHAT ????? you could of THIS instead of THIS...", no **** ? unit ToolHelp; interface uses Tlhelp32, Windows; procedure SuspendProcessThreads( pid: cardinal ); procedure ResumeProcessThreads( pid: cardinal ); Procedure UnprotectRegion(nRegion: Integer; dwRegionSize: DWORD); Procedure ByteJmp(Address : Integer); function WCharToStr(wideStr: PChar): String; procedure DbgLog(DbgStr: String); implementation Procedure UnprotectRegion(nRegion: Integer; dwRegionSize: DWORD); var oldProtect: DWORD; Begin VirtualProtect( Pt…
-
I was missing a comfortable way to manage complex data structures in MASM. Java coders will know the HashTable class, which is very useful to store data. i coded something similar with more functions for MASM and other programming languages. features: -it will organize memory itself (will use the windows Heap functions) -like in java you can access items via a key which can be a String or an integer -support for nested hashtables (so you can create very easy complex data trees) -save/load the hashtable to disk or memory (with nested hashtables) the example will show how to create following hashtable structure: ; ht_1 ; | ; +-0-->"hello 1" ; +-1-->"hello 2" ; …
-
File Name: Updated_Keygen Template in MASM File Submitter: genocide File Submitted: 20 Mar 2012 File Updated: 27 Mar 2012 File Category: Source Code This is just a simple keygen template ,hopefully useful for newbies like me , to know asm coding. The source codes are from : 1) ziggy's keygen for keygen me #01 2) text scroller from diablo2002 3) Nice "About " dlg box by EGOiST 4) Example of Playing .xm in asm by ALiEN 5) Some codes from ImportREC by MackT A big thanks to all above . Hope they won't mind it Any suggestions are welcome Thanks to mudlord for suggestions =[Read the read me file inside]= Click here to download this file
-
// In My Driver.Function ViC_ZwOpenProcess(PID: DWord): THandle; stdcall; var ProcessHandle: THandle; ClientId: CLIENT_ID; ObjectAttributes: OBJECT_ATTRIBUTES; const PROCESS_ALL_ACCESS: DWord = $001F0FFF; begin Result:= 0; with ObjectAttributes do begin Length:= SizeOf(OBJECT_ATTRIBUTES); RootDirectory:= 0; ObjectName:= NIL; Attributes:= 0; SecurityDescriptor:= NIL; SecurityQualityOfService:= NIL; end; with ClientId do begin UniqueProcess:= PID; UniqueThread:= 0; end; if (ZwOpenProcess(@ProcessHandle,PROCESS_ALL_ACCESS,@ObjectAttributes,@ClientId) <> 0) then DbgPrint('ZwOpenProcess: -> Failed') else Result:= ProcessHandle; end;Fu…
-
Hey guys, Anyone having the source code to StrongOD plugin for Olly? Or can anyone tell me what Kernelmode option is doing when using the StrongOD plugin. I am in the middle of developing my own plugin that actually works on Win7 or Win8 so far most (read all) Olly plugins are failing on the new Windows versions. best regards Snoopy
-
The tile says it all...how can i play xm files from resource files......i have found examples with tables but not with resource invoke uFMOD_PlaySong, ?????, ???????,XM_RESOURCE
-
Hello , Please help me on how to create about message-box with , black background with falling dots and a vertical text scroller . I am just a beginner in masm
-
Here is a DLL I have been working on. I intended this for my keygens and patchers, but figured I make it public. Calling conventions are _cdecl, iirc. Included is a example in C. Basically, this is a Nintendo Entertainment system music playback dll, for NSF/NSFE files.Due to the emulator used, the file size is quite big, but UPX does help somewhat. The emulator emulates all extension chips used for NES audio, including Sunsoft's expansion chips, as well as the VRC6/7 and Namco N-106 chips. EDIT: Also did a SNES SPC-700 emulator DLL. Same parameters as the NSF dll, same calling convention. Uses a much more accurate (cycle-exact) emulator then the dll "SNESAPU.DLL" thats fl…
-
Who can help me code demo a project "Download a file usesin' the ProcessBar" in Delphi? Thankx so much. ^^
-
I've listed a list (and listed them by order usage) of Winsock APIs needed in order to create a RAW packet sniffer... Needed APIs of WS2_32.dll 1. WSAStartup();2. inet_addr(); (Local Address, e.g: 192.168.123.XXX or the address you wanna capture packets from)3. socket(); ( IPPROTO_IP [Protocol] , SOCK_RAW [Type] , AF_INET [Family] )4. ntohs(); 5. bind(); 6. WSAAsyncSelect(); ( [hWnd] Handle to the class Window to receive Events, [Events] FD_READ )7. setsocketopt(); ( [LEVEL] SOL_SOCKET , [OPTION] SOL_RCVBUF )8. WSAIoctl();9. getsrvbyport();To stop capturing:1. WSAAsyncSelect();2. getsrvbyport();OnApplicationTerminate:1. WSACleanup();
-
Hello everyone, I was really bored and had a stupid idea: why not make a program that steals passwords from the users who use it? Before you continue reading you should know that we have about 32 computers at school who all run windows XP and require the user to log-in. The profile data is retrieved from a server and the teacher watches you (not going to sites like failblog.com) with a program called UltraVNC. To continue with this uber-lifeless post: I had the idea to make a program that looks exactly like the windows logon screen which steals passwords by storing them in a mysql database (freemysql.net). The funny thing is that the teacher behind his pc will see a login…
-
hi, i am writing a function in c++ (msvc2008 pro), which has to be "portable" (ie. no calls to other functions or APIs) and fast. At one point i am using something like while(tlen++ < total) *str++ = leChar;which works fine, but msvc choses to "optimize" it to a crt-memset call. :/ I generally noticed msvc is very keen on replacing code with crt calls to memset, even my custom memset-function, which uses an inlined REPMOV (and serves the sole purpose of making me independant from the crt...). Is there anyway i can turn off this specific optimization feature? I tried all sorts of linker switches; none of which worked properly.
-
Hello. This is in relation to a patch I'm working on. The description is based on IDA's output. There is a word area in data section called 'Time'. It's used like so: mov eax, Time What I want is a short way to assign a value to 'Time' before the above is executed. The data to use, I can make available through another register. If I try something like: mov Time, ebx it works when I run the program under IDA, but of course fails when run on its own. How can I avoid the relocation problem and do the assignment in as few bytes as possible, say 5? (No more room in the surrounding area). The above is for 32-bit but if you also have a 64-bit way that would be great. Thanks in a…
-
Hello everyone, I'm currently coding a project that uses TitanEngine, but because of portability issues I want to link everything statically... The problem is that the guide provided here doesn't really work At first I tried compiling the original DLL version, to test if the code was correct. It wasn't (1>.\TitanEngine.rc(10) : fatal error RC1015: cannot open include file 'afxres.h'.) and I "fixed" it by replacing "afxres.h" by "windows.h"... After that another error popped up because the author forgot to do: "#define IDC_STATIC -1". I defined it and the DLL compiles (and runs) without errors... Then I changed the output type to .lib (Static Library), compiled wi…
-
-
- 11 replies
- 8.9k views
- 1 follower
-
-
guys, i need create a dll, for breakpoint a adress and change the EAX register, how i can do it? i searched, but i cant find