C# Class Simulator.SimulatedAccounts

A class that tracks all of the user accounts being simulated, both benign and belonging to attackers.
Show file 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 property

public List AttackerAccounts
return List

BenignAccountSelector public property

public WeightedSelector BenignAccountSelector
return WeightedSelector

BenignAccounts public property

public List BenignAccounts
return List