Class CallableBlind
java.lang.Object
com.jsql.model.injection.strategy.blind.AbstractCallableBoolean<CallableBlind>
com.jsql.model.injection.strategy.blind.CallableBlind
- All Implemented Interfaces:
Callable<CallableBlind>
Define a call HTTP to the server, require the associated url, character
position and bit. Diffs represent the differences between
the reference page, and the current page.
-
Field Summary
Fields inherited from class com.jsql.model.injection.strategy.blind.AbstractCallableBoolean
booleanUrl, charText, currentBit, currentIndex, isMultibit
-
Constructor Summary
ConstructorDescriptionCallableBlind
(String sqlQuery, int indexCharacter, int bit, InjectionModel injectionModel, InjectionBlind injectionBlind, AbstractInjectionBoolean.BooleanMode blindMode, String metadataInjectionProcess) Constructor for bits test.CallableBlind
(String sqlQuery, InjectionModel injectionModel, InjectionBlind injectionBlind, 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
-
CallableBlind
public CallableBlind(String sqlQuery, InjectionModel injectionModel, InjectionBlind injectionBlind, AbstractInjectionBoolean.BooleanMode blindMode, String metadataInjectionProcess) Constructor for preparation and blind confirmation. -
CallableBlind
public CallableBlind(String sqlQuery, int indexCharacter, int bit, InjectionModel injectionModel, InjectionBlind injectionBlind, AbstractInjectionBoolean.BooleanMode blindMode, String metadataInjectionProcess) Constructor for bits test.
-
-
Method Details
-
isTrue
public boolean isTrue()Check if a result page means the SQL query is true, confirm that nothing in the resulting page is also defined in the pages from every FALSE SQL queries.- Specified by:
isTrue
in classAbstractCallableBoolean<CallableBlind>
- Returns:
- true if the current SQL query is true
-
call
Process the URL HTTP call, use function inject() from the model. Build the list of differences found between TRUE and the current page.- Returns:
- Functional Blind Callable
-
getDiffsWithReference
-