Package com.jsql.util

Class PreferencesUtil

java.lang.Object
com.jsql.util.PreferencesUtil

public class PreferencesUtil extends Object
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 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

      public void set(String path)
      Set the general file path to the utility class and persist to JVM preferences.
      Parameters:
      path - folder path to persist
    • getPathFile

      public String 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

      public String csrfUserTag()
    • csrfUserTagOutput

      public String 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

      public PreferencesUtil withDiosStrategy()
    • withZipStrategy

      public PreferencesUtil withZipStrategy()
    • withDefaultStrategy

      public PreferencesUtil withDefaultStrategy()
    • withNotTestingConnection

      public PreferencesUtil withNotTestingConnection()
    • withNotInjectingMetadata

      public PreferencesUtil withNotInjectingMetadata()
    • withNotSearchingCharInsertion

      public PreferencesUtil withNotSearchingCharInsertion()
    • withCheckingAllHeaderParam

      public PreferencesUtil withCheckingAllHeaderParam()
    • withIsNotProcessingCookies

      public PreferencesUtil withIsNotProcessingCookies()
    • withProcessingCsrf

      public PreferencesUtil withProcessingCsrf()
    • withCheckingAllURLParam

      public PreferencesUtil withCheckingAllURLParam()
    • withCheckingAllRequestParam

      public PreferencesUtil withCheckingAllRequestParam()
    • withCheckingAllJsonParam

      public PreferencesUtil withCheckingAllJsonParam()
    • withCheckingAllSoapParam

      public PreferencesUtil withCheckingAllSoapParam()
    • withCheckingUpdate

      public PreferencesUtil withCheckingUpdate()
    • withReportingBugs

      public PreferencesUtil withReportingBugs()
    • withIsCheckingUpdate

      public PreferencesUtil withIsCheckingUpdate(boolean isCheckingUpdate)
    • withIsReportingBugs

      public PreferencesUtil withIsReportingBugs(boolean isReportingBugs)
    • withIs4K

      public PreferencesUtil withIs4K(boolean is4K)
    • withIsFollowingRedirection

      public PreferencesUtil withIsFollowingRedirection(boolean isFollowingRedirection)
    • withIsHttp2Disabled

      public PreferencesUtil withIsHttp2Disabled(boolean isHttp2Disabled)
    • withIsUnicodeDecodeDisabled

      public PreferencesUtil withIsUnicodeDecodeDisabled(boolean isUnicodeDecodeDisabled)
    • withIsUrlDecodeDisabled

      public PreferencesUtil withIsUrlDecodeDisabled(boolean isUrlDecodeDisabled)
    • withIsNotInjectingMetadata

      public PreferencesUtil withIsNotInjectingMetadata(boolean isNotInjectingMetadata)
    • withIsNotSearchingCharInsertion

      public PreferencesUtil withIsNotSearchingCharInsertion(boolean isNotSearchingCharInsertion)
    • withIsNotShowingVulnReport

      public PreferencesUtil withIsNotShowingVulnReport(boolean isNotShowingVulnReport)
    • withIsCheckingAllParam

      public PreferencesUtil withIsCheckingAllParam(boolean isCheckingAllParam)
    • withIsCheckingAllURLParam

      public PreferencesUtil withIsCheckingAllURLParam(boolean isCheckingAllURLParam)
    • withIsCheckingAllRequestParam

      public PreferencesUtil withIsCheckingAllRequestParam(boolean isCheckingAllRequestParam)
    • withIsCheckingAllHeaderParam

      public PreferencesUtil withIsCheckingAllHeaderParam(boolean isCheckingAllHeaderParam)
    • withIsCheckingAllBase64Param

      public PreferencesUtil withIsCheckingAllBase64Param(boolean isCheckingAllBase64Param)
    • withIsCheckingAllJsonParam

      public PreferencesUtil withIsCheckingAllJsonParam(boolean isCheckingAllJSONParam)
    • withIsCheckingAllCookieParam

      public PreferencesUtil withIsCheckingAllCookieParam(boolean isCheckingAllCookieParam)
    • withIsCheckingAllSoapParam

      public PreferencesUtil withIsCheckingAllSoapParam(boolean isCheckingAllSOAPParam)
    • withIsParsingForm

      public PreferencesUtil withIsParsingForm(boolean isParsingForm)
    • withIsNotTestingConnection

      public PreferencesUtil withIsNotTestingConnection(boolean isNotTestingConnection)
    • withIsNotProcessingCookies

      public PreferencesUtil withIsNotProcessingCookies(boolean isNotProcessingCookies)
    • withIsProcessingCsrf

      public PreferencesUtil withIsProcessingCsrf(boolean isProcessingCsrf)
    • withIsTamperingBase64

      public PreferencesUtil withIsTamperingBase64(boolean isTamperingBase64)
    • withIsTamperingFunctionComment

      public PreferencesUtil withIsTamperingFunctionComment(boolean isTamperingFunctionComment)
    • withIsTamperingVersionComment

      public PreferencesUtil withIsTamperingVersionComment(boolean isTamperingVersionComment)
    • withIsTamperingEqualToLike

      public PreferencesUtil withIsTamperingEqualToLike(boolean isTamperingEqualToLike)
    • withIsTamperingRandomCase

      public PreferencesUtil withIsTamperingRandomCase(boolean isTamperingRandomCase)
    • withIsTamperingEval

      public PreferencesUtil withIsTamperingEval(boolean isTamperingEval)
    • withIsTamperingSpaceToMultilineComment

      public PreferencesUtil withIsTamperingSpaceToMultilineComment(boolean isTamperingSpaceToMultilineComment)
    • withIsTamperingSpaceToDashComment

      public PreferencesUtil withIsTamperingSpaceToDashComment(boolean isTamperingSpaceToDashComment)
    • withIsTamperingSpaceToSharpComment

      public PreferencesUtil withIsTamperingSpaceToSharpComment(boolean isTamperingSpaceToSharpComment)
    • withCsrfUserTag

      public PreferencesUtil withCsrfUserTag(String csrfUserTag)
    • withCsrfUserTagOutput

      public PreferencesUtil withCsrfUserTagOutput(String csrfUserTagOutput)
    • withIsCsrfUserTag

      public PreferencesUtil withIsCsrfUserTag(boolean isCsrfUserTag)
    • withIsLimitingThreads

      public PreferencesUtil withIsLimitingThreads(boolean isLimitingThreads)
    • withIsConnectionTimeout

      public PreferencesUtil withIsConnectionTimeout(boolean isConnectionTimeout)
    • withIsLimitingSleepTimeStrategy

      public PreferencesUtil withIsLimitingSleepTimeStrategy(boolean isLimitingSleepTimeStrategy)
    • withCountLimitingThreads

      public PreferencesUtil withCountLimitingThreads(int countLimitingThreads)
    • withCountConnectionTimeout

      public PreferencesUtil withCountConnectionTimeout(int countConnectionTimeout)
    • withCountSleepTimeStrategy

      public PreferencesUtil withCountSleepTimeStrategy(int countSleepTimeStrategy)
    • withIsZipStrategy

      public PreferencesUtil withIsZipStrategy(boolean isZipStrategy)
    • withIsDefaultStrategy

      public PreferencesUtil withIsDefaultStrategy(boolean isDefaultStrategy)
    • withIsDiosStrategy

      public PreferencesUtil withIsDiosStrategy(boolean isDiosStrategy)
    • withIsPerfIndexDisabled

      public PreferencesUtil withIsPerfIndexDisabled(boolean isPerfIndexDisabled)
    • withIsUrlEncodingDisabled

      public PreferencesUtil withIsUrlEncodingDisabled(boolean isUrlEncodingDisabled)
    • withIsUrlRandomSuffixDisabled

      public PreferencesUtil withIsUrlRandomSuffixDisabled(boolean isUrlRandomSuffixDisabled)
    • withIsLimitingNormalIndex

      public PreferencesUtil withIsLimitingNormalIndex(boolean isLimitingNormalIndex)
    • withCountNormalIndex

      public PreferencesUtil withCountNormalIndex(int countNormalIndex)
    • withIsStrategyTimeDisabled

      public PreferencesUtil withIsStrategyTimeDisabled(boolean isStrategyTimeDisabled)
    • withIsStrategyBlindDisabled

      public PreferencesUtil withIsStrategyBlindDisabled(boolean isStrategyBlindDisabled)
    • withIsStrategyMultibitDisabled

      public PreferencesUtil withIsStrategyMultibitDisabled(boolean isStrategyMultibitDisabled)
    • withIsStrategyStackedDisabled

      public PreferencesUtil withIsStrategyStackedDisabled(boolean isStrategyStackedDisabled)
    • withIsStrategyErrorDisabled

      public PreferencesUtil withIsStrategyErrorDisabled(boolean isStrategyErrorDisabled)
    • withIsStrategyNormalDisabled

      public PreferencesUtil withIsStrategyNormalDisabled(boolean isStrategyNormalDisabled)