Programming and Coding
Programming and coding tips, help and solutions...
1,890 topics in this forum
-
- 3 replies
- 6.9k views
what the problem with this injection code 00412148 . 73 68 65 6C 6C 33 32 2E 64>ASCII "shell32.dll",0 00412154 00 DB 00 00412155 . 53 68 65 6C 6C 45 78 65 63>ASCII "ShellExecuteA",0 00412163 00 DB 00 00412164 . 6F 70 65 6E 00 ASCII "open",0 00412169 00 DB 00 0041216A . 73 61 61 64 69 2E 65 78 65>ASCII "test1.exe",0 00412174 00 DB 00 00412175 > 68 48214100 PUSH KeyGEn6.00412148 ; /FileName = "shell32.dll" 0041217A . E8 FCFB3E7C CALL kernel32.LoadLibrar…
-
Winasm Studio (Source)
by CodeExplorer- 3 replies
- 8.9k views
posted by besimbicer on BlackStorm board its code page />http://anonym.to/?http://code.google.com/p/winasm-studio/ googla download page />http://anonym.to/?http://code.google.com/p/winasm-studio/downloads/list cool addons here />http://anonym.to/?http://www.winasm.net/download-add-ins.html WinAsm.5.1.8.7 src.zip
-
[Help] Algo reversing and rewriting
by bloodyshade- 5 replies
- 8.8k views
Hi, Basically, I'm having trouble while trying to rewrite this algo in python: http://codepad.org/TzClwG0f The following is my python code so far: http://codepad.org/FoNjfrNf The problem I'm facing right now is with the "imul edx, esi" part. Actual output after each imul: edx = 00440DE5; esi = 0000D1E7 edx = 153FD307; esi = 0044DBC9 edx = 21D9FD55; esi = 157B0901 edx = A060DCA8; esi = 34A2F56E edx = 792A72E4; esi = 94C22C24 edx = 776312D0; esi = EDE861A8 edx = C9C94B03; esi = 9A8B79F1 edx = E974DC40; esi = 53423F50 edx = A48678AD; esi = BA36FD3D edx = FE839AA6; esi = 1EB0B64B edx = AA45EBF7; esi = E033912D edx = 203A5ABC; esi = 4A7746ABAnd this is my code's output: edx = …
-
- 0 replies
- 3.2k views
Hi, i am looking for some one who expert in Ollydbg/C++/C##, i have the few projects i will give handsome amount for that or i can do agreement on per month bases, please PM me thanks
-
How to make C# pe editor
by 0ron- 11 replies
- 6.2k views
Does anyone know of an open source project thats directed towards a C# pe editor? Got any code anyone? I basically want to make something similar to LordPE
-
[help downloading]youtube account creator source
by Hello EMO- 0 replies
- 3.4k views
hello members i am need a youtube account creator source have a link and my dont download from now show me ads help for me to link />http://fileml.com/0GA888 orginal topic source />http://www.vb-board.com/showthread.php?tid=1001 program language : visual basic 6 edit : i am download file close my topic
-
[PLS HELP] Encrypt Password ?
by Tr0JA- 1 reply
- 7.7k views
Hi tuts4you.com I Need Password Zip for Extract !? [PLSSSSSS HELP ME] Hire is the Original post from Autor: PLSSSSSS HELP THANKS TO ALL
-
- 1 follower
- 33 replies
- 29.7k views
This is the decrypt function ripped from the latest {smartassembly}. Credits: High6 - Coding a deobfuscator (UnControl flowing). Kurapica - Deobfuscator (For renaming) public static class BlockDecryption { class Class_72_Object { // Fields private static int[] Field_0 = new int[] { 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xd, 0xf, 0x11, 0x13, 0x17, 0x1b, 0x1f, 0x23, 0x2b, 0x33, 0x3b, 0x43, 0x53, 0x63, 0x73, 0x83, 0xa3, 0xc3, 0xe3, 0x102 }; private static int[] Field_1 = new int[] { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x1, 0x1, 0x1, 0x2, 0x2, 0x2, 0x2, 0x3, 0x3, 0x3, 0x3, 0x4, 0x4, 0x4, 0x4, 0x5, 0x5, 0x5, 0x5, 0x0 }; p…
-
[Delphi] PEB Module Manipulation
by abhe- 0 replies
- 7.8k views
just some function for manipulate module in PEB... { U_PEBModule Author: Abhe Description: Some manipulation Routine In PEB Ldr Data Release Date: 23th april 2011 Website: http://cybercoding.wordpress.com/ } unit U_PEBModule;interface uses windows, sysutils, JwaNative, JwaNtStatus, NcxNtTeb, NcxNtDef;Procedure EnumPeb(ph:Thandle); Function RemoteModuleHandle(ph : THandle; Modulename: PWidechar):DWord; Function RemoteModuleImageName(ph,Mh : THandle):WideString; Procedure RemotePatchModuleFileName(ph,mh : THandle; NewModulename: PWidechar); Procedure UnlinkModule(ph,mh : THandle); implementationtype PROCESS_BASIC_INFORMATION = record ExitStatus: Cardinal;…
-
Good Coding Practice?
by Jkimble- 7 replies
- 7.3k views
I just have a quick question. Is it considered bad coding practice to break out of a loop using a return statement? I have been told from previous professors that using "break" in a loop is a bad idea but not sure about using a return statement. I'm writing the code in Java. Thanks for any feedback.
-
- 12 replies
- 8.9k views
So I have a visual c++ keygen template, but it's just a terminal. It's for visual c++ 2010, but I can't make the main show the form and play the chiptune. The original main looks like this #include <stdafx.h> #include <iostream> #include <windows.h> #include "monday.h" //chiptune header file,change to any if you want #include "ufmod.h" #include <mmsystem.h> #include "Form1.h" HWAVEOUT* hWave=0;#pragma comment(lib,"winmm.lib") #pragma comment(lib,"ufmod.lib")using namespace std;int main(array<System::String ^> ^args) { hWave=uFMOD_PlaySong(table, (void*)sizeof(table), XM_MEMORY); system("PAUSE"); return EXIT_SUCCESS; } and this …
-
- 13 replies
- 7.3k views
I have a dll that i would like to use, however i'm not quite sure of how to use the functions provided by it. Using PE Explorer i find there there are 3 functions. The DLL is not packed. What is the best way to find out what arguments the functions take and return? more or less how can i find out how to use it without having the documentation? I also have a program that uses the dll properly but i think it might take more time to reverse the app to see how it uses the dll? Thanks.
-
Implementing POKEs in VB.NET
by euverve- 2 replies
- 6.8k views
I am new to VB.net but not new in gamehacking. I know how to use Olly Debugger. I am using Game Trainer Studio to create trainers. My question is how could we implement POKEs in VB.net. Example: Poke 00426C30 90 90 90 90
-
Code2Code.net: translates your C++ code into C#, VB.NET,
by CodeExplorer- 5 replies
- 7.2k views
Code2Code.net: translates your C++ code into C#, VB.NET, />http://code2code.net/
-
injection : how to add messagebox to exe
by Pushad- 3 replies
- 4.1k views
i want inject messagebox in exe from start with ollydbg
-
Inline OEP finder
by listito- 1 reply
- 15.2k views
I'd like to code an OEP finder for aspack for example, so to do it i'm going to have to make a simple debugger and do all things we ussualy do with olly to find it's oep?
-
Queryassemblyinfo - problem solved
by CodeExplorer- 3 replies
- 4.2k views
QueryAssemblyInfo ****s my brain if I remove the two comment (lines) gacfilepath will have the right path; if I don't gacfilepath will be null; Assembly executingasm = Assembly.GetExecutingAssembly(); string currentassemblyname = executingasm.Location; string asmname = executingasm.GetName().ToString(); //int untilat = asmname.IndexOf(", PublicKeyToken="); //asmname = asmname.Remove(untilat, asmname.Length-untilat); string gacfilepath = Fusionhelper.QueryAssemblyInfo(asmname); Any idea guys?
-
JaCIL: A .NET to Java Compiler
by CodeExplorer- 2 replies
- 5.5k views
JaCIL: A .NET to Java Compiler JaCIL (pronounced "jackal") is a project to create a byte-code compiler to translate .NET assemblies to Java class files. Link: />http://sourceforge.net/projects/jacil/
-
Windows Hook Library
by CodeExplorer- 0 replies
- 5.2k views
Windows Hook Library The WindowsHookLib is a single library to hook the mouse, keyboard and the clipboard system wide. WindowsHookLib library is written in C# and there for it uses Common Language Runtime (CLR). This means that the library can be referenced from various projects in Dot Net. The mouse and keyboard hooks are low level so you can use the Handled property of the MouseEventArgs or the KeyboardEventArgs to prevent the windows messages be passed to the other applications. Note you need to use the dll file not the classes in your projects; otherwise they might not work correctly. Link: />http://www.code2point.com/Project.aspx?proj=4
-
- 0 replies
- 3.8k views
Found a nice snippet it's from the book OReilly.C.Sharp.4.0.in.a.Nutshell Packing a single-file executable: using System; using System.IO; using System.Reflection; using System.Collections.Generic;public class Loader { static Dictionary <string, Assembly> libs = new Dictionary <string, Assembly>(); static void Main() { AppDomain.CurrentDomain.AssemblyResolve += FindAssem; Program.Go(); } static Assembly FindAssem (object sender, ResolveEventArgs args) { string shortName = new AssemblyName (args.Name).Name; if (libs.ContainsKey (shortName)) return libs [shortName]; using (Stream s = Assembly.GetExecutingAssembly(). Ge…
-
data transfer between user and kernel mode
by abhijit mohanta- 2 replies
- 5.8k views
I am new to device driver programming.I was going through the following link http://www.codeproject.com/KB/system/hide-driver.aspx NtQueryDirectoryfile in the diagram in the section named "NT Function Call Scheme and Hook" returns an process list. Can anybody tell me how does the list transferred to user mode. Please give me a little detailed description like how irp wud be filled with data etc.
-
c++ & gdi+: stretch a screenshot
by deepzero- 1 reply
- 7.6k views
hi, for quiet some time i am occupied by this little assignment: my code: int GetEncoderClsid(const WCHAR* format, CLSID* pClsid) { using namespace Gdiplus; UINT num = 0; // number of image encoders UINT size = 0; // size of the image encoder array in bytes ImageCodecInfo* pImageCodecInfo = NULL; GetImageEncodersSize(&num, &size); if(size == 0) return -1; // Failure pImageCodecInfo = (ImageCodecInfo*)(GlobalAlloc(0,size)); if(pImageCodecInfo == NULL) return -1; // Failure GetImageEncoders(num, size, pImageCodecInfo); for(UINT j = 0; j < num; ++j) { if( wcscmp(pImageCodecInfo[j].MimeType, format) == 0 ) { *pClsid = pImageC…
-
nasm assembler input output
by sage1130- 1 reply
- 14.6k views
I want to write an assembly language program for nasm assembler which will read an integer and print the same in linux. The program should keep reading integers until a particular integer say 50 occurs. When 50 occurs program should not print it and exit. But I don't know how to input integer. Can someone explain and give the complete asm program? Thanks
-
API Hooks Detours in MASM32
by clip- 12 replies
- 8.6k views
Hi, I'm working on a socket debugger, I know there are plenty of this around, but I want to learn how to make my own in MASM32. Initially I'm trying to hook the "send" function from wsock32.dll then open firefox. I would like to replace the information being sent by firefox with "Gotcha". I used jaghook for this. So far it's not working. Does anyone have a clue why? replace.asm .486 .model flat, stdcall option casemap: noneinclude \masm32\include\windows.inc include \masm32\include\kernel32.inc include \masm32\include\user32.inc include \masm32\include\wsock32.incincludelib \masm32\lib\kernel32.lib includelib \masm32\lib\user32.lib includelib \masm32\lib\wsock32.libincl…
-
How i can get commands of a debugged process ?
by mrousse83- 10 replies
- 4.2k views
Hello, I search how i can get each commands of a debugged process in OllyDbg. I think i need to use this function : ulong Readcommand(ulong ip,char *cmd); My program entry point : 004C5C74 > $ 55 PUSH EBP var Commande : string;if Readcommand($004C5C74, PAnsiChar(Commande)) > 0 then // success else // error But when u try it, it's not working Readcommand return all time 0 ! I need to have : Commande := 'PUSH EBP' Can you help me ? Thanks, Mathieu