当前位置:网站首页>移动安全工具-jar
移动安全工具-jar
2022-06-24 20:06:00 【深度安全实验室】
1 需求
- 创建jar文件
- 解压jar文件
- -x 从档案中提取指定的 (或所有) 文件
- 只能解压缩到当前目录,详见后面参考资料
- 插件jar文件内容
- 查看jar文件中rt.jar
- 压缩两个文件到同一个jar文件中
2 语法
C:\Users\Administrator>jar
用法: jar {ctxui}[vfmn0PMe] [jar-file] [manifest-file] [entry-point] [-C dir] files ...
选项:
-c 创建新档案
-t 列出档案目录
-x 从档案中提取指定的 (或所有) 文件
-u 更新现有档案
-v 在标准输出中生成详细输出
-f 指定档案文件名
-m 包含指定清单文件中的清单信息
-n 创建新档案后执行 Pack200 规范化
-e 为捆绑到可执行 jar 文件的独立应用程序
指定应用程序入口点
-0 仅存储; 不使用任何 ZIP 压缩
-P 保留文件名中的前导 '/' (绝对路径) 和 ".." (父目录) 组件
-M 不创建条目的清单文件
-i 为指定的 jar 文件生成索引信息
-C 更改为指定的目录并包含以下文件
如果任何文件为目录, 则对其进行递归处理。
清单文件名, 档案文件名和入口点名称的指定顺序
与 'm', 'f' 和 'e' 标记的指定顺序相同。
示例 1: 将两个类文件归档到一个名为 classes.jar 的档案中:
jar cvf classes.jar Foo.class Bar.class
示例 2: 使用现有的清单文件 'mymanifest' 并
将 foo/ 目录中的所有文件归档到 'classes.jar' 中:
jar cvfm classes.jar mymanifest -C foo/ .3 示例
4 参考资料
Java中用Jar命令解压缩文件的方法_llqyhl的博客-CSDN博客
JDK 命令之 jar -- 压缩/解压缩工具_liaowenxiong的博客-CSDN博客_jar包解压和压缩


边栏推荐
- 软件测试与游戏测试文章合集录
- Helm chart warehouse operation
- ros(25):rqt_ image_ View reports an error unable to load plugin for transport 'compressed', error string
- Meta&伯克利基于池化自注意力机制提出通用多尺度视觉Transformer,在ImageNet分类准确率达88.8%!开源...
- How to delete the entire row with duplicate items in a column of WPS table
- C# Winform 最大化遮挡任务栏和全屏显示问题
- Custom animation (simulated win10 loading animation)
- Wx applet jump page
- 从数字化过渡到智能制造
- C# 闭包的垃圾回收
猜你喜欢

Go crawler framework -colly actual combat (4) -- Zhihu answer crawl (2) -- visual word cloud

Decoupling pages and components using lifecycle

Meta & Berkeley proposed a universal multi-scale visual transformer based on pooled self attention mechanism. The classification accuracy in Imagenet reached 88.8%! Open source

Use coordinatorlayout+appbarlayout+collapsingtoolbarlayout to create a collapsed status bar

I suddenly find that the request dependent package in NPM has been discarded. What should I do?
![[interview question] what is a transaction? What are dirty reads, unrepeatable reads, phantom reads, and how to deal with several transaction isolation levels of MySQL](/img/95/02a58c9dc97bd8347b43247e38357d.png)
[interview question] what is a transaction? What are dirty reads, unrepeatable reads, phantom reads, and how to deal with several transaction isolation levels of MySQL

在企业级开发过程中我发现有位同事用select * from where 条件 for update

Unmanned driving: Some Thoughts on multi-sensor fusion

Single blind box removal, social blind box and friend blind box program source code
Alternative to log4j
随机推荐
Technologie des fenêtres coulissantes en octets dans la couche de transmission
Usage of assert
【微服务|Sentinel】Sentinel快速入门|构建镜像|启动控制台
【微服务|Sentinel】簇点链路|微服务集群环境搭建
Go crawler framework -colly actual combat (4) -- Zhihu answer crawl (2) -- visual word cloud
Outer screen and widescreen wasted? Harmonyos folding screen design specification teaches you to use it
Virtual machine - network configuration
JDBC - database connection
【Redis实现秒杀业务③】超卖问题之乐观锁具体实现
Activity startup process
Xcode preview displays a bug in the content of the list view and its solution
Use and click of multitypeadapter in recycleview
Microsoft won the title of "leader" in the magic quadrant of Gartner industrial Internet of things platform again!
Do280openshift access control -- encryption and configmap
Go crawler framework -colly actual combat (II) -- Douban top250 crawling
Svg line animation background JS effect
腾讯云国际云服务器网络访问丢包问题解决办法
Paper review: U2 net, u-net composed of u-net
Fuxin Kunpeng joins in, and dragon lizard community welcomes a new partner in format document technical service
[proteus simulation] example of using timer 0 as a 16 bit counter