You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2.8 KiB

output: rmarkdown::github_document
chunk_output_type: inline
```{r pkg-knitr-opts, include=FALSE}
knitr::opts_chunk$set(collapse=TRUE, fig.retina=2, message=FALSE, warning=FALSE)

[![Travis-CI Build Status](](
[![Coverage Status](](

# packettotal

Lookup and Analyze Packet Capture ('PCAP') Files

## Description

'PacketTotal' (<>) is an engine for analyzing,
categorizing, and sharing packet capture ('PCAP') files. The tool was built
with the information security community in mind and has applications in malware
analysis and network forensics. Methods are provided to query search for and
analyze packet capture files.


- `/search/deep/` : <>
- `/search/deep/results/{search_id}` : <>

## What's Inside The Tin

The following functions are implemented:

- `packettotal_api_key`: Get or set PACKETTOTAL_API_KEY value
- `pt_detail`: Get a detailed report of PCAP traffic, carved files, signatures, and top-talkers.
- `pt_download`: Download a PCAP analysis archive. The result is a zip archive containing the PCAP itself, CSVs representing various analysis results, and all carved files.
- `pt_info`: Get high-level information about a specific PCAP file.
- `pt_random`: Get high-level information about a random PCAP file.
- `pt_search`: Search with term or with a valid Lucene query.
- `pt_similar`: Get a similarity graph relative to the current PCAP file.
- `pt_usage`: Retrive usage and subscription plan information.

## Installation

```{r install-ex, eval=FALSE}
# or

## Usage

```{r lib-ex}

# current version


```{r random}
str(pt_random(), 2)

```{r search}
str(pt_search(""), 2)

```{r info}
str(pt_info("d210f4dbea97949f694e849507951881"), 2)

```{r detail}
str(pt_detail("d210f4dbea97949f694e849507951881"), 2)

```{r similar}
str(pt_similar("536cf06ca83704844d789f56caf22ee6"), 2)

## packettotal Metrics

```{r cloc, echo=FALSE}

## Code of Conduct

Please note that this project is released with a [Contributor Code of Conduct](
By participating in this project you agree to abide by its terms.