Simon Janusz
a31261ecf2
Revert "Replace Readline with Reline"
2024-10-02 13:15:12 +01:00
sjanusz-r7
10dee226c6
Replace Readline with Reline
2024-09-04 16:39:41 +01:00
sjanusz-r7
91cb94e725
Add _close method to history manager, use generic method for Msf Config history file
2024-06-03 17:23:51 +01:00
sjanusz-r7
487faf9a1a
Allow History Manager writer thread to exit when queue is empty
2024-05-28 15:37:43 +01:00
sjanusz-r7
82c43c3154
Allow HistoryManager to mock input library history
2024-05-23 17:50:19 +01:00
sjanusz-r7
60c09e5ca3
SQL sessions have correct history manager support
2024-05-23 13:57:31 +01:00
adfoster-r7
b488cebeba
Revert "Sql sessions have correct history manager"
2024-04-19 11:59:30 +01:00
sjanusz-r7
e2814d6ad5
Align history manager to IRBs multiple backend library approach
2024-03-26 11:16:37 +00:00
sjanusz-r7
70e27f8112
Passing history manager tests
2024-03-26 10:06:50 +00:00
sjanusz-r7
873d3500ff
SQL sessions have correct history manager support
2024-03-26 10:06:50 +00:00
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