Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
The Zed Attack Proxy (ZAP) is an easy to use integrated penetration testing tool for finding vulnerabilities in web applications. It is designed to be used by people with a wide range of security experience and as such is ideal for developers and functional testers who are new to penetration testing. ZAP provides automated scanners as well as a set of tools that allow you to find security vulnerabilities manually.
/*
*
* Paros and its related class files.
*
* Paros is an HTTP/HTTPS proxy for assessing web application security.
* Copyright (C) 2003-2004 Chinotec Technologies Company
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the Clarified Artistic License
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* Clarified Artistic License for more details.
*
* You should have received a copy of the Clarified Artistic License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
// ZAP: 2012/04/25 Added type arguments to generic types, removed variables,
// added logger and other minor changes.
// ZAP: 2012/05/04 Catch CloneNotSupportedException whenever an Uri is cloned,
// as introduced with version 3.1 of HttpClient
// ZAP: 2016/09/20 JavaDoc tweaks
// ZAP: 2018/02/14 Remove unnecessary boxing / unboxing
// ZAP: 2019/06/01 Normalise line endings.
// ZAP: 2019/06/05 Normalise format/style.
package org.parosproxy.paros.core.scanner;
import java.util.TreeMap;
import java.util.Vector;
import org.apache.commons.httpclient.URI;
import org.apache.commons.httpclient.URIException;
import org.apache.log4j.Logger;
/**
* Knowledge base records the properties or result found during a scan. It is mainly used to share
* result among plugin when dependency arise.
*
*
There are 2 types of Kb: 1. key = name. result = value. This represents kb applicable over the
* entire host. 2. key = url (path without query) and name. result = value. This represents kb
* applicable for specific path only.
*/
public class Kb {
// ZAP: Added logger.
private static final Logger logger = Logger.getLogger(Kb.class);
// KB related
// ZAP: Added the type arguments.
private TreeMap mapKb = new TreeMap<>();
// ZAP: Added the type arguments.
private TreeMap> mapURI = new TreeMap<>();
/**
* Get a list of the values matching the key.
*
* @param key the key for the knowledge base list entry
* @return null if there is no previous values.
*/
// ZAP: Added the type argument.
public synchronized Vector