wyzxxz / heapdump_tool Goto Github PK
View Code? Open in Web Editor NEWheapdump敏感信息查询工具,例如查找 spring heapdump中的密码明文,AK,SK等
heapdump敏感信息查询工具,例如查找 spring heapdump中的密码明文,AK,SK等
jhat fail.
error message: Error occurred during initialization of VM
Could not reserve enough space for object heap
请问这种情况如何解决?
file: heapdump
[-] Start jhat, waiting...
find compressed file. start unzip file...
java.util.zip.ZipException: Not in GZIP format
at java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:165)
at java.util.zip.GZIPInputStream.(GZIPInputStream.java:79)
at java.util.zip.GZIPInputStream.(GZIPInputStream.java:91)
at heapdump.Main.unZipFiles(Main.java:1903)
at heapdump.Main.checkServer(Main.java:1406)
at heapdump.Main.main(Main.java:102)
请手工解压 heapdump 文件后尝试
jhat fail.
error message: Reading from heapdump...
java.io.IOException: Unrecognized magic number: 1013084704
at com.sun.tools.hat.internal.parser.Reader.readFile(Reader.java:94)
at com.sun.tools.hat.Main.main(Main.java:159)
请问源码开源吗?
在springboot 环境中,经常见到env泄露并同时使用shiro的情况,根据原理可知,shiro在1.8之前知道密钥就可以进行反序列化攻击,并且利用条件极低。
select * from org.apache.shiro.web.mgt.CookieRememberMeManager
import sun.misc.BASE64Encoder;
public class ShiroBytesKey_decode {
public static void main(String[] args) {
byte[] base = new byte[]{48,68,92,126,-107,51,-26,-84,-92,38,44,98,112,-16,5,124} ;
String base64 = Base64Utils.encode(base);
System.out.println(base64);
System.out.println(new BASE64Encoder().encode(base));
}
}
heapdump超过900mb 崩溃
RT,提示403了
don't know why....
[-] file: heapdump
[-] Start jhat, waiting...
jhat fail.
error message: Reading from heapdump...
Dump file created Sat Nov 12 16:02:56 CST 2022
java.io.IOException: Unrecognized heap dump sub-record type: 202
at com.sun.tools.hat.internal.parser.HprofReader.readHeapDump(HprofReader.java:506)
at com.sun.tools.hat.internal.parser.HprofReader.read(HprofReader.java:238)
at com.sun.tools.hat.internal.parser.Reader.readFile(Reader.java:92)
at com.sun.tools.hat.Main.main(Main.java:159)
[-] exit.
root@archlinux ~# java -jar heapdump_tool.jar heapdump
??? jhat
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.