heap-dump-tool

上传者: 42116681 | 上传时间: 2023-02-02 10:56:12 | 文件大小: 77KB | 文件类型: ZIP
堆转储工具 堆转储工具可以捕获Java堆转储中的敏感数据,并且更重要的是清除它们。 通过用零值替换堆转储文件中的字段值来完成清理。 然后可以更自由地自由共享堆转储并进行分析。 一种典型的情况是,在将堆转储交给其他人或转移到其他环境之前,需要对其进行清理。 例如,在生产环境中运行的应用程序可能包含敏感数据(密码,信用卡号等),当将堆转储复制到开发环境中以图形程序进行分析时,该敏感数据将不可见。 目录 例子 该工具可以通过几种方式运行,具体取决于工具的包装以及要捕获的目标应用程序在何处运行。 [Jar]手动捕获经过清理的堆转储 捕获应用程序经过清理的堆转储的最简单方法是运行: # capture plain heap dump of Java process with given pid $ jcmd {pid} GC.heap_dump /path/to/plain-heap-dump.

文件下载

资源详情

[{"title":"( 69 个子文件 77KB ) heap-dump-tool","children":[{"title":"heap-dump-tool-main","children":[{"title":"NOTICE <span style='color:#111;'> 866B </span>","children":null,"spread":false},{"title":"pom.xml <span style='color:#111;'> 20.30KB </span>","children":null,"spread":false},{"title":".github","children":[{"title":"workflows","children":[{"title":"develop.yml <span style='color:#111;'> 544B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Dockerfile <span style='color:#111;'> 573B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 11.07KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"test","children":[{"title":"resources","children":[{"title":"files","children":[{"title":"ApplicationTest","children":[{"title":"help.txt <span style='color:#111;'> 401B </span>","children":null,"spread":false}],"spread":true},{"title":"HeapDumpSanitizerTest","children":[{"title":"classifieds.txt <span style='color:#111;'> 20B </span>","children":null,"spread":false}],"spread":true},{"title":"SanitizeStreamFactoryTest","children":[{"title":"sample.tar <span style='color:#111;'> 10.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"PrivilegeEscalatorTest","children":[{"title":"expected-escalation-output.txt <span style='color:#111;'> 934B </span>","children":null,"spread":false},{"title":"docker-cgroup.txt <span style='color:#111;'> 975B </span>","children":null,"spread":false},{"title":"native-cgroup.txt <span style='color:#111;'> 183B </span>","children":null,"spread":false}],"spread":true},{"title":"CaptureCommandProcessorTest","children":[{"title":"docker-ps-none.txt <span style='color:#111;'> 176B </span>","children":null,"spread":false},{"title":"docker-exec-jcmd-gc-heap-dump.txt <span style='color:#111;'> 22B </span>","children":null,"spread":false},{"title":"docker-exec-jps.txt <span style='color:#111;'> 26B </span>","children":null,"spread":false},{"title":"docker-ps.txt <span style='color:#111;'> 342B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"paypal","children":[{"title":"heapdumptool","children":[{"title":"sanitizer","children":[{"title":"example","children":[{"title":"ClassWithManyStaticFields.java <span style='color:#111;'> 41.00KB </span>","children":null,"spread":false},{"title":"ClassWithManyInstanceFields.java <span style='color:#111;'> 34.17KB </span>","children":null,"spread":false}],"spread":false},{"title":"SanitizeCommandProcessorTest.java <span style='color:#111;'> 2.03KB </span>","children":null,"spread":false},{"title":"DataSizeTests.java <span style='color:#111;'> 5.86KB </span>","children":null,"spread":false},{"title":"PipeTest.java <span style='color:#111;'> 5.54KB </span>","children":null,"spread":false},{"title":"SanitizeStreamFactoryTest.java <span style='color:#111;'> 4.68KB </span>","children":null,"spread":false},{"title":"SanitizeCommandTest.java <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"BasicTypeTest.java <span style='color:#111;'> 811B </span>","children":null,"spread":false},{"title":"HeapDumpSanitizerTest.java <span style='color:#111;'> 8.87KB </span>","children":null,"spread":false}],"spread":true},{"title":"fixture","children":[{"title":"MockitoTool.java <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"ByteArrayTool.java <span style='color:#111;'> 1.65KB </span>","children":null,"spread":false},{"title":"ResourceTool.java <span style='color:#111;'> 923B </span>","children":null,"spread":false},{"title":"HeapDumper.java <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"ConstructorTester.java <span style='color:#111;'> 543B </span>","children":null,"spread":false}],"spread":false},{"title":"capture","children":[{"title":"CaptureCommandProcessorTest.java <span style='color:#111;'> 6.92KB </span>","children":null,"spread":false},{"title":"CaptureCommandTest.java <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"CaptureStreamFactoryTest.java <span style='color:#111;'> 2.71KB </span>","children":null,"spread":false},{"title":"PrivilegeEscalatorTest.java <span style='color:#111;'> 5.73KB </span>","children":null,"spread":false}],"spread":false},{"title":"ApplicationTestSupport.java <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"ApplicationTest.java <span style='color:#111;'> 1.95KB </span>","children":null,"spread":false},{"title":"utils","children":[{"title":"DateTimeToolTest.java <span style='color:#111;'> 608B </span>","children":null,"spread":false},{"title":"CallableToolTest.java <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"ProgressMonitorTest.java <span style='color:#111;'> 2.83KB </span>","children":null,"spread":false},{"title":"ProcessToolTest.java <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false}],"spread":false},{"title":"cli","children":[{"title":"CliCommandTest.java <span style='color:#111;'> 726B </span>","children":null,"spread":false},{"title":"CliBootstrapTest.java <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"resources","children":[{"title":"logback.xml <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"privilege-escalate.sh.tmpl <span style='color:#111;'> 911B </span>","children":null,"spread":false}],"spread":true},{"title":"c","children":[{"title":"nsenter1.c <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"docker","children":[{"title":"docker-entrypoint.sh <span style='color:#111;'> 146B </span>","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"paypal","children":[{"title":"heapdumptool","children":[{"title":"sanitizer","children":[{"title":"SanitizeCommandProcessor.java <span style='color:#111;'> 2.34KB </span>","children":null,"spread":false},{"title":"Pipe.java <span style='color:#111;'> 3.60KB </span>","children":null,"spread":false},{"title":"HeapDumpSanitizer.java <span style='color:#111;'> 10.25KB </span>","children":null,"spread":false},{"title":"DataUnit.java <span style='color:#111;'> 2.50KB </span>","children":null,"spread":false},{"title":"SanitizeStreamFactory.java <span style='color:#111;'> 2.97KB </span>","children":null,"spread":false},{"title":"SanitizeCommand.java <span style='color:#111;'> 3.56KB </span>","children":null,"spread":false},{"title":"BasicType.java <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"DataSize.java <span style='color:#111;'> 7.92KB </span>","children":null,"spread":false}],"spread":false},{"title":"capture","children":[{"title":"CaptureCommand.java <span style='color:#111;'> 3.66KB </span>","children":null,"spread":false},{"title":"CaptureStreamFactory.java <span style='color:#111;'> 1.55KB </span>","children":null,"spread":false},{"title":"CaptureCommandProcessor.java <span style='color:#111;'> 10.45KB </span>","children":null,"spread":false},{"title":"PrivilegeEscalator.java <span style='color:#111;'> 4.83KB </span>","children":null,"spread":false}],"spread":false},{"title":"Application.java <span style='color:#111;'> 3.05KB </span>","children":null,"spread":false},{"title":"utils","children":[{"title":"CallableTool.java <span style='color:#111;'> 423B </span>","children":null,"spread":false},{"title":"DateTimeTool.java <span style='color:#111;'> 698B </span>","children":null,"spread":false},{"title":"ProgressMonitor.java <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false},{"title":"ProcessTool.java <span style='color:#111;'> 2.13KB </span>","children":null,"spread":false}],"spread":false},{"title":"cli","children":[{"title":"CliCommand.java <span style='color:#111;'> 312B </span>","children":null,"spread":false},{"title":"CliCommandProcessor.java <span style='color:#111;'> 118B </span>","children":null,"spread":false},{"title":"CliBootstrap.java <span style='color:#111;'> 651B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"CHANGES.md <span style='color:#111;'> 88B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 405B </span>","children":null,"spread":false},{"title":".java-version <span style='color:#111;'> 4B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 3.05KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明