Programming and Coding
Programming and coding tips, help and solutions...
1,877 topics in this forum
-
[MASM] Scrolling Problem - Nfo Viewer
by PaPa Bango- 1 reply
- 7.6k views
Hi every one, I'm trying to code a nfo viewer with a scrolling effect for the text. I followed the exemple of Jowy (irc nfo viewer v2) but i've a problem that i don't manage to find. When the top of the text is touching the top of the Dialog, it scrolls back, so i can't see the whole text...i'd like (of course )that the text continues for the bottom of the text arrives at the top of the dialog. Here 's the code of the scrolling i did : invoke GetClientRect,hWnd,ADDR NfoRect mov hdc,FUNC(GetDC,hWnd) mov chdc,FUNC(CreateCompatibleDC,hdc) mov hbmp,FUNC(CreateCompatibleBitmap,hdc,NfoRect.right,NfoRect.bottom) invoke SelectObject,chdc,hbmp m2m rClientNfo.right,Nfo…
-
API automate rebuilding PE?
by chickenbutt- 4 replies
- 7.8k views
Can someone give me some code or the API calls that save people from having to write PE code? Like say I wanted to modify existing PE's code section and rebuild? Without all the binary searches and operations. I believe you can do it with virtual map calls and the IMAGE structs, but I'm not sure. Thanks. Any language is fine.
-
generate random 10 chars
by grizzmo- 0 replies
- 7.6k views
Hi, I was looking to generate unlimited 10 chars random numbers in vb.net. I found that it is not possible to set a variable to a certain lenght in the new vb.net, acoording a lot of coding sites. When I thought it worked it also started generating 8 and 9 chars of lenght. So, after a little while I came up with this: Imports System.TextPublic Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim startIndex As New String("1234567890") Dim random As New Random Dim startIndex1 As New String("0987654321") Dim random1 As New Random startIndex = random.Next(startInde…
-
Replacing Methods in Reflector
by Dave Prost- 10 replies
- 9.8k views
Hi I have a couple of methods that I've re-written and want to replace in the original executable but not sure the best way to do it. One way I could see is to use reflexil and go through each module line by line but that will take ages. Another way I thought of, and this may be completely unrealistic, is to dump the IL and then simply replace the two methods with the new code. Then try to reassemble it. Like I said I don't even know if that's possible I was just 'free thinking' Any help would be much appreciated. Thanks DP
-
Using bignum library
by futureproof- 4 replies
- 7.4k views
I have a function that converts me from any base to base 10 but the result is very long and it cannot be stored in an integer. Can someone explain me how should i use bignum lib so i can print result?
-
WPF - AppDomain Issue
by CodeExplorer- 3 replies
- 7.3k views
WPF - AppDomain Issue I've readed these articles: />http://social.msdn.microsoft.com/Forums/en/wpf/thread/eb9ef4ce-dd16-45b9-a925-b7abccec9b51 />http://www.joeseymour.net/2009/01/wpf-showdown-appdomaincurrentdomainsett.html />http://blogs.msdn.com/b/changov/archive/2009/10/26/hosting-wpf-ui-cross-thread-and-cross-process.aspx />http://www.infosysblogs.com/microsoft/2008/10/working_with_application_domai_1.html The program which I load MI.sappDomain is Reflector and yep he use WPF. MessageBox.Show("1"); MI.sappDomain.CreateInstanceAndUnwrap("Simple_MSIL_Decryptor", "Simple_MSIL_Decryptor.Terminator"); MessageBox.Show("2"); // never reached class Terminator : M…
-
Small asm to change local time's year
by Sma11s- 3 replies
- 5.1k views
So I downloaded IDA Pro a long time ago, and I wanted to install it in my virtual machine. Unfortunately, it has a hard coded expiration date -- It's not a timed trial. So, I figured out I could just change the date in my system tray, and it would allow it to run. When I reboot my VM, the system time changes again, and I have to keep repeating the process (VMWare pushes the date correction). Anyhow, I just wanted to pass on something for the upcoming coders -- a very small app I just wrote in assembly to change just the year (back to 2010) when I boot up. .386 .model flat, stdcall option casemap :noneinclude \masm32\include\windows.inc include \masm32\include\kernel32.in…
-
Msgbox Samples For Vb.net
by CodeExplorer- 0 replies
- 10.4k views
Msgbox Samples For Vb.net MessageBox OK: MessageBox AbortRetryIgnore: MessageBox OKCancel: MessageBox RetryCancel: MessageBox YESNO: MessageBox YesNoCancel:
-
[Release] Msgbox Generator for VB.NET
by euverve- 0 replies
- 3.6k views
I created a simple Msgbox Generator for vb.net, please post a feedback. Screenshot: Here is the virus scan: Download: http://www.fileserve.com/file/VmtV5Ez Derived this from this site: http://www.gigaware.co.uk/default1/software/vbNet_message_box_wizard.htm I added code generation for coding purposes. Edit: Updated! Download Version 1.1: http://www.fileserve.com/file/7Pr8P6z
-
- 1 reply
- 3.3k views
Try Mono.Cecil if you need System.Reflection.Emit in Windows Phone 7 As .NET compact framework never support System.Reflection.Emit, we can’t use Reflection.Emit in Windows Phone 7 development. So, it prevents us from porting the existing frameworks like Unity, Castle Dynamic Proxy, Moq and etc to Windows Phone 7 development platform. I was looking all options that helps us to use Reflection.Emit in Phone 7. The first option that I check is to port Mono code to Silverlight for Phone 7 version. The second option is to use Mono Cecil that is using in Mono Core. And the third option is to use EmitCF but I don’t see any update after beta release so I guess this project is …
-
C# DIALOG/FORM
by TBBW- 2 replies
- 12.6k views
Hi All, this is what I have; namespace COD { public partial class KeyGen : Form { public KeyGen()... private void button1_Click(object sender, EventArgs e)... } } The public KeyGen() is the InitializeComponent() routine. The button1_click, is the when button1 is clicked routine. Is there a way to add some more coding? iow another routine, which is not connected to a button or so. to give an example, when a dialog (which is NOT mine) is moved, my dialog should be moved as well? regards, ger
-
- 3 replies
- 6.7k 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.7k 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.5k 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
- 3k 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
- 5.9k 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.2k 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.5k 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
- 29k 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.4k 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
- 7k 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.5k 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
- 7k 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.5k 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
- 7k views
Code2Code.net: translates your C++ code into C#, VB.NET, />http://code2code.net/