add ndkstager to data/exploits
parent
dbfe67573d
commit
4a4c759a4b
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -114,7 +114,8 @@ module Exploit::Android
|
|||
|
||||
# The NDK stager is used to launch a hidden APK
|
||||
def ndkstager(stagename, arch)
|
||||
data = MetasploitPayloads.read('android', 'libs', NDK_FILES[arch] || arch, 'libndkstager.so')
|
||||
stager_file = File.join( Msf::Config.data_directory, "exploits", "CVE-2012-6636", NDK_FILES[arch] || arch, 'libndkstager.so')
|
||||
data = File.read(stager_file, {:mode => 'rb'})
|
||||
data.gsub!('PLOAD', stagename)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue