Programming and Coding
Programming and coding tips, help and solutions...
1,882 topics in this forum
-
How to automate patching file with DnSpy
by Handunken22- 3 followers
- 4 replies
- 1.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
- 971 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
- 993 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.9k 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.7k 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.8k 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…
-
An open source tool for analyzing vmp
by fjqisba- 2 followers
- 11 replies
- 2k 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
- 1.2k 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.
-
de4dot.blocks.cflow.InstructionEmulator
by extonoxt- 2 followers
- 2 replies
- 1.6k 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
- 3.8k 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
- 3.1k 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- 2 followers
- 0 replies
- 6.4k 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
- 2.3k 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- 3 followers
- 16 replies
- 3k 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.
-
TITANHIDE FAILD
by Guruhardoi7- 1 follower
- 4 replies
- 68k 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
- 1.5k 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.6k 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
- 6 replies
- 6.6k 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.8k 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.9k 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
- 7.2k 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
- 2.2k 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.7k 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
- 2k 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.8k 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 …