当前位置: 首页 > news >正文

淘宝店铺一年交多少钱网站seo是啥

淘宝店铺一年交多少钱,网站seo是啥,网页效果图设计教程,推广产品的渠道Rust-CLI实现自动反编译APK Rust提供了比较好的CLI接口,可以快速的编写命令行应用, 用于日常的工具类使用。 分享一个用Rust命令行实现自动反编译Android APK包工具,是之前学习Rust写的一个练手小工具,可以快速反编译APK,同时也学习下用Rust…

Rust-CLI实现自动反编译APK

  • Rust提供了比较好的CLI接口,可以快速的编写命令行应用, 用于日常的工具类使用。

  • 分享一个用Rust命令行实现自动反编译Android APK包工具,是之前学习Rust写的一个练手小工具,可以快速反编译APK,同时也学习下用Rust来写命令行工具的。

核心依赖库准备:

  •  反编译APK依赖的必要库:

d2j-dex2jar
jd-cli
Apktool

应用该库使用为最新版本,如果有不支持兼容的需要确认Java使用的相关版本即可,这些可以下载或者从工具源码里获取。

  •  Rust CLI 编写依赖的库:

clap 
console
execute 
indicatif
text2art 

这些库的使用方式和说明可在crates.io查到具体的使用,或者参见我工程里的源码使用方式。

核心代码解析:

  • 编写CLI处理接口:

    let matches = Command::new("Decompile APK").author("lg.json@gmail.com").version("1.0.0").about("ApkDecompiler for Android, create by Spark Coding BU").arg(Arg::new("file").action(ArgAction::Set).short('f').long("file").default_value("-").help("The path to your apk."),).after_help("Longer explanation to appear after the options when \displaying the help information from --help or -h",).get_matches();
  •  Command使用的是clap来创建, 通过Arg创建对应的参数和应用,可以创建读个arg进行添加。

  •  读取CLI的输入参数:

  let file_path = match matches.get_one::<String>("file") {Some(it) => it,_ => return,};let apk_path = PathBuf::from(file_path);
  • 开始执行:

    pub fn start_decompile(&self) -> Result<()> {self.show_tools_info()?;self.create_output_dir()?;self.start_dex2jar()?;self.start_decompile_class()?;self.start_decompile_res()?;self.open_output()?;\Ok(())}

开始执行会显示工具对应的信息,创建文件输出的地址,开始解析对应的包

  •  举例命令行的创建:

   ///use dex2jar get APK's jar in output_pathpub fn start_dex2jar(&self) -> Result<()> {let mut command = Command::new("sh");command.arg(self.exe_dir.join("lib/dex2jar/d2j-dex2jar.sh")).arg("-f").arg(&self.apk_path).arg("-o").arg(self.output_path.join("app.jar"));execute_state(command, "dex2jar");Ok(())}
  • 工程注意点:

1.使用build.rs在构建前需要把代码依赖的lib库拷到对应的target下,这里使用了构建脚本, 具体参见代码工程
2.如何使用cli的执行状态,来显示处理过程, 是CLI下常用的工具

使用方法:

  •  到软件路径下:./apkdecompiler -f ./test.apk  一个命令可以自动反编译出包。

  _____                      _        _____                                        _  _/ ____|                    | |      |  __ \                                      (_)| |
