Is it possible to open files(that are in use) if they were opened without sharing read access?
Is it possible to open files(that are in use) if they were opened without sharing read access?
Environment: OS X, GCC / G++
Codes: Java, C#, C/C++
AOL IM: neandrake, Email: neandrake (at) gmail (dot) com
I hope not.
Long story short, yes. But I suffice to say, its a bit over your head.
There are several ways - some much harder than others.
The easiest I can think of is to simply inject your code into the process that has the file open. A single process can open a file multiple times without sharing.
Three Ways To Inject Your Code Into Another Process
If you don't know which process has the file open, it gets a little harder
gg