All Downloads are FREE. Search and download functionalities are using the official Maven repository.

burp.IBurpCollaboratorInteraction Maven / Gradle / Ivy

There is a newer version: 2.3
Show newest version
package burp;

/*
 * @(#)IBurpCollaboratorInteraction.java
 *
 * Copyright PortSwigger Ltd. All rights reserved.
 *
 * This code may be used to extend the functionality of Burp Suite Free Edition
 * and Burp Suite Professional, provided that this usage does not violate the
 * license terms for those products.
 */
import java.util.Map;

/**
 * This interface represents a network interaction that occurred with the Burp
 * Collaborator server.
 */
public interface IBurpCollaboratorInteraction
{

    /**
     * This method is used to retrieve a property of the interaction. Properties
     * of all interactions are: interaction_id, type, client_ip, and time_stamp.
     * Properties of DNS interactions are: query_type and raw_query. The
     * raw_query value is Base64-encoded. Properties of HTTP interactions are:
     * protocol, request, and response. The request and response values are
     * Base64-encoded.
     *
     * @param name The name of the property to retrieve.
     * @return A string representing the property value, or null if not present.
     */
    String getProperty(String name);

    /**
     * This method is used to retrieve a map containing all properties of the
     * interaction.
     *
     * @return A map containing all properties of the interaction.
     */
    Map getProperties();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy