From 22a0d970dae03589b49be0cd0845746739a0f6ee Mon Sep 17 00:00:00 2001 From: joev Date: Thu, 7 Jan 2016 02:26:01 -0600 Subject: [PATCH] Don't delete the payload after running. --- modules/exploits/android/adb/adb_server_exec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/exploits/android/adb/adb_server_exec.rb b/modules/exploits/android/adb/adb_server_exec.rb index 5f42186621..b8571230ad 100644 --- a/modules/exploits/android/adb/adb_server_exec.rb +++ b/modules/exploits/android/adb/adb_server_exec.rb @@ -60,7 +60,8 @@ class Metasploit3 < Msf::Exploit::Remote prefix: '\\\\0', temp: datastore['WritableDir'], linemax: Rex::Proto::ADB::Message::Connect::DEFAULT_MAXDATA-8, - background: true + background: true, + nodelete: true }) end end