Class CallableCharInsertion

java.lang.Object
com.jsql.model.injection.strategy.blind.AbstractCallableBinary<CallableCharInsertion>
com.jsql.model.injection.strategy.blind.CallableCharInsertion
All Implemented Interfaces:
Callable<CallableCharInsertion>

public class CallableCharInsertion extends AbstractCallableBinary<CallableCharInsertion>
Define a call HTTP to the server, require the associated url, character position and bit. Opcodes represent the differences between the reference page, and the resulting page.
  • Constructor Details

    • CallableCharInsertion

      public CallableCharInsertion(String inj, InjectionCharInsertion injectionCharInsertion, String metadataInjectionProcess)
      Constructor for preparation and blind confirmation.
  • 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 class AbstractCallableBinary<CallableCharInsertion>
      Returns:
      true if the current SQL query is true
    • call

      public CallableCharInsertion 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
    • getOpcodes

      public List<Diff> getOpcodes()