detectAttack: Detect Attack

Description Usage Arguments Details Value

View source: R/detectAttack.R

Description

This function takes in a payload and analyses it for malicious strings. If malicious strings are found it will return an indicator and tokenized data (fingerprint).

Usage

1
detectAttack(payload)

Arguments

payload

A string containing a URL-decoded parameter, request body, or header argument.

Details

Detect SQLi or XSS in parameter or request body payload. The process of detection and classification is as follows:

Value

Returns a binary integer indicating whether the payload contained a malicious element ('1') or not ('0').


O1sims/injectoR documentation built on May 17, 2019, 1:46 p.m.