read_burp: Read in a Burp proxy XML export file

Description Usage Arguments Details Value Examples

View source: R/import.r

Description

For now, this function expects the request and response elements to be base64 encoded.

Usage

1
read_burp(burp_file, convert_response = TRUE, convert_request = TRUE)

Arguments

burp_file

path to a Burp proxy XML export file

convert_response

if TRUE, turn the response record into and httr response object. If the response record cannot be turned into an httr response object a warning will be issued and the raw response record will be returned.

convert_request

if TRUE, turn the request record into and httr request object. If the request record cannot be turned into an httr request object a warning will be issued and the raw request record will be returned.

Details

Eventually there will likely be an as_har() function to turn the entire structure into a HARtools object.

Value

a tibble

Examples

1
2
3
4
5
library(dplyr)

system.file("extdata", "hottest_year.xml", package="burrp") %>%
  read_burp() %>%
  glimpse()

hrbrmstr/burrp documentation built on April 16, 2021, 3:15 a.m.