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 int
protected String
The URL called.protected int
Bit searched.protected int
Character position.protected int
protected boolean
protected boolean
Default call used for bit test. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getBlock()
int
int
int
boolean
isBinary()
boolean
abstract boolean
isTrue()
Check if a response time means the SQL query is true.void
setCharText
(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()
-