feat: support spring webflux shell generate (resolved #6)

This commit is contained in:
ReaJason
2024-12-26 00:59:24 +08:00
parent cfa4bfdb1d
commit ee82fc102d
45 changed files with 1510 additions and 20 deletions
@@ -103,8 +103,9 @@ public class GodzillaManager implements Closeable {
if (!isValidResponse(responseBody, md5)) {
return responseBody;
}
int lastIndex = responseBody.indexOf(md5.substring(16));
String result = responseBody.substring(16);
int i = responseBody.indexOf(md5.substring(0, 16));
String result = responseBody.substring(i + 16);
int lastIndex = result.indexOf(md5.substring(16));
result = result.substring(0, lastIndex);
byte[] bytes = Base64.decodeBase64(result);
byte[] x = aes(key, bytes, false);
@@ -215,6 +216,7 @@ public class GodzillaManager implements Closeable {
}
return false;
} catch (IOException e) {
e.printStackTrace();
return false;
}
}