Solved

Debugging / editing a dll

Posted on 2004-09-09
3
291 Views
Last Modified: 2013-11-13
I have a dll that goes to a specific site for updates. I would like it not to go out to the site and more and check for updates. To do this I want to change one letter in the URL it is looking for. I have found the area in the Code by using PE Explorer from Heaventools, but cannot seem to change just the one letter.

Can the DLL be edited, or do I have to recomplie it ??

If it can what tool can I use ?? and how to change
0
Comment
Question by:911bob
3 Comments
 
LVL 19

Accepted Solution

by:
RanjeetRain earned 500 total points
ID: 12017018
If you have the source code, you can simply change the necessary constant/variable and recompile. If you don't, you may have to decompile and then recompile with the changed constant/variable value.

Many decompilers are available. But most of them produce assembly code. But there are some decompilers that can produce equivalent C code too. YOu may want to look at them.

For changing just one character, using a good hex editor can be a quick hack. But this requires a very good understanding of binary data representation methods.
0
 
LVL 3

Expert Comment

by:aravindtj
ID: 12017628
Hi,
 If the driver/ dll file is make in "Checked" mode, you can et the debugging messag using Kernal debugging tools like WinDbg etc. It is available along with DDK tool kit.
 
0
 
LVL 22

Expert Comment

by:cookre
ID: 12017858
My favorite Windows hex editor:
http://www.hexpertsystems.com/hexpert.html
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now