mirror of
https://github.com/angryip/ipscan.git
synced 2025-10-26 11:18:17 +00:00
specify some http ports to scan by default
This commit is contained in:
parent
d01e3a9464
commit
8b169bc91a
@ -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"));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user