Class CallableTime
java.lang.Object
com.jsql.model.injection.strategy.blind.AbstractCallableBoolean<CallableTime>
com.jsql.model.injection.strategy.blind.CallableTime
- All Implemented Interfaces:
Callable<CallableTime>
Define a call HTTP to the server, require the associated url, character position and bit.
diffSeconds represents the response time of the current page
-
Field Summary
Fields inherited from class com.jsql.model.injection.strategy.blind.AbstractCallableBoolean
booleanUrl, charText, currentBit, currentIndex, isMultibit
-
Constructor Summary
ConstructorDescriptionCallableTime
(String sqlQuery, int indexCharacter, int bit, InjectionModel injectionModel, InjectionTime injectionTime, AbstractInjectionBoolean.BooleanMode blindMode, String metadataInjectionProcess) Constructor for bit test.CallableTime
(String sqlQuery, InjectionModel injectionModel, InjectionTime injectionTime, AbstractInjectionBoolean.BooleanMode blindMode, String metadataInjectionProcess) Constructor for preparation and blind confirmation. -
Method Summary
Methods inherited from class com.jsql.model.injection.strategy.blind.AbstractCallableBoolean
getCharText, getCurrentBit, getCurrentIndex, isMultibit
-
Constructor Details
-
CallableTime
public CallableTime(String sqlQuery, InjectionModel injectionModel, InjectionTime injectionTime, AbstractInjectionBoolean.BooleanMode blindMode, String metadataInjectionProcess) Constructor for preparation and blind confirmation. -
CallableTime
public CallableTime(String sqlQuery, int indexCharacter, int bit, InjectionModel injectionModel, InjectionTime injectionTime, AbstractInjectionBoolean.BooleanMode blindMode, String metadataInjectionProcess) Constructor for bit test.
-
-
Method Details
-
isTrue
public boolean isTrue()Description copied from class:AbstractCallableBoolean
Check if a response time means the SQL query is true.- Specified by:
isTrue
in classAbstractCallableBoolean<CallableTime>
- Returns:
- true if the current SQL test is confirmed
-
call
Process the URL HTTP call, use function inject() from the model. Calculate the response time of the current page.- Returns:
- Functional Time callable
-