Examples of submitAlteredRequest()


Examples of com.subgraph.vega.api.scanner.IInjectionModuleContext.submitAlteredRequest()

  private final CaseSensitivityCheck caseSensitivityCheck = new CaseSensitivityCheck();

  @Override
  public void initialize(IPathState ps) {
    final IInjectionModuleContext ctx = ps.createModuleContext();
    ctx.submitAlteredRequest(this, "/"+ PAGE_DOES_NOT_EXIST);
  }

  @Override
  public void runModule(HttpUriRequest request, IHttpResponse response, IInjectionModuleContext ctx) {
    final IPathState ps = ctx.getPathState();
View Full Code Here

Examples of com.subgraph.vega.api.scanner.IInjectionModuleContext.submitAlteredRequest()

    sendProbeRequests(ps);
  }

  private void sendProbeRequests(IPathState ps) {
    final IInjectionModuleContext ctx = ps.createModuleContext();
    ctx.submitAlteredRequest(this, "/", 1);
    ctx.submitAlteredRequest(this, "/abc123/", 2);
  }

  private void processProbeResponses(HttpUriRequest request, IHttpResponse response, IInjectionModuleContext ctx, IPathState ps) {
    if(response.isFetchFail()) {
View Full Code Here

Examples of com.subgraph.vega.api.scanner.IInjectionModuleContext.submitAlteredRequest()

  }

  private void sendProbeRequests(IPathState ps) {
    final IInjectionModuleContext ctx = ps.createModuleContext();
    ctx.submitAlteredRequest(this, "/", 1);
    ctx.submitAlteredRequest(this, "/abc123/", 2);
  }

  private void processProbeResponses(HttpUriRequest request, IHttpResponse response, IInjectionModuleContext ctx, IPathState ps) {
    if(response.isFetchFail()) {
      ctx.error(request, response, "Fetch failed processing unknown path probe responses");
View Full Code Here

Examples of com.subgraph.vega.api.scanner.IInjectionModuleContext.submitAlteredRequest()

      return;
    }

    final String param = generateBogusParameter();
    for(int i = 0; i < 5; i++) {
      ctx.submitAlteredRequest(this, param, i);
    }

  }
 
  private String generateBogusParameter() {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.