mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-22 07:00:43 +08:00
test: skip proxy
This commit is contained in:
@@ -90,8 +90,11 @@ public class ShellAssertion {
|
|||||||
|
|
||||||
@SneakyThrows
|
@SneakyThrows
|
||||||
public static MemShellResult shellInjectIsOk(String url, String server, String serverVersion, String shellType, String shellTool,
|
public static MemShellResult shellInjectIsOk(String url, String server, String serverVersion, String shellType, String shellTool,
|
||||||
int targetJdkVersion, Packers packer,
|
int targetJdkVersion, Packers packer,
|
||||||
GenericContainer<?> appContainer, GenericContainer<?> pythonContainer) {
|
GenericContainer<?> appContainer, GenericContainer<?> pythonContainer) {
|
||||||
|
if (ShellTool.Proxy.equals(shellTool)) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
Pair<String, String> urls = getUrls(url, shellType, shellTool, packer);
|
Pair<String, String> urls = getUrls(url, shellType, shellTool, packer);
|
||||||
String shellUrl = urls.getLeft();
|
String shellUrl = urls.getLeft();
|
||||||
String urlPattern = urls.getRight();
|
String urlPattern = urls.getRight();
|
||||||
|
|||||||
Reference in New Issue
Block a user