Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > Programmers Lounge > Programming Discussions » Question on hex editing, and yes the thing I am editing is free for editing.
Closed Thread
Old 01-10-2007, 02:26 AM   #1 (permalink)
 
Newb Techie

Join Date: Jan 2007

Posts: 6

cannotcompute

Default Question on hex editing, and yes the thing I am editing is free for editing.

If I posted in the wrong forum I appologise ahead of time. Feel free to move it to the correct section.

Does anyone know of a program that can moniter a specified program in real time so like when you open a dialog box in the program it says what line in the file it is reading from? Like it says something like line 13B955 executed or something like that so you could go in and edit that line with a hex editor so it wouldn't run that instruction?

Thanks.
cannotcompute is offline  
Old 01-10-2007, 02:29 AM   #2 (permalink)
Apokalipse's Avatar
 

Join Date: Jun 2003

Location: Melbourne, Australia

Posts: 13,739

Apokalipse has a spectacular aura aboutApokalipse has a spectacular aura about

Default

well, it would jump to other instructions so fast that it'd be pretty useless to use that method. unless the program pauses.
__________________

1 + 1 = 3 if you define 3 as a result of 1 + 1
Apokalipse is offline  
Old 01-10-2007, 02:30 AM   #3 (permalink)
 
Newb Techie

Join Date: Jan 2007

Posts: 6

cannotcompute

Default

Yeah, been thinking about that that.... I wonder if there is a way to only pick up certain types of instructions? (eg. dialog box, variable check)
cannotcompute is offline  
Old 01-10-2007, 02:33 AM   #4 (permalink)
 
Newb Techie

Join Date: Jan 2007

Posts: 6

cannotcompute

Default

Also.... I know the location of the text of the dialog box...... I could set up a self-destruct sequence just after it reads the text.... heehee
cannotcompute is offline  
Old 01-10-2007, 02:35 AM   #5 (permalink)
Apokalipse's Avatar
 

Join Date: Jun 2003

Location: Melbourne, Australia

Posts: 13,739

Apokalipse has a spectacular aura aboutApokalipse has a spectacular aura about

Default

I haven't actually done a lot of programming, but I don't think so.

from what I've gathered, I think you need to decompile the program first before you can start editing the code. or download the source code for the program (if the author/s allow/s)
__________________

1 + 1 = 3 if you define 3 as a result of 1 + 1
Apokalipse is offline  
Old 01-10-2007, 02:38 AM   #6 (permalink)
 
Newb Techie

Join Date: Jan 2007

Posts: 6

cannotcompute

Default

Yeah..... Well the author uses this really weird software license that allows decompileing and editing but doesn't give you what programming language it's in. It's annoying. He/she also does not provide source.....
cannotcompute is offline  
Old 01-10-2007, 02:42 AM   #7 (permalink)
Apokalipse's Avatar
 

Join Date: Jun 2003

Location: Melbourne, Australia

Posts: 13,739

Apokalipse has a spectacular aura aboutApokalipse has a spectacular aura about

Default

does he put his source code up for download?

I've heard that it's often pretty hard to successfully decompile a program, even if you have the programming language.
__________________

1 + 1 = 3 if you define 3 as a result of 1 + 1
Apokalipse is offline  
Old 01-10-2007, 02:44 AM   #8 (permalink)
 
Newb Techie

Join Date: Jan 2007

Posts: 6

cannotcompute

Default

It's a smaller program, so decompiling might work, but no source is provided rather annoyingly.
cannotcompute is offline  
Old 01-10-2007, 02:48 AM   #9 (permalink)
Apokalipse's Avatar
 

Join Date: Jun 2003

Location: Melbourne, Australia

Posts: 13,739

Apokalipse has a spectacular aura aboutApokalipse has a spectacular aura about

Default

well in that case, I think the only thing you can do is guess really. try a decompiler and see if it works.

or maybe you can email him asking him about it
__________________

1 + 1 = 3 if you define 3 as a result of 1 + 1
Apokalipse is offline  
Old 01-10-2007, 02:50 AM   #10 (permalink)
 
Newb Techie

Join Date: Jan 2007

Posts: 6

cannotcompute

Default

Yeah, I really don't know what programming language it's in..... Didn't specify..... If I email maybe he'll give me source? Oh well, worth a try.
cannotcompute is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On