class
Crowbar::Mutators::DictionaryMutator
- Crowbar::Mutators::DictionaryMutator
- Crowbar::Mutator
- Reference
- Object
Overview
Injects or replaces tokens from a configurable or built-in token vocabulary
Defined in:
crowbar/mutators/text.crConstant Summary
-
DEFAULT_TOKENS =
["null", "nil", "true", "false", "undefined", "NaN", "Infinity", "0", "1", "-1", "undefined", "None", "GET", "POST", "PUT", "DELETE", "OPTIONS", "application/json", "text/html", "multipart/form-data", "localhost", "127.0.0.1", "::1", "0.0.0.0", "admin", "root", "guest", "anonymous", "Bearer", "Basic", "token", "password", "<?xml", "<!DOCTYPE", "<html", "<script"]
Constructors
Instance Method Summary
- #add_tokens(new_tokens : Iterable(String))
- #description : String
- #mutate(context : Context, buffer : Buffer, target_range : Tuple(Int32, Int32) | Nil = nil) : Tuple(Bool, Int32)
- #name : String
- #tokens : Array(String)
- #tokens=(tokens : Array(String))