Class AbstractCallableBit<T extends AbstractCallableBit<T>>
java.lang.Object
com.jsql.model.injection.strategy.blind.callable.AbstractCallableBit<T>
- All Implemented Interfaces:
Callable<T>
- Direct Known Subclasses:
CallableBlindBin,CallableBlindBit,CallableCharInsertion,CallableMultibit,CallableTime,CallableVendor
public abstract class AbstractCallableBit<T extends AbstractCallableBit<T>>
extends Object
implements Callable<T>
Callable used to read blind/time database information.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected StringThe URL called.protected intBit searched.protected intCharacter position.protected intprotected booleanprotected booleanDefault call used for bit test. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetBlock()intintintbooleanisBinary()booleanabstract booleanisTrue()Check if a response time means the SQL query is true.voidsetCharText(String charText)
-
Field Details
-
booleanUrl
The URL called. -
currentIndex
protected int currentIndexCharacter position. -
currentBit
protected int currentBitBit searched. -
idPage
protected int idPage -
block
protected int block -
isMultibit
protected boolean isMultibitDefault call used for bit test. -
isBinary
protected boolean isBinary
-
-
Constructor Details
-
AbstractCallableBit
public AbstractCallableBit()
-
-
Method Details
-
isTrue
public abstract boolean isTrue()Check if a response time means the SQL query is true.- Returns:
- true if the current SQL test is confirmed
-
getCurrentIndex
public int getCurrentIndex() -
getCurrentBit
public int getCurrentBit() -
getCharText
-
setCharText
-
isMultibit
public boolean isMultibit() -
isBinary
public boolean isBinary() -
getBlock
public int getBlock() -
getIdPage
public int getIdPage()
-