class OutputBuilderPowershell

Defined in:

output_builder/powershell.cr

Constant Summary

ENUM_METHODS = Set {"GET", "HEAD", "POST", "PUT", "DELETE", "TRACE", "OPTIONS", "MERGE", "PATCH"}

The verbs Invoke-WebRequest's -Method accepts — it validates against the WebRequestMethod enum, so a verb outside this set (QUERY, CONNECT) is rejected before any request is sent and must go through -CustomMethod instead. The two flags are otherwise equivalent.

Instance Method Summary

Instance methods inherited from class OutputBuilder

analyzer_failures : Array(AnalyzerFailure) analyzer_failures, analyzer_failures=(analyzer_failures : Array(AnalyzerFailure)) analyzer_failures=, bake_endpoint(url : String, params : Array(Param)) bake_endpoint, io : IO io, io=(io : IO) io=, logger : NoirLogger logger, ob_puts(message) ob_puts, output_file : String output_file, print(endpoints : Array(Endpoint), passive_results : Array(PassiveScanResult))
print
print

Constructor methods inherited from class OutputBuilder

new(options : Hash(String, YAML::Any)) new

Instance Method Detail

def print(endpoints : Array(Endpoint)) #

[View source]