Class AbstractCallableBoolean<T extends AbstractCallableBoolean<T>>

java.lang.Object
com.jsql.model.injection.strategy.blind.AbstractCallableBoolean<T>
All Implemented Interfaces:
Callable<T>
Direct Known Subclasses:
CallableBlind, CallableCharInsertion, CallableMultibit, CallableTime, CallableVendor

public abstract class AbstractCallableBoolean<T extends AbstractCallableBoolean<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.
    • isMultibit

      protected boolean isMultibit
      Default call used for bit test.
    • charText

      protected String charText
      Character representation of Boolean bits
  • Constructor Details

    • AbstractCallableBoolean

      public AbstractCallableBoolean()
  • 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()
    • isMultibit

      public boolean isMultibit()