adfoster-r7
1f6009333e
Add history support to nasm and metasm shells
2023-10-04 22:36:19 +01:00
adfoster-r7
a60e048e78
Fix msfrpc hanging when updating saved command history
2023-09-15 12:42:40 +01:00
adfoster-r7
449af8daa7
Fix broken msfconsole histories when switching between shell sessions
2023-07-27 16:12:57 +01:00
Jeffrey Martin
9e447d33a5
ensure final history write
2021-07-01 09:19:45 -05:00
Jeffrey Martin
35189dbc9a
reverse commands when pulled from queue
2021-07-01 08:17:42 -05:00
Gaurav Purswani
5115651f11
Update history_manager.rb
2021-07-01 16:58:00 +05:30
Jeffrey Martin
e85a31c36a
write new instead of append
...
Co-authored-by: Gaurav Purswani <43883877+pingport80@users.noreply.github.com >
2021-06-29 08:17:47 -05:00
Jeffrey Martin
8e716b56a9
adjust history context to thread file write
...
By moving writes to a thread and allowing short circuit when
a context is reloaded quickly this code can shorten the conditions
that would cause slow context transitions. This also restricts
history length to a defined constant applied to each context.
2021-06-28 15:01:10 -05:00
pingport80
1215ea2946
add rescue for interrupt
2021-06-25 16:21:22 +05:30
pingport80
1b816596bf
update size to 2000
2021-06-23 23:49:13 +05:30
pingport80
8187a58549
add limit to size of history_files
2021-06-23 23:04:49 +05:30
Spencer McIntyre
675fbf8ab6
Use a #switch_context method in the HistoryManager
2021-05-27 20:08:14 +05:30
Spencer McIntyre
f2b69a559b
Add and use a #with_context method
2021-05-27 20:08:09 +05:30
pingport80
eed82f5d17
add 'name' key to history contexts
2021-05-27 20:02:48 +05:30