Members
(static) events
Holds events created by user, to be sent back to BeEF
(static) id
Internal logger id
(static) in_submit
Prevents from recursive event handling on form submission
(static) stream
Holds current stream of key presses
(static) target
Contains current target of key presses
(static) time
Holds the time the logger was started
Methods
(static) click()
Click function fires when the user clicks the mouse.
(static) console()
Console function fires when data is sent to the browser console.
(static) copy()
Copy function fires when the user copies data to the clipboard.
(static) cut()
Cut function fires when the user cuts data to the clipboard.
(static) e()
Holds the event details to be sent to BeEF
(static) get_dom_identifier()
Translate DOM Object to a readable string
(static) get_id()
Get id
(static) get_timestamp() → {String}
Formats the timestamp
Returns:
timestamp string
- Type
- String
(static) keypress(e:)
Keypress function fires everytime a key is pressed.
Parameters:
Name | Type | Description |
---|---|---|
e: |
Object | event object |
(static) parse_stream()
Parses stream array and creates history string
(static) paste()
Paste function fires when the user pastes data from the clipboard.
(static) push_stream()
Pushes the current stream to the events queue
(static) queue()
Queue results to be sent back to framework
(static) start()
Starts the logger
(static) stop()
Stops the logger
(static) submit()
Submit function fires whenever a form is submitted TODO: Cleanup this function
(static) win_blur()
Fires when the window element has lost focus
(static) win_focus()
Fires when the window element has regained focus