PDA

View Full Version : patching


iFreaker
October 4th, 2007, 08:09
i am pretty much new around. can anyone direct me how to patch a program to allow multiple instances please?

naides
October 4th, 2007, 08:20
I think you need to read the FAQ and explain your problem/request a lot better than that if you truly want guidance

1. What is the problem....
2. What is the protection.....
3. What tools are you using....
4. What tutorials have you read....
5. Show your output listing WITH comments....
6. NOW ask your question....

While we routinely read minds here, the cosmic energy has not been cooperating lately, so no way to figure out what you are talking about. . .

blabberer
October 4th, 2007, 10:25
normally prohibiting running of multiple instances of program are made possible by several means

lame method starts with using FindWindow() and bypassing (look for jason geffners blog he blogged about allowing multiple instance of outlook express and i think it used FindWindow or something similar)
to some advanced methods like Createmutex OpenMutex()

iFreaker
October 4th, 2007, 12:21
1. What is the problem....
I have this program with me that does not allow multiple instances of it to run at the same time. I want to create a patch that will allow me to open multiple instances.

2. What is the protection.....
I don't know exactly but I think it is the normal multiple instance preventing code.

3. What tools are you using....
I have most common disassemblers and debuggers and hex editors. Plus I have programming experience of Visual Basic 6 and C#.NET.

4. What tutorials have you read....
I cannot find any tutorials regarding this particular problem except this ("http://www.mydigitallife.info/2006/12/13/running-multiple-instances-of-google-talk-gtalk-polygamy-and-login-as-multi-users/")even after googling a lot. This tutorial does not help me understand this much.

5. Show your output listing WITH comments....
errr... what?

6. NOW ask your question....
How do I patch a program to make it allow multiple instances of it?

@blabberer: can you give link to that blog please? i cannot find it.

JMI
October 4th, 2007, 13:34
iFreaker:

Sometimes one can overthink the subject of "research" and fail, therefor, to consider somewhat more "obvious" lines of inquiry. For example, I just took at shot at a google search using:

running of multiple instances of a program

(had I taken the time, running multiple instances program would have worked just as well but you get the point.)

http://www.google.com/search?hl=en&q=running+of+multiple+instances+of+a+program++&btnG=Search

The first entry, among the 391,000 found is titled:

Running multiple instances of a program - .NET VB

I then tried:

creating multiple instances program

and got 4,130,000 hits. Among these were entries, such as:

creating multiple instances of a process

There are many entries for creating multiple instances in various programs, some of which might be helpful.

Now I didn't take the time to actually read any of the entries, that's actually your quest, but wanted to call your attention to the "possibilities" of "creative" searching.

The first search also pulled up alot of articles on "preventing" multiple instances of a program, which might, at the very least, lead to information on your ultimate, specific question. If you actually discover how one "prevents" multiple instances, you might better understand what is preventing your own efforts. This might actually lead you to discovery of how to (gasp!) bypass the particular code preventing you from actually doing what you want. You briefly mention "normal prevention code," but it is unclear from what you wrote whether you understand how that "normal prevention code" might work or just that you believe there is such a thing.

Some things to keep in mind.

[EDIT] By the way, I just did a search for:

jason geffner

and quickly found his blog here:

http://www.malwareanalysis.com/communityserver/blogs/geffner/

Also keep in mind that a "cookie cutter" tutorial is not your "only" source of information and there are, undoubtedly, many tutorials which discuss this issues, but may not have that issue as their "titled theme."

You're "making an effort" and that is always a "good thing." Just don't limit yourself to a preconceived perception that there is only one "correct path" to your answer. There are nearly always "many paths through the dark codewoods" which can lead to a solution or, at least, to another path to explore.

While it is always "easier" if someone just gives you a full answer, it is always more "educational," and truely more "satisfying", if you actually learn how to find the path "with a little help from your friends." That way, next time/next issue, you will be a little better prepared for whatever challenges you face.

Regards,

naides
October 4th, 2007, 14:53
Quote:
[Originally Posted by blabberer;69122]normally prohibiting running of multiple instances of program are made possible by several means

lame method starts with using FindWindow() and bypassing (look for jason geffners blog he blogged about allowing multiple instance of outlook express and i think it used FindWindow or something similar)
to some advanced methods like Createmutex OpenMutex()


Sorry iFreaker, you stated the problem in a hyper condensed fashion and I did not get the essence of it. fortunately Blabberer, one of our staff mind readers, hit the problem and the path to the solution. . .

LLXX
October 5th, 2007, 01:17
Quote:
[Originally Posted by iFreaker;69125]I have programming experience of Visual Basic 6 and C#.NET.

Quote:
I cannot find any tutorials regarding this particular problem
Typical.
Quote:
5. Show your output listing WITH comments....
errr... what?

If you really want to reverse properly, you'll need to learn Asm. Don't wait, start now.