![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Jan 2008
Posts: 2
Rep Power: 0
![]() |
Multiple program execution
Hi, I was just wondering how with some programs there's a limited amount you can run (like only one at a time, or something) - can this be bypassed through ollydbg? If so, what kind of calls should I be looking for, or how do I find them? Thanks in advance.
|
|
|
|
|
|
#2 |
|
Troll
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4
![]() |
Re: Multiple program execution
On windows at least a single-instance restriction is usually done by trying to obtain a system-wide mutex. The first app gets the lock, the others exit.
__________________
MD5(sig) = bcef75433db02e9ad9bf81d6f7c5c270 |
|
|
|
|
|
#3 |
|
Not a user?
Join Date: Sep 2007
Posts: 245
Rep Power: 1
![]() |
Re: Multiple program execution
I don't know if this is what you are looking for, but it could be. This is on the project properties page in VB 2005
|
|
|
|
|
|
#4 |
|
Newbie
Join Date: Jan 2008
Posts: 2
Rep Power: 0
![]() |
Re: Multiple program execution
That's kind of what I'm talking about, but I'm looking for a way to -bypass- this
![]() |
|
|
|
|
|
#5 |
|
Troll
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4
![]() |
Re: Multiple program execution
Investigate what I said. Poke around for API calls relating to mutexes. The mutex will likely be created with a name that contains the name of the application (makes sense) and execution will branch based on the return code -- one branch causes the program to exit. I made this modification to the Ventrilo client once. I can't remember the specifics but it was easy and obvious when knowing what to look for.
__________________
MD5(sig) = bcef75433db02e9ad9bf81d6f7c5c270 |
|
|
|
|
|
#6 |
|
Newbie
Join Date: Mar 2008
Posts: 9
Rep Power: 0
![]() |
Re: Multiple program execution
Set a breakpoint on CreateMutexA/W and see if that yields any results.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Language display in program | Prm753 | C++ | 3 | May 30th, 2006 5:45 PM |
| Converter, my first multiple action listener program | ReggaetonKing | Java | 4 | Feb 23rd, 2006 7:01 AM |
| Creating a program to test a program | sixstringartist | C | 8 | Jan 21st, 2006 1:15 PM |
| Probelm with program execution in TOMCAT | hemanth.balaji | Java | 2 | Dec 3rd, 2005 8:36 AM |
| Win32 execution of a Command Line program | hemanth.balaji | C++ | 7 | May 20th, 2005 9:14 AM |