Class CallableBlindBin
java.lang.Object
com.jsql.model.injection.strategy.blind.callable.AbstractCallableBit<CallableBlindBin>
com.jsql.model.injection.strategy.blind.callable.CallableBlindBin
- All Implemented Interfaces:
Callable<CallableBlindBin>
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.callable.AbstractCallableBit
block, booleanUrl, currentBit, currentIndex, idPage, isBinary, isMultibit
-
Constructor Summary
ConstructorsConstructorDescriptionCallableBlindBin
(String sqlQuery, int indexChar, InjectionModel injectionModel, InjectionBlindBin injectionBlind, AbstractInjectionBit.BlindOperator blindMode, int low, int mid, int high, String metadataInjectionProcess) Constructor for bits test.CallableBlindBin
(String sqlQuery, InjectionModel injectionModel, InjectionBlindBin injectionBlind, AbstractInjectionBit.BlindOperator blindMode, int low, int mid, int high, String metadataInjectionProcess) Constructor for preparation and blind confirmation. -
Method Summary
Modifier and TypeMethodDescriptioncall()
Process the URL HTTP call, use function inject() from the model.List
<name.fraser.neil.plaintext.diff_match_patch.Diff> int
getHigh()
int
getLow()
int
getMid()
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.Methods inherited from class com.jsql.model.injection.strategy.blind.callable.AbstractCallableBit
getBlock, getCharText, getCurrentBit, getCurrentIndex, getIdPage, isBinary, isMultibit, setCharText
-
Constructor Details
-
CallableBlindBin
public CallableBlindBin(String sqlQuery, InjectionModel injectionModel, InjectionBlindBin injectionBlind, AbstractInjectionBit.BlindOperator blindMode, int low, int mid, int high, String metadataInjectionProcess) Constructor for preparation and blind confirmation. -
CallableBlindBin
public CallableBlindBin(String sqlQuery, int indexChar, InjectionModel injectionModel, InjectionBlindBin injectionBlind, AbstractInjectionBit.BlindOperator blindMode, int low, int mid, int high, 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 classAbstractCallableBit<CallableBlindBin>
- 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
-
getLow
public int getLow() -
getMid
public int getMid() -
getHigh
public int getHigh()
-