use of com.jsql.view.terminal.SystemOutTerminal in project jsql-injection by ron190.
the class OracleNormalGetTestSuite method initialize.
@BeforeClass
public static void initialize() throws InjectionFailureException {
InjectionModel model = new InjectionModel();
MediatorModel.register(model);
model.displayVersion();
MediatorModel.model().addObserver(new SystemOutTerminal());
ConnectionUtil.setUrlBase("http://" + AbstractTestSuite.HOSTNAME + "/oracle_simulate_get.php");
ParameterUtil.setQueryString(Arrays.asList(new SimpleEntry<String, String>("lib", "0")));
ConnectionUtil.setMethodInjection(MethodInjection.QUERY);
MediatorModel.model().beginInjection();
MediatorModel.model().setStrategy(StrategyInjection.NORMAL);
}
use of com.jsql.view.terminal.SystemOutTerminal in project jsql-injection by ron190.
the class PostgreBlindGetTestSuite method initialize.
@BeforeClass
public static void initialize() throws InjectionFailureException {
InjectionModel model = new InjectionModel();
MediatorModel.register(model);
model.displayVersion();
MediatorModel.model().addObserver(new SystemOutTerminal());
ConnectionUtil.setUrlBase("http://" + AbstractTestSuite.HOSTNAME + "/pg_simulate_get.php");
ParameterUtil.setQueryString(Arrays.asList(new SimpleEntry<String, String>("lib", "1")));
ConnectionUtil.setMethodInjection(MethodInjection.QUERY);
MediatorModel.model().beginInjection();
MediatorModel.model().setStrategy(StrategyInjection.BLIND);
}
use of com.jsql.view.terminal.SystemOutTerminal in project jsql-injection by ron190.
the class PostgreNormalGetTestSuite method initialize.
@BeforeClass
public static void initialize() throws InjectionFailureException {
InjectionModel model = new InjectionModel();
MediatorModel.register(model);
model.displayVersion();
MediatorModel.model().addObserver(new SystemOutTerminal());
ConnectionUtil.setUrlBase("http://" + AbstractTestSuite.HOSTNAME + "/pg_simulate_get.php");
ParameterUtil.setQueryString(Arrays.asList(new SimpleEntry<String, String>("lib", "0")));
ConnectionUtil.setMethodInjection(MethodInjection.QUERY);
MediatorModel.model().beginInjection();
MediatorModel.model().setStrategy(StrategyInjection.NORMAL);
}
use of com.jsql.view.terminal.SystemOutTerminal in project jsql-injection by ron190.
the class PostgreTimeGetTestSuite method initialize.
@BeforeClass
public static void initialize() throws InjectionFailureException {
InjectionModel model = new InjectionModel();
MediatorModel.register(model);
model.displayVersion();
MediatorModel.model().addObserver(new SystemOutTerminal());
ConnectionUtil.setUrlBase("http://" + AbstractTestSuite.HOSTNAME + "/pg_simulate_get.php");
ParameterUtil.setQueryString(Arrays.asList(new SimpleEntry<String, String>("lib", "1")));
ConnectionUtil.setMethodInjection(MethodInjection.QUERY);
MediatorModel.model().beginInjection();
MediatorModel.model().setStrategy(StrategyInjection.TIME);
}
use of com.jsql.view.terminal.SystemOutTerminal in project jsql-injection by ron190.
the class IngresNormalGetTestSuite method initialize.
@BeforeClass
public static void initialize() throws InjectionFailureException {
InjectionModel model = new InjectionModel();
MediatorModel.register(model);
model.displayVersion();
MediatorModel.model().addObserver(new SystemOutTerminal());
ConnectionUtil.setUrlBase("http://" + AbstractTestSuite.HOSTNAME + ":81/ingres_simulate_get.php");
ParameterUtil.setQueryString(Arrays.asList(new SimpleEntry<String, String>("lib", "0")));
ConnectionUtil.setMethodInjection(MethodInjection.QUERY);
MediatorModel.model().beginInjection();
MediatorModel.model().setStrategy(StrategyInjection.NORMAL);
}
Aggregations