Class CallableCharInsertion
java.lang.Object
com.jsql.model.injection.strategy.blind.callable.AbstractCallableBit<CallableCharInsertion>
com.jsql.model.injection.strategy.blind.callable.CallableCharInsertion
- All Implemented Interfaces:
Callable<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.
-
Field Summary
Fields inherited from class com.jsql.model.injection.strategy.blind.callable.AbstractCallableBit
block, booleanUrl, currentBit, currentIndex, idPage, isBinary, isMultibit
-
Constructor Summary
ConstructorsConstructorDescriptionCallableCharInsertion
(String inj, InjectionCharInsertion injectionCharInsertion, String metadataInjectionProcess) Constructor for preparation and blind confirmation. -
Method Summary
Modifier and TypeMethodDescriptioncall()
Process the URL HTTP call, use function inject() from the model.List
<name.fraser.neil.plaintext.diff_match_patch.Diff> 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.Methods inherited from class com.jsql.model.injection.strategy.blind.callable.AbstractCallableBit
getBlock, getCharText, getCurrentBit, getCurrentIndex, getIdPage, isBinary, isMultibit, setCharText
-
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 classAbstractCallableBit<CallableCharInsertion>
- Returns:
- true if the current SQL query is true
-
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
-