Programming and Coding
Programming and coding tips, help and solutions...
1,876 topics in this forum
-
Directory Listing In Asm?
by Pimp.exe- 2 replies
- 3.1k views
I know this should be simple and to many of you it probably is, but I am using RadASM and have a dialog with a listbox on it. What I want to do is fill this listbox with every .mp3 file in D:\Music. I have tried the invoke DlgDirList and the SendMessage LB_DIR but with no success. Program would either crash or simply give me an empty list box. I did debug it with olly, and still am unable to find out the solution. If anyone could, can I get a working way to do this? Please remember that the less code the better as asm isnt my strongest language. Thanks guys.
-
Wat Programing Languages R There
by cegy- 6 replies
- 3.6k views
i was wondering wat programing language is there that u can make ur own patch/ keygens in i know a few of them but i would like to c wat u guys say. delphi c++ c asm vb vc.net c#
-
Saved By Olly?
by Scale- 1 reply
- 3.9k views
I wrote these 2 tiny functions and they work perfectly when its running in olly but if i try to run it stand alone it crashes :S Now the only thing i can think off that might be causing it are the MOV ECX's they used to be like MOV ECX,DWORD PTR SS:[EBP+0x144] I had to hard code that value becuase EBP isnt set correctly since i call the function from different locations that they should. But if thats the case how work it does work when olly runs and doesnt when its not. function 1: PUSH 0x7 //default MOV ECX,0x147740 //hard coded value CALL 0x04EC933 //default PUSH 0x0 //default PUSH 0x0 //default PUSH 0x0 //default PUSH 0x0 //default PUSH 0x1F //hard co…
-
D3d9 In Game Menu
by ragdog- 1 reply
- 4.1k views
hi i search a directx9 in-game menu with drawtext funktion in masm can your help me please? greets ragdog
-
I Need An Easy Crackme Source Code
by Guest salam2002- 5 replies
- 5.9k views
Hi all, Could you please post source code for a very easy CrackMe. I'm not VC++ programmer, but i need this source code *urgent*. Thanks.
-
Uallcollection Download
by ChupaChu- 3 replies
- 4.9k views
Get it here: uallCollection.zip Its powerfull sources in Delphi - pretty hard to find (my provider had it blacklisted, thanks to people whom helped me to find it!) BTW: if anyone has original examples for omorphia project (that have been removed from inital package), please share it! EDIT: thanks to SK for providing link to omorphia project! Hope this will help to all Delphi coders Best Regards, ChupaChu!
-
Link Error [c++]
by Guest [n]ewcom3R- 5 replies
- 3.3k views
Hi all, I have a big problem!! I wanted to create a C++ app. I have a resource file with dialog.. I defined my functions in a file named threads.cpp and the prototypes in a file named threads.hpp. The main dialog was defined in main.cpp when i wanted to compile the project there were serveral errors: main.obj ERROR LNK2005 main.obj ERROR LNK2019 here are my files: threads.cpp #include "fstream"using namespace std;bool CreatePhPLoaderFile(char* PhpFileName){.... }threads.hpp #include <windows.h>#include "Threads.cpp" #include "resource.h"HINSTANCE hInst; HWND dlgMain;bool CreatePhPLoaderFile(char* PhpFileName); and now my main.cpp <div class='codetop'&…
-
- 3 replies
- 3.6k views
Hi all, I gave an example of keyfile that patch directly in the registry, you just put a destination in the source my source unit Main_Form; interface uses Windows, SysUtils, Classes, Controls, Forms, StdCtrls, Buttons; type TMainForm = class(TForm) Button2: TButton; Edit1: TEdit; Label1: TLabel; Label2: TLabel; procedure Button2Click(Sender: TObject); private { D
-
Delphi To Fasm
by Isaev- 3 replies
- 16.3k views
Function GetAppDataPath:String; Var Test:Array[1..255] Of Char; Begin FillChar(Test,SizeOf(Test),Ord(' ')); SHGetSpecialFolderPath(Application.Handle,@Test,CSIDL_APPDATA,False); Result:=Trim(Test); End;Path:=GetAppDataPath+'\mypath\txt.txt';
-
Using An Nfo File In Masm?
by zart- 6 replies
- 3.6k views
Hey guys, I've searched through the forum so I don't believe this has been asked yet. I did find an example by UFO-Pu55y in the PNG keygen template he released. Though I was wondering if someone could provide a "watered down" example of an nfo viewer in masm? I sort of understand whats going on, but something a bit simpler would be much appreciated. Maybe I'm just being dumb but I was wondering if this is basicly what needs to be done; Load nfo from the resource, dump it into a text box and set the text box to be the Terminal font. Thanks, and sorry if this is a dumb question.
-
- 2 replies
- 3.7k views
Anyone can help how to make Tab Control in masm like this I try to make Tab Control but program can't run
-
Detect If File Exists
by ChupaChu- 4 replies
- 3.3k views
I was trying to detect if syser is runing or not, idea is if it is running read access to its driver file will be denied.. balah blah.. but strange thing happens when i execute this code: function isitthere:boolean; var s:pAnsiChar; s1,s3:string; begin GetSystemDirectory(s,255); //s is Pchar of system folder (e.g. c:\win\system32) s1:=String(s)+'\drivers'; //s1=drivers path of windows - where sysboot usualy is.. SetCurrentDir(s1); //change to s1 dir s3:='SysBoot.sys'; Result := FileAge(s3) <> -1; //look for file s3 (true if its there false if not there) end;When i run this code it throwas an exception - access violation of some kind, then i terminate the process …
-
How To Convert String To Pansichar Type?
by ChupaChu- 2 replies
- 9k views
How do i convert Strings to PChar type? And how can i concatenate parts of type string with parts of type PChar and PAnsiChar? or How do i concatenate (put together/stick) multiple variables (in one) of type PChar? if i use 'bla bla' in function that requires PChar it is ok, but if i want to put together my string and for example TEMP path of my system (GetTempPath(255,P) will give us P in PChar type that has value of temp folder location) How to do that?
-
Serial Sniffer Code With Visual Basic?
by Matrix- 4 replies
- 3.9k views
Hi Friends i want a VB sample for Serial Sniffing , may you help me plz ? because i not found sample in Internet Tanx
-
Windowless Control Buttons
by wouldbehacker- 1 reply
- 2.9k views
Hello I was wondering if anyone has investigated windowless controls ? Tools such as Spy++ provided with VC++ cannot tap into the messages sent between these and the container. I'd like to be able to hook into the place where the 'hit area' of the button is and its status. As the buttons are just 'painted' onto the screen theres not a lot of into go on and my reversing skills are not up to the job yet. Any advice would be greatly appreciated or if you have time I'd gladly pay for C++ code which shows a solution to the problem. Thanks !!
-
Decrypt File Into Memory
by Matrix- 10 replies
- 4.5k views
Hi Freind i encrypted a file with AES algorithm and i want decrypt it into Memory via a Program, i don`t want make any temp file . plz help me
-
Polymorphism In Delphi
by midnewbie- 0 replies
- 3.4k views
hi, i wanted to make this simple Crypter Stub (not the body that is crypted) polymorphic which is on every crypting exe generating diffrent kind of code for the Stub, just like morphine. but i have no idea technically what Polymorphism looks like other that the Definition the defnition says Polymorphic exe is a program which generates different code algorithm on every execution, can it be done with delphi code show me how please for i have attached some delphi simple xor crypter. here is the Stub Code --> procedure AddExeLoader; procedure _load_iat; stdcall; forward; procedure _load_code(lpLoadLibrary, lpGetProcAddress: Pointer; lpSectionBegin: DWORD); stdcal…
-
How To Dump Memory Of Process Programatically?
by rongchaua- 2 replies
- 3.9k views
Hi all, I would like to dump the memory of a process to a file (as we use Winhex to dump memory and save to file). But I don't know where to start. Are there any library to do that or some tutorial about this problem? Thank you very much. rca.
-
- 7 replies
- 8.6k views
This is some code i found on Ap0x site, its a debuger detection algorithm. .model flat, stdcall option casemap :none ; case sensitive include \masm32\include\windows.inc include \masm32\include\user32.inc include \masm32\include\kernel32.inc includelib \masm32\lib\user32.lib includelib \masm32\lib\kernel32.lib .data DbgNotFoundTitle db "Debugger status:",0h DbgFoundTitle db "Debugger status:",0h DbgNotFoundText db "Debugger not found!",0h DbgFoundText db "Debugger found!",0h .code start: LEA EAX,DWORD PTR[IsDebuggerPresent+2h] MOV EAX,DWORD PTR[EAX] MOV EAX,DWORD PTR[EAX] CMP BYTE PTR[EAX],64h JNE @DebuggerDetected PUSH 40h PUSH off…
-
Pezip 1.0 Source Code
by Teddy Rogers- 0 replies
- 3.4k views
This is the Delphi source code to PEZip v1.0 by Baggie. Maybe it is of use to someone who wants to study using ZIP compression... Pezipv1.zip Ted.
-
Delphi Inline Asm
by ChupaChu- 2 replies
- 4.1k views
I wonder if there is a way to hide calls i make from inlined asm? For example if i call RDTSC regullary (every few sec's) to check if code execution is geting too slow (usualy means: i'm being debuged) by searching my exe for '0F 31' bytes or RDTSC command in olly this anti-debug trick is very easy to be found. So is there a simple way to get around this? Regards, ChupaChu!
-
Cpp, C#, .net ,asm Tut
by d3will- 8 replies
- 4.6k views
rapidshare.com/files/46308204/pcasm-book.pdf rapidshare.com/files/46308878/Wiley_-_Assembly_Language__Step-by-Step_by_Jeff_Duntemann__1.pdf rapidshare.com/files/46309054/CodeNotes_NET.pdf rapidshare.com/files/46311087/cppvidtut2_wmv.rar rapidshare.com/files/46311156/csharp_03.pdf rapidshare.com/files/46311387/Dissecting_A_CSharp_Application.pdf rapidshare.com/files/46311656/ProgrammingVBDotNet.pdf " source: rapidshare.com/files/46311667/programs.7z " rapidshare.com/files/46307097/01.7z rapidshare.com/files/46307392/02.7z rapidshare.com/files/46307607/03.7z rapidshare.com/files/46308103/04.7z rapidshare.com/files/46308499/05.7z rapidshare.com/files/46308837/06.7z rapidshar…
-
Asm Opcode Rol?
by ChupaChu- 6 replies
- 4.1k views
I am coding a keygen, and im stuck. I'm writing it in Borlad Delphi 10. In target AL value is ROL-ed with CL value. e.g. ROL 16,32 would give 58 as result! (if using EAX and ECX one would get 580000 all in hex!) ROL 69,48 would give 69 as result! (if using EAX and ECX one would get 6900 all in hex!) Now this i canot do in delphi: 1. ROL as such does not exist in delphi (so i cant implement asm code part (c/p) from source target). 2. i tried using SHL - what gives correct/SAME values as ROL if calculating with dword values, but as i must calculate byte values (AL,CL) i get wrong result. 3. implementing asm part in delphi with SHL al,cl gives me a [Pascal Error] : E2107 Ope…
-
Assm & C++
by ReiKo- 19 replies
- 5.7k views
First of all i woud like to say that my goal from this two programing lang. is to make future cracktros. I have some questions and woud like some opinion on them. Is Assambler or C++ better for makeing cracktros? I have much more experience in C++ and it seems very interesting to me, but as i see lots of cracktros / keygens are coded in Assambler. These are issues : Assambler - Fast - Much smaller exe's - It's good to know it for your cracking skills C++ - It's newer lang after all and I can do more with it later if I dont do only Cracktros/Demos, ( I can make games,applications and etc. ). - I have more experience on it then on Assambler - Easier to learn and advanc…
-
Terminateprocess Does Not Work Every Time
by ChupaChu- 4 replies
- 4.5k views
I want to be able to kill EVERY process no mather what, but it seems code i'm using is not good enough to do that. Here is what i use: I find handle of process using something like this hProcess:= OpenProcess(PROCESS_ALL_ACCESS, TRUE, aProcessId); Then i try to kill it with this: TerminateProcess(hProcess, 0); Problem is it works with notepad and similar programs, but not with many others.. Any sugestions? Regards,ChupaChu!