protected override void InitializeCore() { Config = new XssScanConfig() { FuzzStrings = ScriptLauncher.LoadTestCases(ScriptResult) }; }
protected override void InitializeCore() { _traversalSequences = ScriptLauncher.LoadTestCases(ScriptResult); try { WriteProbe(); } catch (System.Exception) { ScannerCli.DisplayCriticalMessageAndExit("Could not create LFI probe. Please run PHPVH as administrator."); } var path = new DirectoryInfo(Program.Config.WebRoot).Root.ToString(); watcher = new FileSystemWatcher(path); watcher.Changed += watcher_FileSystemEvent; watcher.Created += watcher_FileSystemEvent; watcher.Deleted += watcher_FileSystemEvent; watcher.EnableRaisingEvents = true; }