简体   繁体   English

Jarsigner错误:java.lang.RuntimeException

[英]Jarsigner error: java.lang.RuntimeException

I try to sign an original APK which I have embedded with a Metasploit payload. 我尝试签署嵌入了Metasploit有效负载的原始APK。 Like this: 像这样:

jarsigner -verbose -keystore ~/.android/debug.keystore -storepass android -keypass android -digestalg SHA1 -sigalg MD5withRSA [apk_path] androiddebugkey

But it gives this error: 但是它给出了这个错误:

jarsigner error: java.lang.RuntimeException: keystore load: /root/.android/debug.keystore (No such file or directory)

Try running msfupdate in terminal. 尝试在终端中运行msfupdate。 I had the same problem. 我有同样的问题。 By running msfupdate you download a 70mb archieve in your linux and it gets installed automatically. 通过运行msfupdate,您可以在Linux中下载70mb的档案,它会自动安装。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM