Questions tagged [interception]

174 questions
0
votes
1 answer

Puppeteer redirect throws ERR_BLOCKED_BY_CLIENT

I am using puppeteer to bring up chromium and launch a page. For my scenario the page URL has to be intercepted along with the css/js/img requests coming from the page. My puppeteer code for page interception looks like this, await…
0
votes
0 answers

Intercept in webdriverIO do not catch api request

Trying to apply Intercept in the webdriverIO test use WDIO CLI (testrunner) describe('Main flow for order', () => { if (browser.isChrome) { it('should login with valid credentials', async () => { await browser.url(`/`); await…
0
votes
1 answer

How can the motion of the rocket be optimized?

I am making a missile interception strategy game, why does it give an error message when trying to removing enemy birds? How can the motion of the rocket be optimized ? Why aren't the enemies eliminated? Here is my Build Rocket…
0
votes
1 answer

C# Interception of user input/ Restrict user input via keyboard

I have the problem, that i like to programm a ui in windows forms. there i only want to allow user input through the buttons from the ui, which i already have ready, and number input through the keys on the keyboard. All other keys should not work.…
Mori42
  • 1
0
votes
1 answer

PuppeteerSharp requests to localhost?

I am not exactly sure if that is a pure PuppeteerSharp question or if it belongs to puppeteer in general. I setup a browser with a page and request interception. When the browser navigates to an external webpage like google I subscribed the page…
0
votes
1 answer

PHP email interception not sending email with attachments

I have set email interception on my server. following is my email forwarder set on server testemail@my.server.com,"/home/server/php_pipe_mail.php" following is my code for php_pipe_mail.php #!/usr/bin/php -q
amar4u
  • 1
0
votes
2 answers

WCF Detect When Message First Arrives?

I have a self hosted WCF 4.0 service with an HTTPS endpoint. I have method that writes some trace info after the message comes in. However, some messages are 400k in size, so there is a long wait conceivably between when WCF has it and my console…
Snowy
  • 5,942
  • 19
  • 65
  • 119
0
votes
0 answers

C# Make a simple interception based on Attribute

I would like to perform a C# interception based with Attribute by example: [CheckSomething] public void Test() { } And I want to cancel the execution of the method by example, i've alreay tried by creating an Attribute, an other problem is that i…
0
votes
1 answer

How does AOP via ninject.extensions.interception relate to ninject?

I understand that ninject.extensions.interception can be used for AOP, but how does this project relate/leverage Ninject? Is it possible to use Ninject for DI and some other framework for AOP? Does ninject.extensions.interception do something…
Suraj
  • 35,905
  • 47
  • 139
  • 250
0
votes
1 answer

Linux kernel: what are instruction cache and mp-IRQ subsystem within a terms of function interception via replace?

I'm trying to implement a kernel function intercept (replacing a System.map's pointer to function, using this old method (c) Silvio); according to this forum post, some possible flaws may be related to instruction cache and mp-IRQ sources, which…
kagali-san
  • 2,964
  • 7
  • 48
  • 87
0
votes
0 answers

Null pointer exception when using interceptor

I'm using interceptors for the first time. I followed the course of A. Goncalves, I tried to implement a simple logger interceptor as follows but I got a NPE. I don't understand what is wrong, please explain to me. I used a Qualifier. Qualifier…
ziMtyth
  • 1,008
  • 16
  • 32
0
votes
2 answers

intercept dictionary items which are two dimensional array

Here is my dictionary of n items. { "proceed": [[6,46] , [7,67], [12,217], [67,562], [67,89]], "concluded": [[6,46] , [783,123], [121,521], [67,12351], [67,12351]], ... } imagine a dictionary s.t. like that with n keys and items which are two…
0
votes
0 answers

Finding intersected elements of lists in a dictionary

I'm working with Python 3 and I have a dictionary: {'investment': [2,62,634,654], 'companies': [2, 30, 62, 53, 66, 279, 281], 'products': [2, 30, 49,128,562,62] . . . } I don't know the size of dictionary. (It changes according to the input…
0
votes
0 answers

Transition from legacy database to new one that works with legacy application

I have a problem concerning legacy application that can’t be changed in any way (single executable file with no dlls) which is connected to a database that can be changed. It is a visual basic 6 application connecting to the database using ADO.Net.…
JaK
  • 66
  • 1
  • 9
0
votes
0 answers

Ninject Interception in a IIS hosted WCF application

I have a working WCF application hosted in IIS (.svc), using Ninject (Ninject.Web.Common) for dependency injection. All is well and good, works great. However I am trying to implment interception on the service endpoints and am getting a…
Brandon
  • 830
  • 1
  • 15
  • 35