C# Class Simulator.SimulatedAccounts

A class that tracks all of the user accounts being simulated, both benign and belonging to attackers.
Datei anzeigen Open project: Microsoft/StopGuessing Class Usage Examples

Public Properties

Property Type Description
AttackerAccounts List
BenignAccountSelector WeightedSelector
BenignAccounts List

Public Methods

Method Description
Generate ( ExperimentalConfiguration experimentalConfiguration ) : void

Create accounts, generating passwords, primary IP

GetBenignAccountAtRandomUniform ( ) : SimulatedUserAccount
GetBenignAccountWeightedByLoginFrequency ( ) : SimulatedUserAccount
GetMaliciousAccountAtRandomUniform ( ) : SimulatedUserAccount
SimulatedAccounts ( IpPool ipPool, SimulatedPasswords simPasswords, DebugLogger logger ) : System.Collections.Generic

Method Details

Generate() public method

Create accounts, generating passwords, primary IP
public Generate ( ExperimentalConfiguration experimentalConfiguration ) : void
experimentalConfiguration ExperimentalConfiguration
return void

GetBenignAccountAtRandomUniform() public method

public GetBenignAccountAtRandomUniform ( ) : SimulatedUserAccount
return SimulatedUserAccount

GetBenignAccountWeightedByLoginFrequency() public method

public GetBenignAccountWeightedByLoginFrequency ( ) : SimulatedUserAccount
return SimulatedUserAccount

GetMaliciousAccountAtRandomUniform() public method

public GetMaliciousAccountAtRandomUniform ( ) : SimulatedUserAccount
return SimulatedUserAccount

SimulatedAccounts() public method

public SimulatedAccounts ( IpPool ipPool, SimulatedPasswords simPasswords, DebugLogger logger ) : System.Collections.Generic
ipPool IpPool
simPasswords SimulatedPasswords
logger DebugLogger
return System.Collections.Generic

Property Details

AttackerAccounts public_oe property

public List AttackerAccounts
return List

BenignAccountSelector public_oe property

public WeightedSelector BenignAccountSelector
return WeightedSelector

BenignAccounts public_oe property

public List BenignAccounts
return List