Programming and Coding
Programming and coding tips, help and solutions...
1,875 topics in this forum
-
Error generating a random letter in VB.NET
by grizzmo- 2 replies
- 4.4k views
Hope someone can give me a hint, because I have the following code copied from reflector(VB.NET) into vb express edition 2010, but I have a lot of errors, so I started fixing the code, but i ended with an error, which it seems I , not yet, can't resolve myself. Here she comes: Private Function genRandomLetter(ByVal rand As Random) As CharReturn IIf((rand.Next(1, 3) = 1), DirectCast(rand.Next(&H41, 90), Char), DirectCast(rand.Next(&H61, &H7A), Char)))End Function And here is the error: Error 2 'Integer' values cannot be converted to 'Char'. Use 'Microsoft.VisualBasic.ChrW' to interpret a numeric value as a Unicode character or first convert it …
-
[Help] Making a patcher using VB 2008
by mafia_hitman- 4 replies
- 6.6k views
Hey Guys, I am having some trouble with patching a file in Visual Basic 2008. The idea is like that .. 1-Store File In The Program Using "Resources" .. 2- If The Program Is Runned .. My Program Should Show This Message "Please Close The Program" Or Making My Program Close The Program That I want To Patch .. 3-If The Program That I want to patch is closed ..Then When you click the button .. the file dialogue opened and give to user the ability to choose the file that i whant to modify "Replace or patched" after that the file will copied from resourse and replaced the old file "Patched" after when this operation finished .. 4- show this message "Your Program Is Patched .. E…
-
WriteProcessMemory and loader wich doesn't work.
by BondCracked- 2 replies
- 4k views
Hello, I trying to code a loader for an app and when I use the function WriteProcessMemory it fails. 1 - OllyDbg shows the error code: ERROR_NOACCESS (000003E6) 2 - I follow this tutorial: http://www.zerorev.net/reversing/Tutorials,%20Guides%20and%20Essays/loader.htm 3 - My system is (original) Windows 7 home premium and I have adm privilegies. I read similar posts in this forum and others and couldn't find a good solution for the problem. Does this approach don't work anymore? Any help could be great. Thanks in advance. BondCracked.
-
how to get a hardware id?
by darkshark- 6 replies
- 11k views
hello guys, I can understand if you do not want to help me but ... I have a program that it uses hardware ID to generate a license, similar to armadillo... however, a larger it is based on the network card for hardware-fingerprint ... I know this because when I change the MAC address, it also changes the hardware-fingerprint ... only it is not only that, but when I try to log in via wifi or cable, hardware id changed and I can not login .... when I change the MAC address of a network card, the hardware-fingerprint changes, but even if I put the two MAC addresses match, the hardware id is never the same ... you will be able to understand? I was wondering how it obtained th…
-
Need a C++ KeyGen Template made in VS2010
by Krisler12- 2 replies
- 4.8k views
Hi ! I have found some keygen templates but most of them are in asm, also I have found one made in c but it is made using an old compiler and it cannot be converted for Visual Studio 2010 I have. This topic is to ask someone of this forum if not bother to make a KeyGen template in C++ but for Visual Studio 2010 not an older version. Second, I wish you to make it in such a way to be able to use assembly language includes ripped from Olly with code ripper plugin. They shold be like: _asm { //code ripped from olly } and I wish you to make a commented region where to insert this. Thank you very much ! Happy New Year !
-
MASM and Visual Studio 2010
by Ufo-Pu55y- 11 replies
- 10.3k views
I haven't tested it yet, but it sounds very interesting. Especially when your working on mixed sh1t projects like asm/c or asm/c#. />http://kipirvine.com/asm/gettingStartedVS2010/index.htm PS: credits to hmi222 for the find
-
- 0 replies
- 3k views
Microsoft All-In-One Code Framework * Are you frustrated by the lack of code samples for a certain programming task? * Have you struggled to quickly get started with a technique? * Have you ever expected someone to write code samples for you based on your requests for free? * Is a one-stop code sample library for all Microsoft development technologies attractive to you? If your answer is YES to any of these questions, the Microsoft All-In-One Code Framework is for you! The Microsoft All-In-One Code Framework is a free, centralized code sample library provided by the Microsoft Community team. Our goal is to provide typical code samples for all Microsoft dev…
-
[Delphi] Store Function in Resource Section of Executable
by counterstrikewi- 2 replies
- 6.6k views
hi, I am trying to store a custom procedure within the resource section of my executable. Then, I hope to call that procedure from resource. I have a basic example working and I have posted full delphi source code for this example. However, there are limitations. I am having trouble retrieving return values from Windows API. As you can see in the code below, if you compile both executables with the comment in the builder intact, then run the builder, next the stub, it works perfectly. However, if you remove the comment in the builder to assign a local variable to the result of a Windows API, then run the builder, next the stub, it results in an error Builder: p…
-
- 10 replies
- 5.8k views
So I'm making a keygenme and I need to know how to load the dlls from a resource. do you extract them to c:\windows\system32? how do you call them from there? I'm using Fmod
-
NOP a process's functions in VB .net?
by PiZZAMiN- 2 replies
- 6.5k views
[PR ID] Program.exe!Program.exe+0x3E300 || [0x0043E300] || Custom Patch [6 Bytes] || mov edx , dword ptr [esp+04h] || nop [PR ID] Program.exe!Program.exe+0x3E360 || [0x0043E360] || Custom Patch [7 Bytes] || push esi || nop [PR ID] Program.exe!Program.exe+0x3E940 || [0x0043E940] || Custom Patch [6 Bytes] || push ebx || nop [PR ID] Program.exe!Program.exe+0x75BD0 || [0x00475BD0] || Custom Patch [8 Bytes] || sub esp , 40h || nopHow can I inject this into the process? It needs to be loaded when the user wants, and the patchmydata won't load if these patches are in the exe eg. i open it and in olly do save to exe with patches then loa…
-
uFMOD in vb6 not working
by PiZZAMiN- 3 replies
- 6.9k views
uFMOD wont work in vb6. I renamed lnk then added new link. IT WONT WORK!!!!!! It says Can't find ufmod in title!!!!!!!! My project here... - Click me!
-
For anyone who know can help me?
by Coder1337- 7 replies
- 6.9k views
I'm a Philippine Crossfire coder, But the 2D BOX and Chams is almost Detect by XTRAP, i need to know how can i hook a XTRAP. Can i use a Middle Function Hooking for this reason?? or not? And also what is ID3DcreatedeviceI and what does reason we need this ID3DcreatedeviceI and unpacked the crossfire.exe if i can try this i can make works the 2D BOX and chams again or i need a new codes does not detected by XTRAP? please help me to all professional on hooking.
-
keygen template in masm
by Tenshi- 12 replies
- 8.6k views
hi, there... im new here in this forum and would show you a keygen template made for snd.... its fully written in masm (i used winasm studio as ide) i hope its usefull snd keygen template.zip
-
How to get OEP in delphi code?
by darkbreak- 5 replies
- 7.8k views
Hi Guy, How to get OEP in delphi code? Thanks
-
[C++Builder] Dll Injector
by 0xFF- 10 replies
- 8.4k views
An old project I worked on, don't need it anymore, but I am actually using the injector, I'll probably won't continue this project. (Already does what it needs) Compiled under C++ Builder by embarcadero. http://www.mediafire.com/?51xdc0dj5jzpq2y
-
[Delphi] IAT Patch - Code
by 0xFF- 3 replies
- 7.4k views
This code is NOT by me, it's by Madshi, author of madCodeHook, taken from experts-exchange, i'm an expert there. You can use the following code, it's copied from my madExcept package. madCodeHook uses a much better but also much more complicated API hooking method. The missing parts (e.g. GetImageNtHeaders) can be found in the madBasic package (which includes sources) of my collection. This function works fine. For successful IAT patching you need to patch each and every module in your process. However, in win9x you're not allowed to patch system modules (modules whose handle is bigger than $80000000). If you would do that, you'd make the whole OS unstable. As a result IA…
-
hiigh level pseudocode for instructions like adc
by abhijit mohanta- 0 replies
- 3.1k views
I wanted to derive high level pseudocode for assembly inrtructions eg cmp eax,20 jl ifLower can be represented in psedocode: if eax<20 goto ifLower similarly I want to derive psedocode for the following listing: specifically for adc instruction mov ebx, dword ptr[esi] sub esi,-4 adc ebx,ebx jb somelabel can anybody help?
-
Delphi 2008+ Inline ASM
by chessgod101- 3 replies
- 3.4k views
I have been learning the rip technique for keygenning with Delphi. I have successfully compiled the program with Delphi 7 and it generates correct values. When I compile the same program with the Delphi 2008+ compiler, the keygen generates incorrect values. What parameters have changed with ASM inline in Delphi 2008+? Are there any compiler instructions I need to add to the ASM procedure to correct this problem?
-
- 0 replies
- 4.2k views
Visual Studio 2010 Keybinding Posters High quality, print-ready PDFs in letter & A4 format containing the default keybindings in Visual Studio 2010 for Visual Basic, Visual C#, Visual C++ and Visual F#. DOWNLOAD
-
- 7 replies
- 5.3k views
Hello, How can I insert an external link in a MessageBox in the WinAsm studio?
-
WinAsm: Some questions..
by zoiT- 3 replies
- 7.5k views
Hi, i have some Questions: 1. What is the code for moving the form without title bar? 2. Where can i find nice tutorials for WinAsm? Thanks...
-
project wide variables in VS2008
by deepzero- 6 replies
- 5.2k views
hi guys, Here`s a little question that has been bugging me for quiet some time...: How can i declare a project wide variable? Say, main.cpp holds the function int main(){...}. In a second file, second.cpp, i have a second function: void second(){...}. How can these two functions share a string/int/long/... variable? thanx, deep p.s. to makes this clear, this is in no way related to windows environment variables (%tmp%, %%appdata%,...). That`s mostly what i got when using google... :S
-
- 5 replies
- 5.5k views
Stupid project I wasted my time on. http://www.mediafire.com/?8aua9t2hjw131sf
-
C# Keygen and Source
by Fierce Waffle- 0 replies
- 2.6k views
My program is currently protected by checking 3 different text files on my 110mb.com account. It checks for the username using XOR encryption, it then checks the password. The code for getting the machine code(HWID) in my program is as shown here MachineCodeString = "MOD" + "-" + IPreplace3.Remove(3) + "-" + replace4.Remove(4) + "-" + IPreplace3.Substring(IPreplace3.Length - 4, 4); machineCode.Text = MachineCodeString; the ipreplace stuff and replace is just removing 0's, :'s and .'s I was wondering if any of you could program a keygen that only requires a name and serial. Depending on what the user enters for the name, the serial would have to match using …
-
Errors, while compiling NTL library
by qpt^J- 0 replies
- 2.9k views
hey all, I want to compile this lib in msvc++ 6 I followed this tour: http://www.shoup.net/ntl/doc/tour-win.html but couldnt compile this lib. />http://pastebin.com/BrYx7nRa Compiler shows more than 2500 errors, cant understand why. Please someone help me to figure out what am i doing wrong thanks