intercept Questions

1

Solved

I would like to catch all the inputs and output of a commandline program (namely, GDB, but currently changed to ls or cat for simplicity) and redirect it into a file, for later analysis. I couldn'...
Futrell asked 29/5, 2012 at 7:37

3

Solved

I've a web page (being displayed in a browser, NOT a WebView), and I'd like to pass some data (using http POST for instance) to a regular android app. I only need the app to be launched and fed wi...
Gatling asked 15/5, 2012 at 9:43

1

Solved

I'm trying to intercept the openat() system call on Linux using a custom shared library that I can load via LD_PRELOAD. An example intercept-openat.c has this content: #define _GNU_SOURCE #include...
Fake asked 6/2, 2012 at 13:53

1

Solved

I'm trying to print out the body of a HTTP response using Python. Here is my code sofar: from twisted.web import proxy, http from twisted.internet import reactor from twisted.python import log im...
Nuncle asked 30/1, 2012 at 12:3

10

Solved

Can I intercept a method call in Objective-C? How? Edit: Mark Powell's answer gave me a partial solution, the -forwardInvocation method. But the documentation states that -forwardInvocation is onl...
Yeseniayeshiva asked 24/10, 2009 at 16:38

4

Solved

I am writing an application for which I need to intercept some filesystem system calls eg. unlink. I would like to save some file say abc. If user deletes the file then I need to copy it to some ot...
Avogadro asked 21/12, 2011 at 10:31

4

Solved

I'd like to intercept the WM_DELETE_WINDOW message that is posted to a certain selection of windows that an application I'm writing (AllTray), so that I can act on it instead of the application rec...
Copenhaver asked 21/7, 2009 at 4:53

2

Solved

I have a form. This form submits via POST to an iframe, that, in turn, has the request processed and, depending on the result, a javascript is executed that changes the parent's content according t...
Prisilla asked 15/6, 2011 at 19:22

1

I would like to know is there any way I create an application which can intercept all the audio that is being played back on the computer, so I can process the audio (apply some effect) and then pa...
Guggenheim asked 22/12, 2010 at 17:55

1

Solved

I want to write a vbscript that will wait for windows shutdown and intercept to carry out proper action before shutting down. I want this to be in vbscript since am using it for administration.
Barghest asked 16/8, 2010 at 2:33

5

Solved

I am trying to develop a C# application that will intercept an outgoing Http request and return a result to an old system. We have a legacy system that makes an Http request to a discontinued...
Revenuer asked 23/9, 2009 at 10:6

2

Solved

I'd like to use to a custom exception to have a user-friendly message come up when an exception of any sort takes place. What's a good straightforward way of doing this? Are there any extra precau...
Alien asked 4/7, 2010 at 14:14

4

Solved

I am wondering if anyone knows of tools or techniques to automatically inject common faults into a running .NET program. Stuff like... Randomly inject an OutOfMemoryException upon allocation Rand...
Harm asked 11/2, 2010 at 0:46

2

Is there a way to make a Firefox plugin intercept certain requests and respond to them without hitting the network? Example: every time the browser is about to request http://www.example.com/page....
Neighborly asked 4/11, 2009 at 14:21

1

Solved

In a script a method receives a parameter of type File, and sends it to the constructor of File. This blows up because File doesn't have a constructor that takes another file as a parameter. How c...
Pigweed asked 10/8, 2009 at 12:57

4

I want to imitate a normal python list, except whenever elements are added or removed via slicing, I want to 'save' the list. Is this possible? This was my attempt but it will never print 'saving'....
Trimetallic asked 22/7, 2009 at 17:18

1

Solved

Ruby has method_missing , Python has getattr. Does Boo offer something I can use to intercept method calls?
E asked 18/7, 2009 at 14:13

© 2022 - 2024 — McMap. All rights reserved.