MCPcopy Create free account
hub / github.com/LFYSec/MScan / main

Method main

src/main/java/Starter.java:22–38  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

20
21
22 public static void main(String[] args) throws IOException {
23 Timer.runAndCount(() -> {
24 Config.name = "youlai-mall";
25 Config.classpathKeywords = new String[]{"youlai"};
26 Config.jarPath = "../../cloud/dataset/youlai-mall";
27 Config.targetPath = "../../cloud/tmp/youlai-mall";
28 Config.reuse = false;
29 try {
30 parseJar(Config.jarPath);
31 GatewayParser.mapServiceRoute();
32 Main.main("--options-file", Config.optionsFile);
33 } catch (Exception e) {
34 logger.error("[!] {}: {}", Config.name, e);
35 e.printStackTrace();
36 }
37 }, Config.name);
38 }
39
40 public static void parseJar(String jarDir) throws IOException {
41 boolean reuse = Config.reuse;

Callers

nothing calls this directly

Calls 4

runAndCountMethod · 0.95
parseJarMethod · 0.95
mapServiceRouteMethod · 0.95
mainMethod · 0.95

Tested by

no test coverage detected