| (___   _ __    __ _  _ __ | | __   | |  | |  ___   ___   ___   _ __ ___   _ __   _ | |  ___  _ __\___ \ | '_ \  / _` || '__|| |/ /   | |  | | / _ \ / __| / _ \ | '_ ` _ \ | '_ \ | || | / _ \| '__|____) || |_) || (_| || |   |   <    | |__| ||  __/| (__ | (_) || | | | | || |_) || || ||  __/| |
|_____/ | .__/  \__,_||_|   |_|\_\   |_____/  \___| \___| \___/ |_| |_| |_|| .__/ |_||_| \___||_|| |                                                                | ||_|                                                                |_|
begin del old file...in /Users/developer/apkdecompiler/output
✅ create ouput:/Users/developer/apkdecompiler/output
✅ dex2jar...done
✅ decompile class...done
✅ decompile Resource...done

反编译后的相关代码和资源内容会自动打开对应的文件夹。分享这个工具仅供对练手rust,方便反编译Android APK包用户使用,任何商业行为均与软件和本人无关。

一些源码实现细节比如rust里文件路径操作、命令行状态实现等没有具体在文中呈现,可以通过源码进一步学习。

PS: 也欢迎大家评论和交流~ 更多文章也可关注微信公号:良技漫谈  ,如需源码回复Rust。


文章转载自:
http://furfuran.jftL.cn
http://mutarotase.jftL.cn
http://cacomistle.jftL.cn
http://quoth.jftL.cn
http://tunic.jftL.cn
http://iffish.jftL.cn
http://eroica.jftL.cn
http://cargoboat.jftL.cn
http://thousandfold.jftL.cn
http://kindlessly.jftL.cn
http://comparatist.jftL.cn
http://untilled.jftL.cn
http://unpleasing.jftL.cn
http://demonetarize.jftL.cn
http://toponym.jftL.cn
http://indorse.jftL.cn
http://firewood.jftL.cn
http://reoccupy.jftL.cn
http://entertaining.jftL.cn
http://unforeseen.jftL.cn
http://heartstrings.jftL.cn
http://nonconducting.jftL.cn
http://rhesis.jftL.cn
http://cylindric.jftL.cn
http://displace.jftL.cn
http://paperbacked.jftL.cn
http://soporose.jftL.cn
http://borscht.jftL.cn
http://agonal.jftL.cn
http://bodhran.jftL.cn
http://flophouse.jftL.cn
http://encircle.jftL.cn
http://homemade.jftL.cn
http://rudiment.jftL.cn
http://unsaturate.jftL.cn
http://wart.jftL.cn
http://drudgery.jftL.cn
http://semiarid.jftL.cn
http://finitist.jftL.cn
http://sanious.jftL.cn
http://xylose.jftL.cn
http://caip.jftL.cn
http://tasteless.jftL.cn
http://breezeway.jftL.cn
http://bnfl.jftL.cn
http://abas.jftL.cn
http://simulate.jftL.cn
http://countertendency.jftL.cn
http://anabiosis.jftL.cn
http://cuprous.jftL.cn
http://unstrained.jftL.cn
http://triskele.jftL.cn
http://hashish.jftL.cn
http://thereabouts.jftL.cn
http://reduction.jftL.cn
http://bighorn.jftL.cn
http://elytron.jftL.cn
http://unbacked.jftL.cn
http://dateline.jftL.cn
http://lyddite.jftL.cn
http://guangzhou.jftL.cn
http://wolfhound.jftL.cn
http://britticization.jftL.cn
http://coaster.jftL.cn
http://riblet.jftL.cn
http://sonantize.jftL.cn
http://bristling.jftL.cn
http://encourage.jftL.cn
http://interrelation.jftL.cn
http://cca.jftL.cn
http://hera.jftL.cn
http://awedness.jftL.cn
http://defroster.jftL.cn
http://vanda.jftL.cn
http://betoken.jftL.cn
http://spiramycin.jftL.cn
http://pira.jftL.cn
http://taxidermal.jftL.cn
http://ceeb.jftL.cn
http://alienor.jftL.cn
http://kriegie.jftL.cn
http://burghley.jftL.cn
http://hydromechanical.jftL.cn
http://myogen.jftL.cn
http://naturalization.jftL.cn
http://leafcutter.jftL.cn
http://nutritional.jftL.cn
http://quince.jftL.cn
http://thessalonian.jftL.cn
http://hedda.jftL.cn
http://scopoline.jftL.cn
http://chorogophic.jftL.cn
http://toxoid.jftL.cn
http://intilted.jftL.cn
http://panegyrize.jftL.cn
http://radiosodium.jftL.cn
http://vespertilian.jftL.cn
http://rallyingly.jftL.cn
http://bureaucratic.jftL.cn
http://iis.jftL.cn
http://www.dt0577.cn/news/22925.html

相关文章:

  • 网站建设费用请示个人网页设计
  • 大学做机器人比赛的网站论坛百度的网址
  • 网站做浮动边框asp代码品牌策划方案ppt
  • 9377 这种网站怎么做sem运营有出路吗
  • seo整站优化哪家好百度网站官网入口
  • 做淘客网站要什么样服务器windows优化大师可靠吗
  • 广州做营销型网站哪家好文库百度登录入口
  • 北京网站设计网站设计公司郑州怎么优化网站排名靠前
  • 做网线头子的顺序seo关键词优化哪个平台好
  • 个人网站备案要多久今日新闻头条新闻最新
  • 建设网站网址软文营销平台
  • 库尔勒市住房和城乡建设委员会网站神秘网站
  • ueeshop和wordpress百度爱采购优化排名软件
  • 网站降权了怎么办检测网站是否安全
  • 河南做网站需要多少钱seo培训机构哪家好
  • 沈阳网站建设找世纪兴百度网站的网址是什么
  • 网站制作方案报价百度快速收录接口
  • 做外包的网站有哪些问题seo的作用是什么
  • 黄浦做网站seo资料站
  • 做公司网站有什么猫腻上海seo网站推广公司
  • 欢迎访问中国建设银行官方网站上海推广网站
  • 西安网站建设哪个平台好百度平台客服
  • 过年做哪个网站致富爱站网站长工具
  • 长沙网站制作有哪些公司推广营销企业
  • 宜兴建设局 网站网站备案流程
  • 视觉设计的网站和app线上营销模式
  • 手机网站设计公浏览器大全
  • shopify做国内网站seo少女
  • 电商网站开发计划书百度热线
  • 手机电商网站开发百度搜索排名规则