Programming and Coding
Programming and coding tips, help and solutions...
1,877 topics in this forum
-
WindowsFormCpp for injection
by TRISTAN Pro- 1 follower
- 1 reply
- 629 views
Hello I'm looking for winform GUI interface for injection src code. I use This one for test but when I load the src code like void,ret 0 andWinMain it show error. NB:beginner for coding.
-
Another Simple Loader(Delphi SRC)
by h4sh3m- 2 followers
- 19 replies
- 10.5k views
Hi In this method we're using dlls as loader, Some system files(I'm just tested dll files) can load from outside of system directory so we can use them to patch files !! Most "Delphi" and "Dotnet applications" loads "version.dll" by default so we can use this file as loader for them ! Best Regards, h4sh3m version.rar
-
- 1 follower
- 0 replies
- 383 views
Merci, Frérot Steven.K (Xyl2k) MASM32-graphical-effects
-
- 2 followers
- 2 replies
- 1.7k views
Anyone can help me to create matrix effect like this in csharp I found way to do it using this project, this is rain effect i like it https://www.codeproject.com/Articles/5164199/Matrix-Style-Rain-in-Csharp-with-WPF But it has letter inside which bounce when hit on side, see the file below, how to do it i want to move letter inside matrix effect File here https://www.mediafire.com/file/oixj2lxsvnckl3j/kg.exe/file I am new in RE hope to learn from you experts.
-
aspr_ide.dll Full Source Code
by TeRcO- 1 follower
- 0 replies
- 343 views
You will find the source code for aspr_ide.dll, a dynamic link library used in software licensing and protection, specifically for applications protected by AsProtect. This DLL simulates various functions related to license validation, registration, trial period management, and hardware ID checks. With ❤️ aspr_ide.dpr
-
Api_WindowWithControls_Delphi
by TeRcO- 1 follower
- 0 replies
- 328 views
A simple Template in Delphi with only winapi Api_WindowWithControls.txt
-
[REQUEST] VEH hooking an exe at runtime
by iamwho- 1 follower
- 10 replies
- 2.5k views
Hi all, im trying to understand VEH hooking unfortunately all the examples i tried from github only teach doing it in own process. Im trying to veh hook a function in an exe by injecting a dll. Can anyone help please?
-
- 1 follower
- 4 replies
- 893 views
Hi! can someone help in coding version.dll in delphi to patch exe file ,there is an patcher called PYG_DLL_Patcher which exports version.dll and some other dlls but it has viruses when i enable the antivirus it deletes that version.dll file exported by PYG_DLL_Patcher, i found a version.dll delphi code here but the patch code is not included in it. Thanks in advance!
-
nVidia drivers or some other OS issue ?
by Kurapica- 1 follower
- 5 replies
- 938 views
I would like to ask if anyone has noticed this issue, started this July on some Windows machines. The using of "EnumDisplayDevices" either Ansi or Unicode versions : Example code : https://stackoverflow.com/questions/9524309/enumdisplaydevices-function-not-working-for-me #include <windows.h> #include <stdio.h> #pragma comment(lib, "user32.lib") void DumpDevice(const DISPLAY_DEVICE& dd, size_t nSpaceCount ) { printf("%*sDevice Name: %s\n", nSpaceCount, "", dd.DeviceName ); printf("%*sDevice String: %s\n", nSpaceCount, "", dd.DeviceString ); printf("%*sState Flags: %x\n", nSpaceCount, "", dd.StateFlags ); printf("%*sDeviceID: %…
-
MediaPlayer 1 2 3
by fearless- 2 followers
- 56 replies
- 4k views
A basic media player application written in x86 and x64 assembler that utilizes the MFPlayer-Library - which consists of functions that wrap the MFPlay COM implementation of the IMFPMediaPlayer and IMFPMediaItem objects. https://github.com/mrfearless/MediaPlayer Features Supports audio and video media that is natively supported by the Microsoft Media Foundation API Player controls via toolbar buttons, menu or context menu: Play/Pause Toggle, Stop, Frame Step, Volume Mute/Unmute, Fullscreen toggle, About, Exit. Custom control for Volume slider. Custom control for Seekbar slider. Custom controls for Labels (for duration of med…
-
- 3 followers
- 21 replies
- 3.6k views
This is anti-debug code for detecting ollydbg 32-bit version by @cpudbg. Got it from a Chinese forum. typedef LONG (WINAPI* WINDOWSBYTE)(int, int); bool CheckDebug() { DWORD dwRet = 0; char szModuleName[15] = {0x75, 0x73, 0x65, 0x72, 0x33, 0x32, 0x2E, 0x64, 0x6C, 0x6C}; // user32.dll PWCHAR lpModuleName = NULL; PWCHAR lpModuleNameTemp = NULL; PCHAR lpSrc = szModuleName; DWORD dwAPI = 0; DWORD dwFunName = 0; DWORD dwBase = 0; _asm { xor ecx, ecx mov esi, fs: [0x30] mov esi, [esi + 0x0c] mov esi, [esi + 0x1c] next_module: mov eax, [esi+0x8] cmp eax, 0 je end …
-
- 1 follower
- 5 replies
- 1.8k views
Hi guys, another question today. So I did delete few files accidentally by using the Window function DeleteFIle in my app (just some text files to delete) and if that happens the files are gone and not find in trashcan etc. So my question is how to get them back (so simple as possible)? I tried using Recuva app I found quickly on internet what was showing some files I could not find in trashcan but not all I did delete. Is there any other function instead of using DeleteFile what does delete the files I want BUT just moving them into trashcan only like Windows itself does? greetz
-
Getting Table Lenght with dnlib ???
by CodeExplorer- 1 follower
- 1 reply
- 536 views
How to get Tables length with dnlib?? Fallowing tables: 0x1B000000 TypeSpec 0x01000000 TypeRef 0x02000000 TypeDef 0x0A000000 MemberRef 0x04000000 Field 0x06000000 Method 0x2B000000 MethodTyPar 0x70000000 String 0x11000000 StandAloneSig
-
- 1 follower
- 7 replies
- 6k views
I need to show the printed serial number of an external usb hard drive using c# . I have found many sources in "github" but the returned serial number is not correct. the only program that gave me the correct serial number is "CrystalDiskInfo" which is open source but written in c ++ which I do not understand. Here is an example with "CrystalDiskInfo" with the correct result: Thanks for help
-
- 1 follower
- 3 replies
- 660 views
Hi. I have problems with restoring local variable from byte array, when I get variables Signature and I try to convert them to LocalSig I get and exception because can't convert MethodSig to LocalSig. Any help would be great. { using (BinaryReader binaryReader4 = new BinaryReader(new MemoryStream(this.DataStructure.LEH))) { binaryReader4.BaseStream.Position = (long)hInt; MethodBodySize1 = binaryReader4.ReadInt32() >> 8; // 104 short LocalsSize2 = binaryReader4.ReadI…
-
OpenThread Visual C++ 6 definition ???
by CodeExplorer- 1 follower
- 4 replies
- 656 views
OpenThread Visual C++ 6 definition ??? I can't find OpenThread in "Visual C++ 6" defined except on "Microsoft SDK\include\WinBase.h" but I don't how to use it, I've noticed it contains: #if _WIN32_WINNT >= 0x0501
-
How to play video from URL? (MASM) 1 2
by LCF-AT- 2 followers
- 25 replies
- 7.9k views
Hi guys, I would like to create a video player in my main dialog window (somewhere placed on it) and playing any direct video URL into that player so simple as possible. Something like an internet HTML 5 player or something. The question is how to do that? On MSDN you can find some mfplay documentation using MFPCreateMediaPlayer function. So I got the mfplay.dll (32bit) using Loadlibrary / GetProcAddress function to load dll & function MFPCreateMediaPlayer and was trying to execute this function with basic parameters and any on HDD video path or direct video URL from internet like this one. In both cases I get an error code back 0x80070002 (FILE_NOT_FOUND) (The s…
-
- 2 followers
- 2 replies
- 2k views
With this library, you can set up function hooking easily and write less code. It supports both Inline hooking & IAT hooking on both 32-bit & 64-bit. Eg. To hook/un-hook a function with the Inline Hooking technique, you only need to write codes as the following #include "cpp-hooking/hooking.h" // Define the hooking function int WINAPI hkMessageBoxW(HWND hWnd, LPCWSTR lpText, LPCWSTR lpCaption, UINT uType) { lpText = L"INL Hooked"; return INLHookingManager::instance().invoke<int>(MessageBoxW, hWnd, lpText, lpCaption, uType); } // Perform hooking INLHookingManager::instance().hook(MessageBoxW, hkMessageBoxW); // Perform un-hooking INLHookin…
-
How to automate patching file with DnSpy
by Handunken22- 3 followers
- 4 replies
- 1k views
Hello everyone! I am patching a file by DnSPY, so here is what I did: 1. Open file with DnSpy 2. Search for the function I want to patch 3. Patch the function by changing the first IL opcode to "ret" 4. Enable the "Keep old maxstack" checkbox 5. Save the new file But the problem is that, this software usually has a new update, and everytime it updates, I have to re-patch again which is time-consuming. So do you guys know any library/method that can help me automate this process? Any help will be appreciated.
-
- 2 followers
- 4 replies
- 871 views
I am tryjng to build a crate (new to me), and getting these errors: Spoiler Errors: | 80 | let node = get_raw_operation(&self.function, next_idx); | ----------------- ^^^^^^^^^^^^^^ expected `&HighLevelILFunction`, found `&Ref<HighLevelILFunction>` | | | arguments to this function are incorrect | = note: expected reference `&hlil::function::HighLevelILFunction` found reference `&rc::Ref<hlil::function::HighLevelILFunction>` note: function defined here --> C:\Users\St…
-
netbeans 12+ "Java SE" plugin not activated
by CodeExplorer- 2 followers
- 4 replies
- 879 views
netbeans download link: https://netbeans.apache.org/front/main/download/nb125/nb125/ "Java SE" plugin not activated https://github.com/apache/netbeans/issues/7091 I've used Tools / Plugins / Installed and select "Java SE" and Activate after that on "Java SE" both "Activate" and "Deactivate" buttons are disabled and DOESN'T state as Active. Can someone give more information about this problem or how to fix it. here is how looks like: https://stackoverflow.com/questions/77397338/cannot-activate-java-se-features-in-netbeans-18
-
r0ger's GDI-ripping support thread
by r0ger- 4 followers
- 13 replies
- 3.8k views
Hi all. In this thread, i will be posting different questions regarding the GDI-ripping of the effects i will be posting here, in case if i am struggling with some odd code found in IDA pro which may sometimes lead either to a GDI leak, or a glitch, or even to a crash. now what effect i want to rip is the bitmap sinewave effect from one of FFF's keygens : AutoFTP.Premium.4.6_KEYGEN-FFF what i am struggling is that i have the fstp lying around in the WM_TIMER which lead to error A2070: invalid instruction operands. if i insert "dword ptr" in the back of its value from the fstp function, leads to a crash. loc_40C57F: ; CO…
-
Mega Code Archive
by Reverser195- 2 followers
- 1 reply
- 1.6k views
This is address from web site contain mega code archive for all language. use and enjoy Mega Code Archive : https://www.neonhaber.com/Static/mega-code-archive/
-
- 1 follower
- 40 replies
- 3.7k views
Hi guys, so I got a little problem again with those UNICODE / SYMBOL chars in text / buffer I want to format to readable text and print that on a static control. So first I got some text issues showing me some strange symbol chars instead of text like this below... "Youâ€" is "You’ve" ...and I was then using the MultiByteToWideChar function with CodePage CP_UTF8 to change my ANSI text buffer to UNICODE. After that the text was displaying correctly using SetDlgItemTextW function. FIne so far I thought. Then I found another problem with a other symbol like this... Q&A is Q&A ...and I tried to use the same function as above but in this case I got…
-
- 2 followers
- 4 replies
- 1.3k views
#include <Windows.h> #include <iostream> #include <windowsx.h> #define IDB_EXIT 102 PAINTSTRUCT ps; HDC hdc; RECT starfield_rc; BOOL g_bDragging = FALSE; POINT g_ptDragStart; int WIDTH = 350; int HEIGHT = 400; const int numStars = 50; const int starSpeed = 1; struct Star { int x, y; int speed; }; const int NUM_STARS = 100; Star stars[NUM_STARS]; HDC hdcMem; HBITMAP hbmMem; HBITMAP hbmOld; void starfield(HDC hdc, int x, int y, RECT *rc) { int width = 335; rc->left = x; rc->top = y; rc->right = width; rc->bottom = 249; HDC hdcMem = CreateCompatibleDC(hdc); HBITMAP hbmMem = CreateCompatibleBitmap(hdc…