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 Details

    • booleanUrl

      protected String booleanUrl
      The URL called.
    • currentIndex

      protected int currentIndex
      Character position.
    • currentBit

      protected int currentBit
      Bit searched.
    • idPage

      protected int idPage
    • block

      protected int block
    • isMultibit

      protected boolean isMultibit
      Default 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

      public String getCharText()
    • setCharText

      public void setCharText(String charText)
    • isMultibit

      public boolean isMultibit()
    • isBinary

      public boolean isBinary()
    • getBlock

      public int getBlock()
    • getIdPage

      public int getIdPage()