text
stringlengths
14
100k
source
stringclasses
1 value
repo
stringclasses
810 values
language
stringclasses
13 values
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2011 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * *<|fim_suffix|>he ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apa...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2011 The ZAP Development Team * * Licensed under the Apache Lice<|fim_suffix|> permissions and * limitations under the License. */ package org.zaproxy.zap....
fim
zaproxy/zaproxy
java
<|fim_suffix|>wModel()); } @Override public Object getOptions() { return RequestSplitComponent.ViewComponent.BODY; } } @Override public String getAuthor() { return Constant.ZAP_TEAM; } /** No database tables used, so all supported */ @Overri...
fim
zaproxy/zaproxy
java
<|fim_suffix|>); } sb.append(name); sb.append('='); sb.append(value); hasValues = true; } } catch (UnsupportedEncodingException | IllegalArgumentException e) { // ZAP: Log the...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2011 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
<|fim_suffix|>(message instanceof HttpMessage) { final String syntax = detectSyntax((HttpMessage) message); setSyntaxEditingStyle(syntax); } } protected abstract String detectSyntax(HttpMessage httpMessage); @Override public void loadConfiguration(String key, FileConfig...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2022 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2012 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
<|fim_suffix|> pasteAction = new TextAreaMenuItem( RTextArea.PASTE_ACTION, MenuWeights.MENU_EDIT_PASTE_WEIGHT); deleteAction = new TextAreaMenuItem( RTextArea.DELETE_ACTION, MenuWeights.MENU_EDIT_DELETE_WEIGHT)...
fim
zaproxy/zaproxy
java
<|fim_suffix|> mainPanel = new JPanel(); mainPanel.setLayout(new BorderLayout()); httpPanelTextArea = createHttpPanelTextArea(); httpPanelTextArea.setEditable(false); httpPanelTextArea.setComponentPopupMenu(new CustomPopupMenu()); JScrollPane scrollPane = new RTextScrollPane(...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2012 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
<|fim_suffix|>l model) { super(model); } @Override protected HttpPanelSyntaxHighlightTextArea createHttpPanelTextArea() { contentSplitter = new ContentSplitter(getMainPanel()); HttpPanelSyntaxHighlightTextArea textArea = new HttpResponseAllPanelSyntaxHighlightTextAre...
fim
zaproxy/zaproxy
java
<|fim_suffix|>sagelocation.MessageLocationProducerFocusListener; import org.zaproxy.zap.view.messagelocation.MessageLocationProducerFocusListenerAdapter; import org.zaproxy.zap.view.messagelocation.TextMessageLocationHighlight; import org.zaproxy.zap.view.messagelocation.TextMessageLocationHighlightsManager; @Suppress...
fim
zaproxy/zaproxy
java
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2012 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2012 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2012 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
<|fim_suffix|> zzCurrentPosL += Character.charCount(zzInput); } } int zzNext = zzTransL[zzRowMapL[zzState] + zzCMap(zzInput)]; if (zzNext == -1) break zzForAction; zzState = zzNext; zzAttrib...
fim
zaproxy/zaproxy
java
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2012 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
fim
zaproxy/zaproxy
java
<|fim_suffix|> } @Override public void actionPerformed(ActionEvent e) { JTextComponent textComponent = getTextComponent(e); if (textComponent instanceof HttpPanelSyntaxHighlightTextArea) { HttpPanelSyntaxHighlightTextArea httpPanelTextArea = ...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2011 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
<|fim_suffix|>nu().show(messageContainer, x, y); } else { View.getSingleton().getPopupMenu().show(httpPanelTextArea, x, y); } } } } <|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application s...
fim
zaproxy/zaproxy
java
<|fim_suffix|>)) { if (evt.getNewValue() == Boolean.TRUE) { textComponent.getCaret().setBlinkRate(caretBlinkRate); } else { textComponent.getCaret().setBlinkRate(0); } } } @Override public void focusGained(FocusEvent e) { t...
fim
zaproxy/zaproxy
java
<|fim_suffix|>HeaderBodyPosition(JTextArea, String, int, int) */ public static int[] getViewToHeaderPosition(JTextArea view, int start, int end) { validateView(view); validateStartEnd(start, end); if (!isValidStartEndForLength(start, end, view.getDocument().getLength())) { ...
fim
zaproxy/zaproxy
java
<|fim_suffix|>l(ENABLED_FIELD_LABEL); layout.setHorizontalGroup( layout.createSequentialGroup() .addGroup( layout.createParallelGroup(GroupLayout.Alignment.TRAILING) .addComponent(nameLabel) ...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2012 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2012 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2012 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2012 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
<|fim_suffix|> synchronized (sessionTokens) { sessionTokens.remove(token); } } /** * Checks if is session token. * * @param token the token * @return true, if successful */ public boolean isSessionToken(String token) { synchronized (sessionTokens) { ...
fim
zaproxy/zaproxy
java
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2013 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
fim
zaproxy/zaproxy
java
<|fim_suffix|>/ public void addSiteAsynchronously(final String site) { EventQueue.invokeLater( new Runnable() { @Override public void run() { addSite(site); } }); } /** * A new ...
fim
zaproxy/zaproxy
java
<|fim_suffix|> be enabled, {@code false} otherwise. * @return {@code true} if the token's enabled state changed, {@code false} otherwise. * @since 2.8.0 */ public boolean setDefaultTokenEnabled(String name, boolean enabled) { Optional<HttpSessionToken> maybeToken = getDefaultT...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2012 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2012 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2012 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
<|fim_suffix|>util.List; import org.parosproxy.paros.Constant; import org.zaproxy.zap.view.AbstractMultipleOptionsTableModel; /** * The OptionsHttpSessionsTableModel is used as a table model to display the token names for {@link * OptionsHttpSessionsPanel}. */ @SuppressWarnings("serial") public class OptionsHttpSes...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2014 The ZAP D<|fim_suffix|>: First init the panels of the dialog so old users data gets loaded and just then // update the users // fr...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2015 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2012 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2018 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2012 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
fim
zaproxy/zaproxy
java
<|fim_suffix|> always only enabled on active session site.unsetActiveSession(); } }); } @Override public boolean isEnableForComponent(Component invoker) { // Only enable it for the HttpSessionsPanel and for the entries that are not already...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2014 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2014 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2014 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
<|fim_suffix|> { return false; } return true; } } <|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2014 The ZAP Development Team * * Licensed under the Apache License, Versio...
fim
zaproxy/zaproxy
java
<|fim_suffix|>m.class); private static final String KEYBOARD_BASE_KEY = "keyboard"; private static final String ALL_SHORTCUTS_KEY = KEYBOARD_BASE_KEY + ".shortcuts"; private static final String MENU_ITEM_KEY = "menu"; private static final String KEYCODE_KEY = "keycode"; private static final Strin...
fim
zaproxy/zaproxy
java
<|fim_suffix|>ermissions and * limitations under the License. */ package org.zaproxy.zap.extension.keyboard; import javax.swing.KeyStroke; public class KeyboardShortcut { private String name; private String identifier; private KeyStroke keyStroke; private boolean changed = false; public Keyboa...
fim
zaproxy/zaproxy
java
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2014 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
fim
zaproxy/zaproxy
java
<|fim_suffix|>rivate static final long serialVersionUID = -115340627058929308L; private DialogEditShortcut modifyDialog = null; private KeyboardShortcutTableModel model; public KeyboardOptionsPanel(final KeyboardShortcutTableModel model) { super(model); this.model = m...
fim
zaproxy/zaproxy
java
<|fim_suffix|> Constant.messages.getString(message, langFileCount), Constant.messages.getString("options.lang.importer.dialog.title"), (langFileCount > 0) ? JOptionPane.INFORMATION_MESSAGE : JOptionPane.ERROR_MESSAGE); ...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2011 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2011 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2010 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
<|fim_suffix|>ectory) { this.saveDirectory = saveDirectory; getConfig().setProperty(SAVE_DIR, saveDirectory); } } <|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2010 The ZAP Development ...
fim
zaproxy/zaproxy
java
<|fim_suffix|>ld)))); layout.setVerticalGroup( layout.createSequentialGroup() .addComponent(useSocksCheckBox) .addGroup( layout.createParallelGroup(GroupLayout.Alignment.BASELINE) ...
fim
zaproxy/zaproxy
java
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2011 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2011 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2011 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
<|fim_suffix|>icense. */ package org.zaproxy.zap.extension.params; import java.util.Collection; import java.util.HashMap; import java.util.Map; import net.sf.json.JSONObject; import org.zaproxy.zap.extension.api.ApiException; import org.zaproxy.zap.extension.api.ApiImplementor; import org.zaproxy.zap.extension.api.Ap...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web <|fim_suffix|> java.awt.event.KeyEvent; import javax.swing.ImageIcon; import javax.swing.JComboBox; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JScrollPane; import java...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2011 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2011 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2011 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
<|fim_suffix|>blic void setExtension(ExtensionParams extension) { this.extension = extension; } @Override public boolean isEnableForComponent(Component invoker) { if (invoker.getName() != null && invoker.getName().equals(ParamsPanel.PANEL_NAME)) { this.setEnabled(extension.getPa...
fim
zaproxy/zaproxy
java
<|fim_suffix|>)) { this.setEnabled(true); return true; } } return false; } @Override public boolean isSafe() { return true; } } <|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy fo...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2011 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
<|fim_suffix|> getParams(HtmlParameter.Type type) { List<HtmlParameterStats> params = new ArrayList<>(); switch (type) { case cookie: params.addAll(this.cookieParams.values()); break; case url: params.addAll(this.urlParams.values())...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2017 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2017 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
<|fim_suffix|>proxyServer; } @SuppressWarnings("removal") private void stopProxyServer( String proxyKey, org.parosproxy.paros.core.proxy.ProxyServer proxyServer) { log.info("Stopping alt proxy server: {}", proxyKey); proxyServer.stopServer(); Control.getSingleton().getEx...
fim
zaproxy/zaproxy
java
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2017 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2017 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2017 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2017 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2017 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2017 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2012 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
<|fim_suffix|> return super.validateName(name); } @Override protected void init() { getNameTextField().setText(scanner.getName()); getNameTextField().discardAllEdits(); getConfigurationTextField().setText(scanner.getConf()); getConfigurationTextField().discardAllEdits(); ...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2010 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
<|fim_suffix|>ort javax.swing.JOptionPane; import javax.swing.SortOrder; import org.parosproxy.paros.Constant; import org.parosproxy.paros.model.OptionsParam; import org.parosproxy.paros.view.AbstractParamPanel; import org.parosproxy.paros.view.View; import org.zaproxy.zap.utils.ZapHtmlLabel; import org.zaproxy.zap.vie...
fim
zaproxy/zaproxy
java
<|fim_suffix|>return String.class; } @Override public Object getValueAt(int rowIndex, int columnIndex) { switch (columnIndex) { case 0: return getElement(rowIndex).isEnabled(); case 1: return getElement(rowIndex).getName(); case 2:...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security<|fim_suffix|>plied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.zaproxy.zap.extension.pscan; /** <...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2012 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
<|fim_suffix|>; } <|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2024 The ZAP Development Team * * Licensed <|fim_middle|>under the Apache License, Version 2.0 (the "License"); * you may not use this fil...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2022 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2019 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
<|fim_suffix|>TO_TAG_SCANNERS_KEY); this.autoTagScanners = new ArrayList<>(fields.size()); List<String> tempListNames = new ArrayList<>(fields.size()); for (HierarchicalConfiguration sub : fields) { String name = sub.getString(AUTO_TAG_SCANNER_NAME_KEY, ""); ...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2024 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2022 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
<|fim_suffix|> LOGGER.error(e.getMessage(), e); } } /** * Add the History Type ({@code int}) to the set of applicable history types. * * @param type the type to be added to the set of applicable history types */ public static void addApplicableHistoryType(int type) { opt...
fim
zaproxy/zaproxy
java
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2011 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2011 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
<|fim_suffix|>ame()); } else { tempScanners.add(scanner); } } for (PassiveScanner scanner : autoTagScanners) { if (scannerNames.contains(scanner.getName())) { LOGGER.error("Duplicate passive scan rule name: {}", scanner.getName()); ...
fim
zaproxy/zaproxy
java
<|fim_suffix|> maxBodySizeLabel.setLabelFor(maxBodySizeInBytes); this.add(maxBodySizeLabel, LayoutHelper.getGBC(0, ++y, 1, 1.0)); this.add(maxBodySizeInBytes, LayoutHelper.getGBC(1, y, 1, 1.0)); this.add(clearQueue, LayoutHelper.getGBC(1, ++y, 1, 0.5)); this.add( new...
fim
zaproxy/zaproxy
java
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2013 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
fim
zaproxy/zaproxy
java
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2011 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2011 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java
<|fim_prefix|>/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2011 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
fim
zaproxy/zaproxy
java