Package burp.api.montoya.collaborator
Interface Interaction
-
public interface InteractionThis interface provides details of an interaction with the Burp Collaborator server.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.net.InetAddressclientIp()Returns the client IP address.java.util.Optional<java.lang.String>customData()Return custom data from the payload.java.util.Optional<DnsDetails>dnsDetails()Returns the DNS interaction details.java.util.Optional<HttpDetails>httpDetails()Returns the HTTP interaction details.InteractionIdid()Returns the id.java.util.Optional<SmtpDetails>smtpDetails()Returns the SMTP interaction details.java.time.ZonedDateTimetimeStamp()Returns the timestamp.InteractionTypetype()Returns the type.
-
-
-
Method Detail
-
id
InteractionId id()
Returns the id.- Returns:
- The interaction id.
-
type
InteractionType type()
Returns the type.- Returns:
- The type of interaction.
-
timeStamp
java.time.ZonedDateTime timeStamp()
Returns the timestamp.- Returns:
- The timestamp of the interaction.
-
clientIp
java.net.InetAddress clientIp()
Returns the client IP address.- Returns:
- The IP address of the client performing the interaction.
-
dnsDetails
java.util.Optional<DnsDetails> dnsDetails()
Returns the DNS interaction details.- Returns:
- Details of the DNS interaction or empty if the interaction was not DNS.
-
httpDetails
java.util.Optional<HttpDetails> httpDetails()
Returns the HTTP interaction details.- Returns:
- Details of the HTTP interaction or empty if the interaction was not HTTP.
-
smtpDetails
java.util.Optional<SmtpDetails> smtpDetails()
Returns the SMTP interaction details.- Returns:
- Details of the SMTP interaction or empty if the interaction was not SMTP.
-
customData
java.util.Optional<java.lang.String> customData()
Return custom data from the payload.- Returns:
- The custom data.
-
-