specify some http ports to scan by default

This commit is contained in:
Anton Keks 2020-05-12 21:45:33 +03:00
parent d01e3a9464
commit 8b169bc91a

View File

@ -13,7 +13,6 @@ import java.util.prefs.Preferences;
* @author Anton Keks
*/
public class ScannerConfig {
private Preferences preferences;
public int maxThreads;
@ -49,7 +48,7 @@ public class ScannerConfig {
portTimeout = preferences.getInt("portTimeout", 2000);
adaptPortTimeout = preferences.getBoolean("adaptPortTimeout", !Platform.CRIPPLED_WINDOWS);
minPortTimeout = preferences.getInt("minPortTimeout", 100);
portString = preferences.get("portString", "");
portString = preferences.get("portString", "80,443,8080");
useRequestedPorts = preferences.getBoolean("useRequestedPorts", true);
notAvailableText = preferences.get("notAvailableText", Labels.getLabel("fetcher.value.notAvailable"));
notScannedText = preferences.get("notScannedText", Labels.getLabel("fetcher.value.notScanned"));