Programming and Coding
Programming and coding tips, help and solutions...
1,858 topics in this forum
-
An open source tool for analyzing vmp
by fjqisba- 1 follower
- 8 replies
- 243 views
Hi, everybody! I am developing an ida plugin which can be used to analyze vmp3.5 x86. If you are interested in vmp, Then you can view the source code of the project to learn it. Suggestions and PRs are welcome. https://github.com/fjqisba/VmpHelper
-
- 1 follower
- 1 reply
- 174 views
target assembly like this: namespace A{ class Program { static void Main() { ...} } } new assembly: namespace B{ class Program { static void M( ) { ...} } } 2 assembly in the same path, now i want to call method M( ) in target method main( ), If there was an example on how to add a reference or any ideas, it would be helpful. Thanks.
-
C++ loader source code
by amig0- 1 follower
- 1 reply
- 278 views
Hi, I'm looking for C++ loader source code that works on x64 applications with ASLR If someone can help I would really appreciate it
-
How to play video from URL? (MASM)
by LCF-AT- 2 followers
- 22 replies
- 6k 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…
-
de4dot.blocks.cflow.InstructionEmulator
by extonoxt- 1 follower
- 2 replies
- 636 views
Hello All, I am trying to add two methods in de4dot.blocks.cflow.InstructionEmulator. private void Emulate_Stelem_I4(Instruction instr) { Value value = this.valueStack.Pop(); bool flag = value.IsInt32(); if (flag) { Int32Value int32Value = (Int32Value)this.valueStack.Pop(); List<Value> list = this.valueStack.Pop(); list[int32Value.Value] = (Int32Value)value; } else { this.valueStack.Pop(); this.valueStack.Pop(); } private void Emulate_Ldelem_I4(Instruction instr) { Int32Value int32Value = (Int32Value)this.valueStack.Pop(); List<V…
-
How to handle UNICODE chars?
by LCF-AT- 1 follower
- 19 replies
- 3k views
Hi guys, don't remember anymore whether I did ask about it in past already (can not find post) so I need to ask now about it. A while ago I did already notice that I got trouble with filenames which using specific chars like symbols in the name. Mostly you can see that on youtube title names of any video using funny symbols etc, The problem is that I was just using normal ASCII functions in my MASM codes and I can not handle those symbol chars etc you know. Now I would like to fix that but how? Example: How to get the entire correctly filename (with symbols) on WM_DROPFILES message / edit controls etc? How to read those strange filename and how to handle them? …
-
repaire code for another format
by hamid19395- 2 followers
- 13 replies
- 2.2k views
hi i have a dll code in delphi language to extract .mp4 and .m4v format. but it doesn't work for .mkv format and when i want to inject the code , i'll get an error. anyone's can help me to solve that and make compile again? the code is written by somebody else : @GautamGreat click to download
-
Help me please for this code on java
by idkpower1- 1 follower
- 0 replies
- 547 views
Help me please for this code on java what i do her i new with java please anyone can help me? thank you all
-
- 2 followers
- 1 reply
- 1.7k views
Sometimes, you need to manipulate low-level functionality (C APIs, etc) from high-level languages (Python). Eg. Force the low-level side calls directly to your own Python override functions. This repo will help you do that. [x] Windows [x] Linux [x] MacOS [x] iOS [x] Android To hook & unhook a function, you only need to write codes as the following import ctypes from PyHooking import PyHooking, load_external_shared_library, arch, bits # define the hook function mylib = load_external_shared_library(f"Examples/mylib_{arch}_{bits}") @PyHooking.CPrototype(ctypes.CFUNCTYPE(None, ctypes.c_char_p)) def hk_print_message(message): message = f"Invo…
-
Resolve forwarded import???
by CodeExplorer- 2 followers
- 16 replies
- 2k views
How to resolve forwarded import programmatically? I need general concept. They are some forwarded imports: [4274]=773D3660 ntdll.dll NtdllDefWindowProc_A user32.DefWindowProcA ->ntdll.dll NtdllDefWindowProc_A I need to get it back ntdll.dll NtdllDefWindowProc_A -> user32.DefWindowProcA Scylla does a quite great job on this, I've looked at source code but I can't understand it.
-
- 1 reply
- 1k 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.
-
TITANHIDE FAILD
by Guruhardoi7- 1 follower
- 4 replies
- 66.8k views
Hello everyone Hello everyone, I was try to compile titanhide I got some error. First I try compile by visual studio 2013 as @mrexodia write in his readme. It got failed by error not compotaible supported. I try - Property to change comptable mode w7 - change REGEDIT -Try service method also all faild Now I move to next For develp driver for old windows need EWDK so I try to install it again I got error devenv.exe is missing on it . It going fear full now. Now I move to install lasted version of visual Studio 2022+sdk+wdk. First I intall visual Studio 2022 with these all -. net 8.0 runtime -net fram…
-
OLLYDBG PLUGINS DEVELOPING EXAMPLES
by Guruhardoi7- 1 follower
- 0 replies
- 923 views
Hello everyone I was check there are limited examples are available on internet to develop plugin for ollydbg so I resources and found plugin source code in ASM C++ DELPHI etc hope this will help someone good for new members (noob)like me(😋). https://mega.nz/file/8u1wSI4T#_8h_ftyqTAkP9scrtZm75hGayIGlso_vsSbkdoPYPw0 Enjoy.
-
Request the source code of the PE-Inject project
by Nakashi_omara- 1 follower
- 2 replies
- 1.1k views
Years ago, site migeel.sk had put a project called PE-Inject as Open Source for Delphi 7, and now site DelphiBasics has that project, but it is not complete, and I am looking for the complete and original version of this project. Please send if this project or a similar project has code or DLL file injection into the Exe file (I don't mean injecting the code into the running processes, but creating a new section in the exe file and injecting the DLL file or code into this section) There is new and then OEP change etc.) Thanks
-
- 1 follower
- 1 reply
- 1.1k 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…
-
- 1 follower
- 6 replies
- 5.9k views
Hello i've been reading up on some APIs and I came accross this api. I was trying to code a small debugger from it that attaches itself to a process but it seems a bit difficult to implement. Found some examples but they are not coded in delphi. Can anyone show a delphi example on how to use to attach to process? (DebugActiveProcess)
-
NET Native AOT
by whoknows- 1 follower
- 1 reply
- 1.2k views
more - flerka.github.io/personal-blog/2022-06-21-ahead-of-time-compilation/ well explained by @th3pt python-Split dotNET AOT native compiled files-th3pt.rar
-
Simple Python Code Editor
by X-88- 2 followers
- 0 replies
- 1.3k views
Language: Pascal/Lazarus supports running and stopping scripts, installing & uninstalling libraries, displaying libraries easily, there are some problems in windows 10, when running as administrator drag & drop doesn't work properly. You are free to modify this source as you wish, without needing my permission, but if possible, don't remove traces of my ID in the source code. Z-Code Editor LE 10902023.zip
-
delphi code help
by okaydoit- 15 replies
- 6.4k views
hello i want know how i can fix this code program loader; uses Windows, Messages; {$R Loader.RES} var si : Startupinfo; pi : Process_Information; NewData : array[0..1] of byte = ($90,$90); NewDataSize : DWORD; Bytesread : DWORD; Olddata : array[0..1] of byte; begin NewDataSize := sizeof(newdata); IF CreateProcess(nil,'Example.exe',nil,nil,FALSE, ; >>>>>>>>>>>********** here its like loader work i neeed change this place to run from memeory mean program is run it fully then run this code and patch prog like > i thi…
-
Change the color of grid lines for ListCtrl
by CodeExplorer- 1 follower
- 5 replies
- 1.4k views
Change the color of grid lines for ListCtrl so I've set this: m_List.SetExtendedStyle(LVS_EX_GRIDLINES | LVS_EX_FULLROWSELECT | LVS_EX_SUBITEMIMAGES | LVS_OWNERDRAWFIXED ); I've created message like this void MyListCtrl::OnCustomDraw(NMHDR* pNMHDR, LRESULT* pResult) { ... if (ShowCustomGridLines) DrawGridLines(); Now problematic code: // https://aucd29.tistory.com/2078 void MyListCtrl::DrawGridLines() { // TODO: Add your message handler code here // Do not call CListCtrl::OnPaint() for painting messages // First let the control do its default drawing. const MSG *msg = GetCurrentMessage(); DefWindowP…
-
Checkboxes in multiple columns in Visual C++ 6 ???
by CodeExplorer- 2 followers
- 4 replies
- 1.3k views
Checkboxes in multiple columns in Visual C++ 6 ??? References: https://stackoverflow.com/questions/27309526/how-to-add-checkboxes-in-multiple-columns-in-vc https://www.codeproject.com/Articles/29064/CGridListCtrlEx-Grid-Control-Based-on-CListCtrl I can't find simple solutions, m_List.SetExtendedStyle(LVS_EX_GRIDLINES | LVS_EX_FULLROWSELECT | LVS_EX_SUBITEMIMAGES | LVS_EX_CHECKBOXES ); int itemPos, x; CString data; m_List.InsertColumn(0,"Column 1",LVCFMT_LEFT,100); m_List.InsertColumn(1,"Column 2",LVCFMT_LEFT,100); m_List.InsertColumn(2,"Column 3",LVCFMT_LEFT,100); for (x=0;x<3;x++) { data.Format("(%d,1)",x); …
-
De4dot Wrapper Plaining For ILSpy
by modz50- 1 follower
- 0 replies
- 1.3k views
hi I was wondering if anyone is interested in contributing to creating a de4dot wrapper for ilspy i have started some of it I'm looking to see it anyone is interested and are willing to help if you please get in touch with me on Discord the source code is private on my GitHub page until further notice modz2014#4684 here is a sneak peak as well
-
[Solved] MFC MDI Visual Studio 2017 Out of the box example. Output pane: Call to function, I am having trouble....
by kittmaster- 2 followers
- 8 replies
- 6.1k views
EDIT: Link added below to the full project for downloading > Link: http://www.kittmaster.com/imagedump/snd/App1.rar Long time....Greetz to all. I'm honing some skills going forward and I can't seem to get my head around how to call a function without issue of it being static or object errors....or simply, it doesn't work. I have built an MFC MDI using the wizard, compiled it...great...starts up works fine. The point, I'm trying to write messages to the output panes......3 of them...find/debug/build. There is pre-code that starts up showing the controls all work etc....so structurally I have done nothing to alter the code from the wizard.....all is right with …
-
Crc32 Source...
by Teddy Rogers- 2 replies
- 4.4k views
Download Link: http://www.networkdls.com/Download/CRC32.zipTed.
-
- 1 follower
- 2 replies
- 1.9k views
I'm trying to set a page of memory to PAGE_EXECUTE only, I don't want any reads or writes to be possible to this page. However, after setting the page protection to PAGE_EXECUTE, read attempts can freely be made. I assume this has something to do with the CPU needing to fetch instructions from the RAM? anyway, is there any way that I can accomplish my goals here? that is: can I set a page to execute only such that no read or write attempts can be made on said page?