Skip to content

Commit

Permalink
remove keyscan_extract and modify calling modules
Browse files Browse the repository at this point in the history
  • Loading branch information
wwebb-r7 committed Apr 13, 2017
1 parent 303a767 commit 48560d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/post/windows/capture/keylog_recorder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def start_keylogger
#
# @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']
Expand Down
2 changes: 1 addition & 1 deletion plugins/beholder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def collect_keystrokes(sid)
return
end

collected_keys = sess.ui.keyscan_extract(sess.ui.keyscan_dump)
collected_keys = sess.ui.keyscan_dump
store_keystrokes(sid, collected_keys)
end

Expand Down

0 comments on commit 48560d2

Please sign in to comment.