Class InjectionTime
java.lang.Object
com.jsql.model.injection.strategy.blind.AbstractInjectionBoolean<T>
com.jsql.model.injection.strategy.blind.AbstractInjectionMonobit<CallableTime>
com.jsql.model.injection.strategy.blind.InjectionTime
Time attack using parallel threads.
Waiting time in seconds, response time exceeded means query is false.
Noting that sleep() functions will add up for each line from request.
A sleep time of 5 will be executed only if the SELECT returns exactly one line.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.jsql.model.injection.strategy.blind.AbstractInjectionBoolean
AbstractInjectionBoolean.BooleanMode
-
Field Summary
Fields inherited from class com.jsql.model.injection.strategy.blind.AbstractInjectionBoolean
booleanMode, falsy, injectionModel, truthy
-
Constructor Summary
ConstructorDescriptionInjectionTime
(InjectionModel injectionModel, AbstractInjectionBoolean.BooleanMode booleanMode) Create time attack initialization. -
Method Summary
Modifier and TypeMethodDescriptiongetCallableBitTest
(String sqlQuery, int indexCharacter, int bit) Display a message to explain how is blind/time working.boolean
Start one test to verify if boolean works.Methods inherited from class com.jsql.model.injection.strategy.blind.AbstractInjectionMonobit
initializeBinaryMask, initializeNextCharacters
Methods inherited from class com.jsql.model.injection.strategy.blind.AbstractInjectionBoolean
callUrl, callUrl, getBooleanMode, inject
-
Constructor Details
-
InjectionTime
public InjectionTime(InjectionModel injectionModel, AbstractInjectionBoolean.BooleanMode booleanMode) Create time attack initialization. If every false requests are under 5 seconds and every true are below 5 seconds, then time attack is confirmed.
-
-
Method Details
-
getCallableBitTest
-
isInjectable
Description copied from class:AbstractInjectionBoolean
Start one test to verify if boolean works.- Specified by:
isInjectable
in classAbstractInjectionBoolean<CallableTime>
- Returns:
- true if boolean method is confirmed
- Throws:
StoppedByUserSlidingException
-
getInfoMessage
Description copied from class:AbstractInjectionBoolean
Display a message to explain how is blind/time working.- Specified by:
getInfoMessage
in classAbstractInjectionBoolean<CallableTime>
- Returns:
-