Package com.jsql.util
Class PreferencesUtil
java.lang.Object
com.jsql.util.PreferencesUtil
Utility class to manage JVM preferences previously saved into the system.
Only general settings are processed by this utility, other specific preferences
like those for proxy are defined from specific utility classes.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
boolean
is4K()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
Initialize the utility class with previously saved JVM preferences and apply loaded settings to the system.void
persist()
Initialize the utility class, persist preferences and apply change to the JVM.void
Set the general file path to the utility class and persist to JVM preferences.withCountConnectionTimeout
(int countConnectionTimeout) withCountLimitingThreads
(int countLimitingThreads) withCountSleepTimeStrategy
(int countSleepTimeStrategy) withCountUnionIndex
(int countUnionIndex) withCsrfUserTag
(String csrfUserTag) withCsrfUserTagOutput
(String csrfUserTagOutput) withIs4K
(boolean is4K) withIsCheckingAllBase64Param
(boolean isCheckingAllBase64Param) withIsCheckingAllCookieParam
(boolean isCheckingAllCookieParam) withIsCheckingAllHeaderParam
(boolean isCheckingAllHeaderParam) withIsCheckingAllJsonParam
(boolean isCheckingAllJSONParam) withIsCheckingAllParam
(boolean isCheckingAllParam) withIsCheckingAllRequestParam
(boolean isCheckingAllRequestParam) withIsCheckingAllSoapParam
(boolean isCheckingAllSOAPParam) withIsCheckingAllURLParam
(boolean isCheckingAllURLParam) withIsCheckingUpdate
(boolean isCheckingUpdate) withIsConnectionTimeout
(boolean isConnectionTimeout) withIsCsrfUserTag
(boolean isCsrfUserTag) withIsDefaultStrategy
(boolean isDefaultStrategy) withIsDiosStrategy
(boolean isDiosStrategy) withIsFollowingRedirection
(boolean isFollowingRedirection) withIsHttp2Disabled
(boolean isHttp2Disabled) withIsLimitingSleepTimeStrategy
(boolean isLimitingSleepTimeStrategy) withIsLimitingThreads
(boolean isLimitingThreads) withIsLimitingUnionIndex
(boolean isLimitingUnionIndex) withIsNotInjectingMetadata
(boolean isNotInjectingMetadata) withIsNotProcessingCookies
(boolean isNotProcessingCookies) withIsNotSearchingCharInsertion
(boolean isNotSearchingCharInsertion) withIsNotShowingVulnReport
(boolean isNotShowingVulnReport) withIsNotTestingConnection
(boolean isNotTestingConnection) withIsParsingForm
(boolean isParsingForm) withIsPerfIndexDisabled
(boolean isPerfIndexDisabled) withIsProcessingCsrf
(boolean isProcessingCsrf) withIsReportingBugs
(boolean isReportingBugs) withIsStrategyBlindDisabled
(boolean isStrategyBlindDisabled) withIsStrategyErrorDisabled
(boolean isStrategyErrorDisabled) withIsStrategyMultibitDisabled
(boolean isStrategyMultibitDisabled) withIsStrategyStackDisabled
(boolean isStrategyStackDisabled) withIsStrategyTimeDisabled
(boolean isStrategyTimeDisabled) withIsStrategyUnionDisabled
(boolean isStrategyUnionDisabled) withIsTamperingBase64
(boolean isTamperingBase64) withIsTamperingEqualToLike
(boolean isTamperingEqualToLike) withIsTamperingEval
(boolean isTamperingEval) withIsTamperingFunctionComment
(boolean isTamperingFunctionComment) withIsTamperingRandomCase
(boolean isTamperingRandomCase) withIsTamperingSpaceToDashComment
(boolean isTamperingSpaceToDashComment) withIsTamperingSpaceToMultilineComment
(boolean isTamperingSpaceToMultilineComment) withIsTamperingSpaceToSharpComment
(boolean isTamperingSpaceToSharpComment) withIsTamperingVersionComment
(boolean isTamperingVersionComment) withIsUnicodeDecodeDisabled
(boolean isUnicodeDecodeDisabled) withIsUrlDecodeDisabled
(boolean isUrlDecodeDisabled) withIsUrlDecodeNetworkTab
(boolean isUrlDecodeNetworkTab) withIsUrlEncodingDisabled
(boolean isUrlEncodingDisabled) withIsUrlRandomSuffixDisabled
(boolean isUrlRandomSuffixDisabled) withIsUserAgentRandom
(boolean selected) withIsZipStrategy
(boolean isZipStrategy) withLanguageTag
(String languageTag) withThemeFlatLafName
(String themeFlatLafName)
-
Field Details
-
EW_SPLIT
- See Also:
-
NS_SPLIT
- See Also:
-
CHUNK_VISIBLE
- See Also:
-
BINARY_VISIBLE
- See Also:
-
NETWORK_VISIBLE
- See Also:
-
JAVA_VISIBLE
- See Also:
-
IS_MAXIMIZED
- See Also:
-
-
Constructor Details
-
PreferencesUtil
public PreferencesUtil()
-
-
Method Details
-
loadSavedPreferences
public void loadSavedPreferences()Initialize the utility class with previously saved JVM preferences and apply loaded settings to the system. -
persist
public void persist()Initialize the utility class, persist preferences and apply change to the JVM. -
set
Set the general file path to the utility class and persist to JVM preferences.- Parameters:
path
- folder path to persist
-
getPathFile
-
isCheckingUpdate
public boolean isCheckingUpdate() -
isFollowingRedirection
public boolean isFollowingRedirection() -
isHttp2Disabled
public boolean isHttp2Disabled() -
isReportingBugs
public boolean isReportingBugs() -
isNotInjectingMetadata
public boolean isNotInjectingMetadata() -
isNotSearchingCharInsertion
public boolean isNotSearchingCharInsertion() -
isNotShowingVulnReport
public boolean isNotShowingVulnReport() -
isCheckingAllURLParam
public boolean isCheckingAllURLParam() -
isCheckingAllRequestParam
public boolean isCheckingAllRequestParam() -
isCheckingAllHeaderParam
public boolean isCheckingAllHeaderParam() -
isCheckingAllBase64Param
public boolean isCheckingAllBase64Param() -
isCheckingAllJsonParam
public boolean isCheckingAllJsonParam() -
isParsingForm
public boolean isParsingForm() -
isNotTestingConnection
public boolean isNotTestingConnection() -
isNotProcessingCookies
public boolean isNotProcessingCookies() -
isCheckingAllParam
public boolean isCheckingAllParam() -
isProcessingCsrf
public boolean isProcessingCsrf() -
isCheckingAllCookieParam
public boolean isCheckingAllCookieParam() -
isTamperingBase64
public boolean isTamperingBase64() -
isTamperingFunctionComment
public boolean isTamperingFunctionComment() -
isTamperingEqualToLike
public boolean isTamperingEqualToLike() -
isTamperingRandomCase
public boolean isTamperingRandomCase() -
isTamperingSpaceToMultilineComment
public boolean isTamperingSpaceToMultilineComment() -
isTamperingSpaceToDashComment
public boolean isTamperingSpaceToDashComment() -
isTamperingSpaceToSharpComment
public boolean isTamperingSpaceToSharpComment() -
isTamperingVersionComment
public boolean isTamperingVersionComment() -
isTamperingEval
public boolean isTamperingEval() -
isCheckingAllSoapParam
public boolean isCheckingAllSoapParam() -
is4K
public boolean is4K() -
isLimitingThreads
public boolean isLimitingThreads() -
isLimitingSleepTimeStrategy
public boolean isLimitingSleepTimeStrategy() -
isConnectionTimeout
public boolean isConnectionTimeout() -
isUnicodeDecodeDisabled
public boolean isUnicodeDecodeDisabled() -
isUrlDecodeDisabled
public boolean isUrlDecodeDisabled() -
countLimitingThreads
public int countLimitingThreads() -
countConnectionTimeout
public int countConnectionTimeout() -
countUnionIndex
public int countUnionIndex() -
countSleepTimeStrategy
public int countSleepTimeStrategy() -
isLimitingUnionIndex
public boolean isLimitingUnionIndex() -
isCsrfUserTag
public boolean isCsrfUserTag() -
csrfUserTag
-
csrfUserTagOutput
-
isPerfIndexDisabled
public boolean isPerfIndexDisabled() -
isZipStrategy
public boolean isZipStrategy() -
isDefaultStrategy
public boolean isDefaultStrategy() -
isDiosStrategy
public boolean isDiosStrategy() -
isUrlEncodingDisabled
public boolean isUrlEncodingDisabled() -
isUrlRandomSuffixDisabled
public boolean isUrlRandomSuffixDisabled() -
isStrategyTimeDisabled
public boolean isStrategyTimeDisabled() -
isStrategyBlindDisabled
public boolean isStrategyBlindDisabled() -
isStrategyMultibitDisabled
public boolean isStrategyMultibitDisabled() -
isStrategyStackDisabled
public boolean isStrategyStackDisabled() -
isStrategyErrorDisabled
public boolean isStrategyErrorDisabled() -
isStrategyUnionDisabled
public boolean isStrategyUnionDisabled() -
isUserAgentRandom
public boolean isUserAgentRandom() -
getThemeFlatLafName
-
getLanguageTag
-
isUrlDecodeNetworkTab
public boolean isUrlDecodeNetworkTab() -
withIsCheckingUpdate
-
withIsReportingBugs
-
withIs4K
-
withIsFollowingRedirection
-
withIsHttp2Disabled
-
withIsUnicodeDecodeDisabled
-
withIsUrlDecodeDisabled
-
withIsNotInjectingMetadata
-
withIsNotSearchingCharInsertion
-
withIsNotShowingVulnReport
-
withIsCheckingAllParam
-
withIsCheckingAllURLParam
-
withIsCheckingAllRequestParam
-
withIsCheckingAllHeaderParam
-
withIsCheckingAllBase64Param
-
withIsCheckingAllJsonParam
-
withIsCheckingAllCookieParam
-
withIsCheckingAllSoapParam
-
withIsParsingForm
-
withIsNotTestingConnection
-
withIsNotProcessingCookies
-
withIsProcessingCsrf
-
withIsTamperingBase64
-
withIsTamperingFunctionComment
-
withIsTamperingVersionComment
-
withIsTamperingEqualToLike
-
withIsTamperingRandomCase
-
withIsTamperingEval
-
withIsTamperingSpaceToMultilineComment
public PreferencesUtil withIsTamperingSpaceToMultilineComment(boolean isTamperingSpaceToMultilineComment) -
withIsTamperingSpaceToDashComment
-
withIsTamperingSpaceToSharpComment
-
withCsrfUserTag
-
withCsrfUserTagOutput
-
withIsCsrfUserTag
-
withIsLimitingThreads
-
withIsConnectionTimeout
-
withIsLimitingSleepTimeStrategy
-
withCountLimitingThreads
-
withCountConnectionTimeout
-
withCountSleepTimeStrategy
-
withIsZipStrategy
-
withIsDefaultStrategy
-
withIsDiosStrategy
-
withIsPerfIndexDisabled
-
withIsUrlEncodingDisabled
-
withIsUrlRandomSuffixDisabled
-
withIsLimitingUnionIndex
-
withCountUnionIndex
-
withIsStrategyTimeDisabled
-
withIsStrategyBlindDisabled
-
withIsStrategyMultibitDisabled
-
withIsStrategyStackDisabled
-
withIsStrategyErrorDisabled
-
withIsStrategyUnionDisabled
-
withThemeFlatLafName
-
withIsUrlDecodeNetworkTab
-
withLanguageTag
-
withIsUserAgentRandom
-