Programming and Coding
Programming and coding tips, help and solutions...
1,890 topics in this forum
-
[C++] Example_Loader
by Zer0Flag- 2 replies
- 10.9k views
Hello, I made a little loader for a reverseME from Lena151. In this case a Patch would be better but I made this for my own practice and I hope someone can use this souce to learn In the attachement you can finde the loader.exe and the reverseMe. #include <Windows.h>#define WIN32_LEAN_AND_MEAN #define VC_EXTRALEANint WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) {/* CPU Disasm Address Hex dump Command Comments 0040107B EB 1D JMP SHORT reverseMe.0040109A 0040107D . 6A 00 PUSH 0 ; Type = MB_OK|MB_DEFBUTTON1|MB_APPLMO…
-
ASP.NET: ASM to IL compiler
by sirp- 1 reply
- 7.7k views
Lately we have been swamped with Bill Gate's new .NET vision. Once again even respectable people are crying out that C++ and assembler programmers will become extinct dinosaurs. My reaction to that is: "It's not fair!" Why are they always picking on assembler programmers? We don't do a lot of harm! Just because we like to have total freedom and like to be close to our hardware doesn't make us bad people. Go pick on someone else (like LISP programmers. I don't like them). Frankly, I was getting a little tired of this whole discussion, so I decided to do something about it - by bringing x86 assembler programming into the .NET age. Well, at least to allow ASP.NET pages to be…
-
- 0 replies
- 3.4k views
Wrote a little app .. it first gets all OpCode Types through System.Reflection.Emit and then puts em in a DataGrid have fun ! MSILOpcodes.rar
-
learning C# by example
by CodeExplorer- 2 replies
- 6.4k views
learning C# by example />http://www.fincher.org/tips/Languages/csharp.shtml />http://www.java2s.com/Code/CSharp/CatalogCSharp.htm />http://en.csharp-online.net/Manipulating_Strings_in_CSharp%E2%80%94Extracting_Part_of_the_String />http://csharpindepth.com/Downloads.aspx
-
- 0 replies
- 4.9k views
BlackMagic -- Managed Memory Manipulation This is a class library to make process, thread, and memory manipulation a bit easier from a managed application. It takes care of most of the Win32 imports and a lot of the methods and tricks for you, making memory reading, writing, injection, execution, and DLL injection a snap, among a bit else. It uses ManagedFasm for JIT assembly, as well. Take a look through the code, the included examble, and the documentation. Most everything should be pretty easy and intuitive to use. If you have any questions, comments, or suggestions, please do not hesitate to post. Attached are the source, the documetation, and the binary class library…
-
How To Set Condition BreakPoint ?
by Sh4DoVV- 1 reply
- 6.5k views
Hi Friends How To Set Condition BreakPoint Like OllyDBG With A Debug_Loader That Coded By ASM ? Thanks
-
- 5 replies
- 7.4k views
Hello people i am using miracl and i was trying to implement a *SECURE*`elliptic curve standard. So my parameters should be valid. The curve details is: : type binary over 2^n : curve name: SECT-193R2 curve parameters: a: 0163F35A5137C2CE3EA6ED8667190B0BC43ECD69977702709B b: 00C9BB9E8927D4D64C377E2AB2856A5B16E3EFB7F61D4316AE n: 010000000000000000000000015AAB561B005413CCD4EE99D5 q: 02000000000000000000000000000000000000000000008001 Base point: x: 00D9B67D192E0367C803F39E1A7E82CA14A651350AAE617E8F y: 01CE94335607C304AC29E7DEFBD9CA01F596F927224CDECF6C The problem resides in the public point (x,y) are not getting accepted by miracl as members of the current curve …
-
modify the instructions in ollydbg
by tianna0370- 6 replies
- 7.8k views
Hello: I am developing a plugin for Ollydbg now, but I am struggled to modify the assembly code by Ollydbg API. For example, in the main windows, there is an instruction "PUSH EAX". I'd like to change it to "PUSH EBX". I have tried two APIs: Assemble() and Writememory(), but didn't success. Am I right? Could anyone write a piece of sample code for me? thanks a lot in advance. Fan
-
Service is runnig
by ragdog- 2 replies
- 3.2k views
Hi Can i get the status of a service (if closed or if running) Thanks
-
Hooking to defeat hardware breakpoints
by FlySky- 3 replies
- 7.5k views
Hey guys, New to the forum and wondering the following. Been doing reversing for a while now and recently jumped into unpacking. What I am facing atm is that a lot of packers are detecting hardware breakpoints. I am currently on Windows 7 64 bit version and none of the Ollydbg plugins are working for me, so I started looking in writing my own hooks. Been programming / coding for a couple of years in assembly and I am hoping you guys could push me in the right direction about hooking to prevent hardware breakpoint detection. The hardware breakpoint detection is accessed and controlled from an exception handler. So I read up about it and found out an area to hook could be h…
-
Vista
by ranadharm- 3 replies
- 10.3k views
hi dear all, i m a programmer and i created a VB-6 application. the problem is that it works fine on windows xp but it cant works on windows Vista. how can i make my application vista compatible.
-
Problem with get the first bytes file offset
by black8x- 5 replies
- 4.5k views
Hello all ! I got problems with the delphi code how get the first bytes file offset in delphi. It's works correctly which normal files and some packed files. But it returns wrong offset value when a file packed by Dwing WinUpack, FSG...may be the file's pe sections problems. I have been searching this question for a long time and no luck. i found on cracklab.ru a topic like this, correct me if i am wrong, but it has not solve yet. http://www.cracklab.ru/f/index.php?action=vthread&forum=6&topic=5930&page=0 Here is delphi code i am using. Many thanks in advance and hope you could help me figure out the problems. My apologies for wasting your time. Best Regar…
-
Error compiling loader in TASM32
by mscofield- 13 replies
- 9k views
hello friends , i want to compile the deroko example non-intrusive loader create in tasm32 for execryptor target, but ever that i compile show me the same message this is a log Microsoft Windows XP [Versión 5.1.2600] © Copyright 1985-2001 Microsoft Corp. C:\Tasm32\loader>makeloader C:\Tasm32\loader>..\tasm32\tasm32 /ml /z /m9 /q loader Turbo Assembler Version 5.3 Copyright © 1988, 2000 Inprise Corporation Assembling file: loader.ASM Error messages: None Warning messages: None Passes: 2 C:\Tasm32\loader>..\tasm32\tlink32 -x /Tpe /aa /c loader,,,..\importlib\import32.lib Turbo Link Version 1.6.71.0 Copyright © 1993,1996 Borland Int…
-
Making NFO Wiever [PROBLEM]
by RoYaL- 2 replies
- 4.1k views
I'm trying to make my first NFO viewer (and i'm a noob with VB.NET) and i am at good point but i have a problem with the font for display correctly the ASCII Infact the font that i need is Terminal but the application can read only True Type font, what can i do now? Thanks
-
HWID Protection System
by nerrazzuri- 4 replies
- 8.6k views
Been learning to code on this few months and saw some pay2cheat websites using HWID protection system. I was wondering how did they code these. I'm trying to learn on how the HWID system is coded. Any source to review with? Been googling for few hours and return with no result, most of the HWID protection system found on google were using Visual Basic instead of Visual C++. A source for an example would be great. Questions 1. How to generate the unique ID for every computers? 2. How did they host the HWID on the internet?
-
TELNET BOT
by JMC31337- 0 replies
- 4.5k views
...
-
Sorry to disturb...cryptopp
by _sb_- 3 replies
- 5.8k views
Well i have been coding in assembler from the very first day i started in the scene. but now i am really getting mad with this situation... I was reversing a software (my ideas here are doing a keymaker and cracked dll here). basicall this thing uses cryptopp - yeah big pain in the ***. what it does is ECDSAsignatureberify("OCDE"+username,signature).the signature is your serial number. i know this seems easy... that was what i thought too. but when i looked at it closer... omg the cryptopp libs are a total NIGHTMARE there are not any clear manuals anywhere where i really can know how this works. the signature produced by cryptopp for ecdsa is an array of bytes - how can t…
-
- 2 replies
- 3.2k views
hi , here is keygen source in C for deurus keygenme#02 by me here is keygenme link : http://crackmes.de/users/deurus/keygenme02/here is source of keygen by me in C language: gen(HWND hWnd) { char szname[1024]="",szserial[1024]="",final[1024]=""; long int s1=0,s2=0,s3=0,s4=0; int j=0; char *lpname=""; lpname = new char[32]; DWORD len=32; if (GetDlgItemText(hWnd,IDNAME,szname,256)<4) { MessageBox(hWnd,"Name Length Must > 3","hey!",MB_ICONINFORMATION); return 0; } else { for (int i=0;i<(lstrlen(szname)+1);i++) { s1=szname[i]+0x1CB1; _asm{ SHL s1,9} s2+=(s1+(szname[i]-0x40)); } wsprintf(szserial,"%i",s2); SetDlgItemText(hWnd,IDSERIAL,szserial); …
-
- 1 reply
- 4.7k views
I am trying to create a new process from current running process,am doing this with the zwcreateProcess function.(just for testing purpose).check the code below HANDLE fileHandle; OBJECT_ATTRIBUTES ObjectAttributes; UNICODE_STRING InputString; InputString.Buffer = L"C:\\users\\Tommy\\MyEXE.exe"; InputString.Length = wcslen(L"C:\\users\\Tommy\\MyEXE.exe")*2; InputString.MaximumLength = InputString.Length +2; ObjectAttributes.Length = sizeof(OBJECT_ATTRIBUTES); ObjectAttirbutes.ObjectName = &InputString; NTSTATUS status = ZwCreateProcess(&fileHandle,PROCESS_CREATRE_PROCESS,&ObjectAttributes,GetCurrentProcess(),true …
-
PEScrambler...
by Teddy Rogers- 0 replies
- 5.4k views
PEScrambler PEScrambler and source code attached... />http://code.google.com/p/pescrambler/ PEScrambler_v0_1.zip Ted.
-
Injecting Auto Orders In Client Terminal
by Nilesh- 0 replies
- 4k views
Hello, This is my first post in Tuts4you. I have watched I learn some basic techniques from Lena Cracking Tutorial. I am doing some experiment on Stock Market Client Application to extend his feature through OLE. But I am little unsure about which part of reverse engineering I have to use or learn. I am looking to send background orders in client application without running macros (Mouse Clicks,Keyboard Strokes). Here is picture (Buy.jpeg) for buy order when sent from client application (After Pressing Of "F1" Key) : For normal circumstances I have to fill Total Qty & Price section from keyboard stroke, Click on send button. This will place orders in exchange. But…
-
Local Area Connection - Controll
by eXec0d3- 4 replies
- 3.6k views
how can I change my Local Area Connection settings or disable/enable it... thanks
-
Quick Noob Question
by rendari- 4 replies
- 2.9k views
Hello all, I need to get some quick dirty patching done. Which APIs let you retrieve the Imagebase of a module in another process? I'm looking to get the ImageBase of a DLL loading into another process. Been googling a bit but cant seem to find it and its slipped my memory Thanks -r
-
from VA to File Offset
by eXec0d3- 10 replies
- 5.8k views
How can I Get File Offset from VA or RVA ? in delphi ^^
-
ASProtect 2.56 SKE - polymarker
by deepzero- 7 replies
- 4.7k views
Hi, I wanted to experiment a little with asprotects virtualization options and tried to virtualize a simple function: int deepzero(int x){User_Polymarkerint y = 22; y = (y * x) /5; y += 100;return (y); } But it doesnt work, User_Polymarker is not defined. The polymarker stuff is defined in a file called PB.inc, but it doesnt look like c++ to me...: ' PB include fileMACRO USER_POLY_BUFFER = ! DB &HEB, &H04, &HEB, &H05, &H39, &H19MACRO CRC_BEGIN ! DB &HEB, &H04, &HEB, &H05, &H19, &H01, &HE9, &H25, &H00, &H00, &H00, &H00, &H00, &H00, &H00, &H00 ! DB &H00, &H00, &H00, &a…