Examples of OptionsParam


Examples of org.parosproxy.paros.model.OptionsParam

  }
    /* (non-Javadoc)
     * @see com.proofsecure.paros.view.AbstractParamPanel#initParam(java.lang.Object)
     */
    public void initParam(Object obj) {
      OptionsParam optionsParam = (OptionsParam) obj;
      ConnectionParam connectionParam = optionsParam.getConnectionParam();
      getAuthModel().setListAuth(connectionParam.getListAuth());
    }
View Full Code Here

Examples of org.parosproxy.paros.model.OptionsParam

    /* (non-Javadoc)
     * @see com.proofsecure.paros.view.AbstractParamPanel#saveParam(java.lang.Object)
     */
    public void saveParam(Object obj) throws Exception {
      OptionsParam optionsParam = (OptionsParam) obj;
      ConnectionParam connectionParam = optionsParam.getConnectionParam();
      connectionParam.setListAuth(getAuthModel().getListAuth());
    }
View Full Code Here

Examples of org.parosproxy.paros.model.OptionsParam

        getPanelReverseProxy().setVisible(Constant.isSP());
       
  }
 
  public void initParam(Object obj) {
      OptionsParam optionsParam = (OptionsParam) obj;
      ProxyParam proxyParam = optionsParam.getProxyParam();
     
      // set Local Proxy parameters
      txtProxyIp.setText(proxyParam.getProxyIp());
      txtProxyPort.setText(Integer.toString(proxyParam.getProxyPort()));
     
View Full Code Here

Examples of org.parosproxy.paros.model.OptionsParam

  }

 
  public void saveParam(Object obj) throws Exception  {
      OptionsParam optionsParam = (OptionsParam) obj;
      ProxyParam proxyParam = optionsParam.getProxyParam();
      int proxyPort = 0;
      int reverseProxyHttpPort = 0;
      int reverseProxyHttpsPort = 0;
     
      try {
View Full Code Here

Examples of org.parosproxy.paros.model.OptionsParam

    /* (non-Javadoc)
     * @see org.parosproxy.paros.view.AbstractParamPanel#initParam(java.lang.Object)
     */
    public void initParam(Object obj) {
       
      OptionsParam optionsParam = (OptionsParam) obj;
      TrapParam trapParam = (TrapParam) optionsParam.getParamSet(TrapParam.class);
     
      if (trapParam.getInclusiveFilter().equals("")) {
          getTrapFilterPanel().getChkEnableInclusiveFilter().setSelected(false);
          getTrapFilterPanel().setInclusiveFilter(false);
      } else {
View Full Code Here

Examples of org.parosproxy.paros.model.OptionsParam

    /* (non-Javadoc)
     * @see org.parosproxy.paros.view.AbstractParamPanel#saveParam(java.lang.Object)
     */
    public void saveParam(Object obj) throws Exception {
       
        OptionsParam optionsParam = (OptionsParam) obj;
        TrapParam trapParam = (TrapParam) optionsParam.getParamSet(TrapParam.class);
     
//        if (getTrapFilterPanel().getChkEnableInclusiveFilter().isSelected()) {
            try {
                String s = getTrapFilterPanel().getTxtInclusiveFilter().getText();
                trapParam.setInclusiveFilter(s);
View Full Code Here

Examples of org.parosproxy.paros.model.OptionsParam

        // we search for all params looking for one session element
        // maybe more efficient because we don't build Patterns any time
        //String[] params = msg.getParamNames();

        // The Session ID list option param
        OptionsParam options = Model.getSingleton().getOptionsParam();
        HttpSessionsParam sessionOptions =
                (HttpSessionsParam) options.getParamSet(HttpSessionsParam.class);

        // Loop on all possible
        // session id variables (looking all along the url)
        // -----------------------------------------------------
        // We've to rebuild every time the patterns because
View Full Code Here

Examples of org.parosproxy.paros.model.OptionsParam

  }
 
  public void initParam(Object obj) {
     
      OptionsParam optionsParam = (OptionsParam) obj;
      ConnectionParam connectionParam = optionsParam.getConnectionParam();
     
      // set Proxy Chain parameters
      if (connectionParam.getProxyChainName().equals("")) {
      } else {
       
View Full Code Here

Examples of org.parosproxy.paros.model.OptionsParam

      }
  }

  public void saveParam(Object obj) throws Exception {
   
      OptionsParam optionsParam = (OptionsParam) obj;
      ConnectionParam connectionParam = optionsParam.getConnectionParam();

      connectionParam.setProxyChainRealm(txtProxyChainRealm.getText());
      connectionParam.setProxyChainUserName(txtProxyChainUserName.getText());
      // Make sure this isnt saved in the config file
      //connectionParam.setProxyChainPassword(new String(txtProxyChainPassword.getPassword()), false);
View Full Code Here

Examples of org.parosproxy.paros.model.OptionsParam

      panelPortScan.add(jLabel2, gridBagConstraints6);
    }
    return panelPortScan;
  }
  public void initParam(Object obj) {
      OptionsParam options = (OptionsParam) obj;
      PortScanParam param = (PortScanParam) options.getParamSet(PortScanParam.class);
      if (param == null) {
        getSliderMaxPort().setValue(PortScanParam.DEFAULT_MAX_PORT);
        getSliderThreadsPerScan().setValue(PortScanParam.DEFAULT_THREAD_PER_SCAN);
      } else {
        getSliderMaxPort().setValue(param.getMaxPort());
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.