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
- 246 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…
-
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…
-
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
-
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
-
Decoding xmm instruction ??? distorm
by CodeExplorer- 1 follower
- 4 replies
- 1.3k views
Decoding xmm instruction ??? like: https://c9x.me/x86/html/file_module_x86_id_204.html I've investigated a bit distorm: https://github.com/gdabah/distorm/tree/master/src https://github.com/gdabah/distorm/blob/master/src/instructions.c static _InstInfo* inst_vex_lookup(_CodeInfo* ci, _PrefixState* ps) { ... /* start can be either 1 (0x0f), 2 (0x0f, 0x038) or 3 (0x0f, 0x3a), otherwise it's illegal. */ switch (start) { case 1: in = Table_0F; break; case 2: in = Table_0F_38; break; case 3: in = Table_0F_3A; break; default: return NULL; } in = InstructionsTree[INST_NODE_INDEX(in) + *ci->…
-
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
-
'cmddata' : unknown size
by CodeExplorer- 1 follower
- 3 replies
- 1.3k views
error C2133: 'cmddata' : unknown size in h file: extern const t_cmddata cmddata[]; typedef unsigned long ulong; // Unsigned long typedef struct t_cmddata { ulong mask; // Mask for first 4 bytes of the command ulong code; // Compare masked bytes with this char len; // Length of the main command code char bits; // Special bits within the command char arg1,arg2,arg3; // Types of possible arguments char type; // C_xxx + additional information char *name; …
-
- 1 follower
- 7 replies
- 1.6k views
Hi guys, I'm trying to find out how to make this (title question) possible. Normally I'm using Windows Explorer as file manager and the WE does handle the drag & drop function so that all other app windows which are set in from on the WE area keep in front when you do press the left mouse down on any selected file/s so that you can move that file in any other app window if you want. Just a normal drag & drop from WE into any other app Window like Notepad for example. I would like to know how to code this. So what I have to do or possibly hook to prevent setting the focus on my own app when I press left mouse etc you know. Since a while I'm using another …
-
Can anyone help me to make a script for my server ? i have no knowledge about making the script
by dilip35- 1 follower
- 1 reply
- 1.2k views
i need your help to make a script for my server its a easy script but its hard for me since i don't have any knowledge on the JavaScript and programming i already attached the script screenshot
-
Clr Profiler - difficulties with communications
by CodeExplorer- 1 follower
- 11 replies
- 2k views
Clr Profiler - difficulties on communications - on tracing result result back from dll to main exe's listview. I have an Visual Studio 2010 project, profiler.dll is made on C++, main exe interface is also made on C++. I've set two environment variables: Cor_Enable_Profiling=1 COR_PROFILER={DFEC737C-D0B1-4b86-A6FD-FDD998BEEB03} and I start the process with CreateProcess The problems comes that I can't log event information back to main exe interface - listview. Profiler dll gets called inside traced process. Already tried: main exe: unsigned int wndHandle = (unsigned int)GetDlgItem(IDC_LIST1)->m_hWnd; char buffer[10]; std::sp…
-
Looking for low level x86 dissasembler code c++
by CodeExplorer- 2 followers
- 12 replies
- 2.6k views
Looking for low level x86 dissasembler code c++ I want it at low level with knowing everything is going on, altrought information from libraries may bring usefull information. In the end I want to grab all operands, but that's final step.