Skip to content

Commit

Permalink
DbVisualizer 10.0.25, 20191209 update
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaguliuxiang committed Dec 9, 2019
1 parent 213d8f1 commit 11ea0ea
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# DbVisualizer Pro Agent

#### Support (more version need your feedback):
DbVisualizer 10.0.22
DbVisualizer 10.0.25, 20191209 update

## 使用说明

Expand All @@ -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`客户端。
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>site.xiaguliuxiang.crack.dbvisualizer</groupId>
<artifactId>dbvisualizer-agent</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.0.1-SNAPSHOT</version>

<name>DbVisualizer Pro Agent</name>
<url>https://github.com/xiaguliuxiang/dbvisualizer-agent</url>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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+4P208UewwI1VBNaFpEy9nXzrith1yrv8iIDGZ3RSAHHAhUAl2BQjxUjC8yykrmCouuEC/BYHPUCgYEA9+GghdabPd7LvKtcNrhXuXmUr7v6OuqC+VdMCz0HgmdRWVeOutRZT+ZxBxCBgLRJFnEj6EwoFhO3zwkyjMim4TwWeotUfI0o4KOuHiuzpnWRbqN/C/ohNWLx+2J6ASQ7zKTxvqhRkImog9/hWuWfBpKLZl6Ae1UlZAFMO/7PSSoDgYQAAoGAZkR/ADfOBvyfKSmpiMnjzd2xeSSIy5lUVp6DU5UPmdOJejc8wHsS8lBW2fBN5mJHxXDVI3DHe0WEyK7C3iqwNp13+NiXSJyTE1Ek5IuaQ7QjUd8oQ+epZ6HjgTmwaC5pePlDxDxDjsvcsPy32IzV2Nm7DHH03asV0lF0gqI+Ees=";
Expand Down

0 comments on commit 11ea0ea

Please sign in to comment.