C# 클래스 Simulator.SimulatedAccounts

A class that tracks all of the user accounts being simulated, both benign and belonging to attackers.
파일 보기 프로젝트 열기: Microsoft/StopGuessing 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AttackerAccounts List
BenignAccountSelector WeightedSelector
BenignAccounts List

공개 메소드들

메소드 설명
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

메소드 상세

Generate() 공개 메소드

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

GetBenignAccountAtRandomUniform() 공개 메소드

public GetBenignAccountAtRandomUniform ( ) : SimulatedUserAccount
리턴 SimulatedUserAccount

GetBenignAccountWeightedByLoginFrequency() 공개 메소드

public GetBenignAccountWeightedByLoginFrequency ( ) : SimulatedUserAccount
리턴 SimulatedUserAccount

GetMaliciousAccountAtRandomUniform() 공개 메소드

public GetMaliciousAccountAtRandomUniform ( ) : SimulatedUserAccount
리턴 SimulatedUserAccount

SimulatedAccounts() 공개 메소드

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

프로퍼티 상세

AttackerAccounts 공개적으로 프로퍼티

public List AttackerAccounts
리턴 List

BenignAccountSelector 공개적으로 프로퍼티

public WeightedSelector BenignAccountSelector
리턴 WeightedSelector

BenignAccounts 공개적으로 프로퍼티

public List BenignAccounts
리턴 List