Questions tagged [intercept]

A programming interface for intercepting input device communication.

461 questions
3
votes
2 answers

Intercept traffic above the transport layer

Firstly, I'm relatively new to network programming. I want to intercept and delay HTTP traffic before it gets to the server application. I've delved into libnetfilter_queue which gives me all the information I need to delay suitably, but at too low…
Ray2k
  • 374
  • 1
  • 6
  • 13
3
votes
4 answers

How could I transform some keypresses into other keypresses?

I have a great idea about cheating on exams. My school uses very old IDE's ( think Turbo Pascal, Turbo C++ , and other 80's ones ), and the thing I'd like to do is this : start my program in the background intercept the keypresses, and instead of…
Geo
  • 93,257
  • 117
  • 344
  • 520
3
votes
0 answers

Functional Regression without intercept in R

I am doing a functional regression in R (package fda)and am supposed to eliminate the intercept term. But the fda package in R seems have no such formula. Here is what I wish to do: fit.fd <- fRegress(Acc.fd~Velo.fd - 1) where Acc.fd and Velo.fd…
Richard Li
  • 101
  • 3
3
votes
2 answers

Is there any way to intercept print jobs on a local Windows XP machine?

Preferably using a scripting language like Perl or Python, but if I have to go the compiled route then so be it. Essentially what I want to do is make an addition to my company's mail merge system. Right now, the software we use has a rather…
DWilliams
  • 451
  • 8
  • 22
3
votes
3 answers

Transparently treat multiple streams as one (stream sizes known)

The problem I'm trying to solve is optimising the input of some 3rd party code, which has commandline "program input_file output_file". The 3rd party code handles the input_file with standard fopen, fseek, fread etc. I want to be able to use…
John Smith
  • 125
  • 1
  • 6
2
votes
1 answer

View Caching with PHP

I have a question about the cache of a view, suppose I have the following block of code:
user862010
2
votes
3 answers

HTTPS intercept

I don't know much about SSL, but I've read something and I was wondering if it's possible to intercept the communication between client and server (for example, a company can monitor employees data transfer?). I thought it was a difficult task, but…
Adrian
  • 331
  • 1
  • 4
  • 16
2
votes
0 answers

How to create a c# desktop app to intercept web notifications?

I would like to understand how to make a desktop application to interact with Chorme or firefox notifications. in particular, I would like to know when a notification sends you to an address. I followed this guide:…
2
votes
1 answer

How to ignore methods unmatched methods in bytebuddy interception

I want to ignore the instrumentation for methods which are abstract to source class and target object but if it is abstract method for source alone then i would like to call the equivalent method on target object. Currently i am using this adapter =…
2
votes
1 answer

Requestly chrome extension mock api response to 503

I want to change HTTP Status Code to 503 with a custom response body on URL ending with .mpd. I am using Requestly chrome extension to intercept the request and have it failed with 503. Here is the Modify API Response rule screenshot Here's…
Norfeldt
  • 8,272
  • 23
  • 96
  • 152
2
votes
2 answers

How to intercept requests from external handlers using Cypress?

Does anyone know how a request that launches an external handler (such as an email app) can be intercepted to obtain the Request URL? The in-browser request that launches the external app looks like this: Request URL: …
gomn
  • 101
  • 1
  • 8
2
votes
0 answers

Fit a no intercept binary model in caret

Let's take data : y <- sample(0:1, 125, T) x <- data.frame(rnorm(125), rexp(125)) I want to perform cross validation on data above, without intercept. To exclude intercept in linear models in caret we just need to use : tuneGrid =…
John
  • 1,849
  • 2
  • 13
  • 23
2
votes
2 answers

Hook on mscorlib (System.Security.Cryptography.CryptoStream) to log parameters

I want to log the parameters which are given to a CryptoStream object in an application, to log the plaintext before it is encrypted. I want to do this dynamically, without tampering with the original file. Is there a way to create a "layer" between…
friedkiwi
  • 2,158
  • 8
  • 29
  • 52
2
votes
1 answer

Track/intercept method call

I want to intercept a method call (usually .net API). How can this be achived? I have seen AOP/ContextBoundObject by some googling, but all those requires the class to be derived from ContextBoundObject. I want to intercept MessageBox.Show Which i…
Tilak
  • 30,108
  • 19
  • 83
  • 131
2
votes
2 answers

PHP - Intercept POST requests

I was wondering if anyone could help me solve how to view $_POST requests. What i want to do, is check all $_POST requests, not just certain ones like $_POST['name'], $_POST['post'] etc, I'd like to check every post, without being able to know the…