C# Class PSAttackBuildTool.Utils.PSABTUtils

Afficher le fichier Open project: jaredhaight/PSAttackBuildTool Class Usage Examples

Méthodes publiques

Méthode Description
BuildConfigFile ( Attack attack, GeneratedStrings generatedStrings ) : void
BuildCsproj ( List modules, Attack attack, GeneratedStrings generatedStrings ) : void
BuildPSAttack ( Attack attack, GeneratedStrings generatedStrings ) : int
DownloadFile ( string url, string dest ) : string
GetModuleList ( MemoryStream JSON ) : List
GetPSAttack ( Uri URL ) : Attack
GetPSAttackBuildToolDir ( ) : string
RandomString ( int length, Random rand ) : string
UnzipFile ( string zipPath ) : string

Method Details

BuildConfigFile() public static méthode

public static BuildConfigFile ( Attack attack, GeneratedStrings generatedStrings ) : void
attack PSAttackBuildTool.PSAttack.Attack
generatedStrings GeneratedStrings
Résultat void

BuildCsproj() public static méthode

public static BuildCsproj ( List modules, Attack attack, GeneratedStrings generatedStrings ) : void
modules List
attack PSAttackBuildTool.PSAttack.Attack
generatedStrings GeneratedStrings
Résultat void

BuildPSAttack() public static méthode

public static BuildPSAttack ( Attack attack, GeneratedStrings generatedStrings ) : int
attack PSAttackBuildTool.PSAttack.Attack
generatedStrings GeneratedStrings
Résultat int

DownloadFile() public static méthode

public static DownloadFile ( string url, string dest ) : string
url string
dest string
Résultat string

GetModuleList() public static méthode

public static GetModuleList ( MemoryStream JSON ) : List
JSON System.IO.MemoryStream
Résultat List

GetPSAttack() public static méthode

public static GetPSAttack ( Uri URL ) : Attack
URL System.Uri
Résultat PSAttackBuildTool.PSAttack.Attack

GetPSAttackBuildToolDir() public static méthode

public static GetPSAttackBuildToolDir ( ) : string
Résultat string

RandomString() public static méthode

public static RandomString ( int length, Random rand ) : string
length int
rand System.Random
Résultat string

UnzipFile() public static méthode

public static UnzipFile ( string zipPath ) : string
zipPath string
Résultat string