Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Crowbar::DSL::TargetBuilder
Inherits
Reference
<
Object
Declarative builder for configuring an individual Campaign fuzz target
Constructors
new
(name :
String
, category :
Campaign::TargetCategory
=
Campaign::TargetCategory::Custom
)
Source
Instance methods
category
(cat :
Campaign::TargetCategory
)
Source
category
(cat :
Symbol
)
Source
execute
Source
expected_error
(err_class :
Exception
.class)
Source
expected_errors
(*classes :
Exception
.class)
Source
rule
(format :
Symbol
)
Source
rule
(instance :
Rule
)
Source
sample
(data :
Buffer
|
Bytes
|
String
)
Source
samples
(*items :
Buffer
|
Bytes
|
String
)
Source
target
Source
timeout
(span :
Time::Span
)
Source
timeout
(ms :
Int32
)
Source