FormBased password

This commit is contained in:
MaxKey
2022-02-13 17:55:15 +08:00
parent bccb47086f
commit b5decd3a6a
2 changed files with 15 additions and 5 deletions

View File

@@ -25,6 +25,8 @@ public class SubStr {
public static void main(String[] args) {
String browser="Chrome/44.0.2369.0";
System.out.println(browser.indexOf('.'));
String passwordAlgorithm = "MD5-HEX";
System.out.println(passwordAlgorithm.substring(0,passwordAlgorithm.indexOf("-HEX")));
}
}