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.
-
Constructor Summary
-
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
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) withCountNormalIndex
(int countNormalIndex) withCountSleepTimeStrategy
(int countSleepTimeStrategy) 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) withIsLimitingNormalIndex
(boolean isLimitingNormalIndex) withIsLimitingSleepTimeStrategy
(boolean isLimitingSleepTimeStrategy) withIsLimitingThreads
(boolean isLimitingThreads) 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) withIsStrategyNormalDisabled
(boolean isStrategyNormalDisabled) withIsStrategyStackedDisabled
(boolean isStrategyStackedDisabled) withIsStrategyTimeDisabled
(boolean isStrategyTimeDisabled) 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) withIsUrlEncodingDisabled
(boolean isUrlEncodingDisabled) withIsUrlRandomSuffixDisabled
(boolean isUrlRandomSuffixDisabled) withIsZipStrategy
(boolean isZipStrategy)
-
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() -
countNormalIndex
public int countNormalIndex() -
countSleepTimeStrategy
public int countSleepTimeStrategy() -
isLimitingNormalIndex
public boolean isLimitingNormalIndex() -
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() -
isStrategyStackedDisabled
public boolean isStrategyStackedDisabled() -
isStrategyErrorDisabled
public boolean isStrategyErrorDisabled() -
isStrategyNormalDisabled
public boolean isStrategyNormalDisabled() -
withDiosStrategy
-
withZipStrategy
-
withDefaultStrategy
-
withNotTestingConnection
-
withNotInjectingMetadata
-
withNotSearchingCharInsertion
-
withCheckingAllHeaderParam
-
withIsNotProcessingCookies
-
withProcessingCsrf
-
withCheckingAllURLParam
-
withCheckingAllRequestParam
-
withCheckingAllJsonParam
-
withCheckingAllSoapParam
-
withCheckingUpdate
-
withReportingBugs
-
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
-
withIsLimitingNormalIndex
-
withCountNormalIndex
-
withIsStrategyTimeDisabled
-
withIsStrategyBlindDisabled
-
withIsStrategyMultibitDisabled
-
withIsStrategyStackedDisabled
-
withIsStrategyErrorDisabled
-
withIsStrategyNormalDisabled
-