Package org.zaproxy.zap.extension.fuzz

Examples of org.zaproxy.zap.extension.fuzz.ExtensionFuzz


      addAllChannelObserver(wsFilterListener);
      payloadFilter = new FilterWebSocketPayload(this, wsPanel.getChannelsModel());
      addWebSocketFilter(payloadFilter);
     
      // setup fuzzable extension
      ExtensionFuzz extFuzz = (ExtensionFuzz) extLoader.getExtension(ExtensionFuzz.NAME);
      if (extFuzz != null) {
        hookMenu.addPopupMenuItem(new ShowFuzzMessageInWebSocketsTabMenuItem(getWebSocketPanel()));
       
        fuzzHandler = new WebSocketFuzzerHandler(storage.getTable());
        extFuzz.addFuzzerHandler(WebSocketMessageDTO.class, fuzzHandler);
        addAllChannelObserver(fuzzHandler);
      }
     
      // add exclude/include scope
      hookMenu.addPopupMenuItem(new PopupIncludeWebSocketContextMenu());
View Full Code Here


    if (extBreak != null) {
      extBreak.removeBreakpointsUiManager(getBrkManager());
    }
   
    // clear up fuzzable extension
    ExtensionFuzz extFuzz = (ExtensionFuzz) extLoader.getExtension(ExtensionFuzz.NAME);
    if (extFuzz != null) {
      extFuzz.removeFuzzerHandler(WebSocketMessageDTO.class);
    }
   
    removeWebSocketFilter(payloadFilter);
   
    // clear up manualrequest extension
View Full Code Here

        return fuzzView;
    }
   
    private WebSocketFuzzDialog getDialog(FuzzableComponent fuzzableComponent) {
        if (fuzzDialog == null) {
          ExtensionFuzz ext = (ExtensionFuzz) Control.getSingleton().getExtensionLoader().getExtension(ExtensionFuzz.NAME);
          fuzzDialog = new WebSocketFuzzDialog(ext, fuzzableComponent, wsProxies);
        } else {
          // re-use dialog, such that the previous selection of the
          // fuzzer & its category is not lost.
          fuzzDialog.setFuzzableComponent(fuzzableComponent);
View Full Code Here

  @Override
  public void notifyFuzzProcessComplete(FuzzResult fuzzResult) {
    if (fuzzResult instanceof WebSocketFuzzResult) {
      if (((WebSocketFuzzResult) fuzzResult).isAbort()) {
        ExtensionFuzz extFuzz = getFuzzExtension();
        if (extFuzz != null) {
          extFuzz.stopFuzzers();
        }
      }
    }
  }
View Full Code Here

TOP

Related Classes of org.zaproxy.zap.extension.fuzz.ExtensionFuzz

Copyright © 2018 www.massapicom. 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.