ruby - Getting Error: undefined method `[]' for nil:NilClass -
i getting error while executing msfvenom
command bind payload other application.
i using metasploit in android , that's why made changes in /lib/msf/core/payload/apk.rb
script
changes in apk.rb (made me)
i changed line
keytool = run_cmd("keytool")
into
keytool = run_cmd("ld_library_path=/data/data/com.termux/files/openjdk/lib/arm /data/data/com.termux/files/openjdk/bin/keytol")
i commented out these lines:
#jarsigner = run_cmd("jarsigner") #unless jarsigner != nil #raise runtimeerror, "jarsigner not found. if it's not in path, please add it." #end
Comments
Post a Comment