Package com.jsql.model.injection.method
Class AbstractMethodInjection
java.lang.Object
com.jsql.model.injection.method.AbstractMethodInjection
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract List<AbstractMap.SimpleEntry<String, String>> abstract Stringabstract booleanabstract Stringname()booleantestJsonlessParam(AbstractMap.SimpleEntry<String, String> paramStar) booleanVerify if injection works for specific Method using 3 modes: standard (last param), injection point and full params injection.booleantestParameters(boolean hasFoundInjection)
-
Field Details
-
injectionModel
-
-
Constructor Details
-
AbstractMethodInjection
-
-
Method Details
-
isCheckingAllParam
public abstract boolean isCheckingAllParam() -
getParamsAsString
-
getParams
-
name
-
testParameters
- Throws:
JSqlException
-
testParameters
Verify if injection works for specific Method using 3 modes: standard (last param), injection point and full params injection. Special injections like JSON and SOAP are checked.- Returns:
- true if injection didn't fail
- Throws:
JSqlException- when no params integrity, process stopped by user, or injection failure
-
testJsonlessParam
public boolean testJsonlessParam(AbstractMap.SimpleEntry<String, String> paramStar) throws StoppedByUserSlidingException- Throws:
StoppedByUserSlidingException
-