class Sprayer

Direct Known Subclasses

Defined in:

spray_types/sprayer.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(username : String, password : String) #

[View source]
def self.new(usernamear : Array(String), passwordar : Array(String)) #

[View source]
def self.new(username : String) #

[View source]
def self.new(usernamear : Array(String)) #

[View source]

Instance Method Detail

def delay=(delay : Int32) #

[View source]
def jitter=(jitter : Int32) #

[View source]
def passwords : Array(String) #

[View source]
def passwords=(passwords : Array(String)) #

[View source]
def spray(username : String, password : String) : Array(String | Bool) #

super method as placeholder. this is for the single logon attempt code per "module" below is just for testing purposes
should return an array of [username, password, valid, lockout, mfa]


[View source]
def start(thread_count = 1, db = nil) #

starts the sprayer with a jitter of 1 and a delay of 30


[View source]
def target : String #

[View source]
def target=(target : String) #

[View source]
def targets : Array(String) #

property user_agent : String = "SprayCannon user agent. Password Spraying tool. Check your logs"


[View source]
def targets=(targets : Array(String)) #

property user_agent : String = "SprayCannon user agent. Password Spraying tool. Check your logs"


[View source]
def uap : Bool #

[View source]
def uap=(uap : Bool) #

[View source]
def upf : Bool #

[View source]
def upf=(upf : Bool) #

[View source]
def useragents : Array(String) #

property useragents : Array(String) = ["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/90.0"]


[View source]
def useragents=(useragents : Array(String)) #

property useragents : Array(String) = ["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/90.0"]


[View source]
def usernames : Array(String) #

[View source]
def usernames=(usernames : Array(String)) #

[View source]
def valid : Array(String) #

[View source]
def valid=(valid : Array(String)) #

[View source]
def webhook_url : String #

[View source]
def webhook_url=(webhook_url : String) #

[View source]