remove keyscan_extract and modify calling modules

bug/bundler_fix
William Webb 2017-04-13 10:42:28 -05:00
parent 303a767ccc
commit 48560d29f3
No known key found for this signature in database
GPG Key ID: 341763D0308DA650
2 changed files with 2 additions and 2 deletions

View File

@ -243,7 +243,7 @@ class MetasploitModule < Msf::Post
#
# @return [void] A useful return value is not expected here
def write_keylog_data
output = session.ui.keyscan_extract(session.ui.keyscan_dump)
output = session.ui.keyscan_dump
if not output.empty?
print_good("Keystrokes captured #{output}") if datastore['ShowKeystrokes']

View File

@ -127,7 +127,7 @@ class Plugin::Beholder < Msf::Plugin
return
end
collected_keys = sess.ui.keyscan_extract(sess.ui.keyscan_dump)
collected_keys = sess.ui.keyscan_dump
store_keystrokes(sid, collected_keys)
end