diff --git a/README.md b/README.md
index ee03737..f7cde05 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
# DbVisualizer Pro Agent
#### Support (more version need your feedback):
-DbVisualizer 10.0.22
+DbVisualizer 10.0.25, 20191209 update
## 使用说明
@@ -24,7 +24,12 @@ DbVisualizer 10.0.22
1. 将`dbvisualizer-agent.jar`放在一个你不会随便删除的位置。
2. 设置环境变量`VM options`(这其实是Java的环境变量,用来指定其启动java程序时附带的参数),把`-javaagent`参数附带上。具体可以这么做:
* 你可以把:`-javaagent:/path/dbvisualizer-agent.jar`这样的命令直接放到`dbvis.vmoptions`这样的文件内。
- * 你还可以直接命令行执行:` sed -i '$a-javaagent:/path/dbvisualizer-agent.jar' ${DBVIS_HOME}/dbvis.vmoptions`来添加参数。
+ * Windows: -javaagent:C:\Users\xiaguliuxiang\dbvisualizer-agent.jar
+ dbvis.vmoptions: ${DbVisualizer_HOME}/dbvis.vmoptions
+ Mac OS: -javaagent:/Users/xiaguliuxiang/dbvisualizer-agent.jar
+ dbvis.vmoptions: ${DbVisualizer_HOME}/Contents/vmoptions.txt
+ Linux: -javaagent:/home/xiaguliuxiang/dbvisualizer-agent.jar
+ dbvis.vmoptions: ${DbVisualizer_HOME}/dbvis.vmoptions
* 或者你所知的其他修改环境变量的方法。
* 总之你想办法把`-javaagent`参数附带到要启动的java进程上。
3. 配置完成请重启你的`DbVisualizer`客户端。
diff --git a/pom.xml b/pom.xml
index 9c09923..a5049bf 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
site.xiaguliuxiang.crack.dbvisualizer
dbvisualizer-agent
- 1.0-SNAPSHOT
+ 1.0.1-SNAPSHOT
DbVisualizer Pro Agent
https://github.com/xiaguliuxiang/dbvisualizer-agent
diff --git a/src/main/java/site/xiaguliuxiang/crack/dbvisualizer/agent/KeyTransformer.java b/src/main/java/site/xiaguliuxiang/crack/dbvisualizer/agent/KeyTransformer.java
index f48428c..1b9e7c0 100644
--- a/src/main/java/site/xiaguliuxiang/crack/dbvisualizer/agent/KeyTransformer.java
+++ b/src/main/java/site/xiaguliuxiang/crack/dbvisualizer/agent/KeyTransformer.java
@@ -15,7 +15,7 @@
* @date 2019-09-09 20:00:00
*/
public class KeyTransformer implements ClassFileTransformer {
- private static final String ENCODED_KEY_SPEC = "java/security/spec/EncodedKeySpec";
+ private static final String ENCODED_KEY_SPEC = "sun/security/provider/DSAPublicKeyImpl";
private static final String RAW_KEY = "MIIBtzCCASwGByqGSM44BAEwggEfAoGBAP1/U4EddRIpUt9KnC7s5Of2EbdSPO9EAMMeP4C2USZpRV1AIlH7WT2NWPq/xfW6MPbLm1Vs14E7gB00b/JmYLdrmVClpJ+f6AR7ECLCT7up1/63xhv4O1fnxqimFQ8E+4P208UewwI1VBNaFpEy9nXzrith1yrv8iIDGZ3RSAHHAhUAl2BQjxUjC8yykrmCouuEC/BYHPUCgYEA9+GghdabPd7LvKtcNrhXuXmUr7v6OuqC+VdMCz0HgmdRWVeOutRZT+ZxBxCBgLRJFnEj6EwoFhO3zwkyjMim4TwWeotUfI0o4KOuHiuzpnWRbqN/C/ohNWLx+2J6ASQ7zKTxvqhRkImog9/hWuWfBpKLZl6Ae1UlZAFMO/7PSSoDgYQAAoGAJzCKYi3W8LGq0Dw10OB1H/ICqJ6MKs4KJYABa/rWus1wy4umHQn0s6Il764yTyFi34ft+kJau5NmG0pYw2hfCMS94TXnoruoxnovjstnpabpb9GIDOppAa7YxCxU5qZXW8gbrTz2EnTHXXv00WbYbClpOfda3T7rXlRlENqPtVo=";
private static final String XIAGULIUXINAG_KEY = "MIIBtzCCASwGByqGSM44BAEwggEfAoGBAP1/U4EddRIpUt9KnC7s5Of2EbdSPO9EAMMeP4C2USZpRV1AIlH7WT2NWPq/xfW6MPbLm1Vs14E7gB00b/JmYLdrmVClpJ+f6AR7ECLCT7up1/63xhv4O1fnxqimFQ8E+4P208UewwI1VBNaFpEy9nXzrith1yrv8iIDGZ3RSAHHAhUAl2BQjxUjC8yyk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