Class CallableTime
java.lang.Object
com.jsql.model.injection.strategy.blind.callable.AbstractCallableBit<CallableTime>
com.jsql.model.injection.strategy.blind.callable.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.callable.AbstractCallableBit
block, booleanUrl, currentBit, currentIndex, idPage, isBinary, isMultibit
-
Constructor Summary
ConstructorsConstructorDescriptionCallableTime
(String sqlQuery, int indexChar, int bit, InjectionModel injectionModel, InjectionTime injectionTime, AbstractInjectionBit.BlindOperator blindMode, String metadataInjectionProcess) Constructor for bit test.CallableTime
(String sqlQuery, InjectionModel injectionModel, InjectionTime injectionTime, AbstractInjectionBit.BlindOperator blindMode, String metadataInjectionProcess) Constructor for preparation and blind confirmation. -
Method Summary
Methods inherited from class com.jsql.model.injection.strategy.blind.callable.AbstractCallableBit
getBlock, getCharText, getCurrentBit, getCurrentIndex, getIdPage, isBinary, isMultibit, setCharText
-
Constructor Details
-
CallableTime
public CallableTime(String sqlQuery, InjectionModel injectionModel, InjectionTime injectionTime, AbstractInjectionBit.BlindOperator blindMode, String metadataInjectionProcess) Constructor for preparation and blind confirmation. -
CallableTime
public CallableTime(String sqlQuery, int indexChar, int bit, InjectionModel injectionModel, InjectionTime injectionTime, AbstractInjectionBit.BlindOperator blindMode, String metadataInjectionProcess) Constructor for bit test.
-
-
Method Details
-
isTrue
public boolean isTrue()Description copied from class:AbstractCallableBit
Check if a response time means the SQL query is true.- Specified by:
isTrue
in classAbstractCallableBit<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
-