当前位置:网站首页>移动安全工具-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包解压和压缩


边栏推荐
- Use of navigation and navigationui
- 断言(assert)的用法
- 在企业级开发过程中我发现有位同事用select * from where 条件 for update
- 2021-02-15
- Several ways for wechat applet to jump to the page are worth collecting
- Zed acquisition
- adb shell sendevent
- Registration method of native method in JNI
- Punch smart spirit 1. The brand is attractive. What is the strength of the product?
- Transition from digitalization to intelligent manufacturing
猜你喜欢

Do280openshift access control -- encryption and configmap

Use of JMeter easynmon

How to quickly open traffic master for wechat applet

Creative SVG ring clock JS effect

【排行榜】Carla leaderboard 排行榜 运行与参与手把手教学

Wx applet jump page

In the process of enterprise development, I found that a colleague used the select * from where condition for update

2019 summary and 2020 outlook

Encryption and encoding resolution

傳輸層 以字節為單比特的滑動窗口技術
随机推荐
无人驾驶: 对多传感器融合的一些思考
Easy to wear - drop down radio
[interview question] the difference between instancof and getclass()
Realization of MNIST handwritten numeral recognition
Hyperledger Fabric 2. X dynamic update smart contract
Working principle analysis of kubernetes architecture core components
Usage of ViewModel and livedata in jetpack
Discrete mathematics and its application detailed explanation of exercises in the final exam of spring and summer semester of 2018-2019 academic year
Wallpaper applet wechat applet
Hot fix sophix multi-channel patch solution
Custom control - round dot progress bar (imitating one key acceleration in security guard)
Common redis commands in Linux system
融合模型权限管理设计方案
百公里加速仅5.92秒,威兰达高性能版以高能产品实力领跑
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
ros(24):error: invalid initialization of reference of type ‘xx’ from expression of type ‘xx’
2021-02-15
linux 系统redis常用命令
不重要的token可以提前停止计算!英伟达提出自适应token的高效视觉Transformer网络A-ViT,提高模型的吞吐量!...
Ott marketing is booming. How should businesses invest?