agalway-r7
87d69c7553
Land #15263 , adds payload flag to analyze
2021-06-03 16:03:46 +01:00
Ashley Donaldson
3920c0873c
Fix bugs in redis_extractor module
...
- Long values were truncated because the network didn't pull enough data, so parsing failed
- Race condition if value was deleted between scan and retrieval of value
- Also support retrieving a subset of keys (e.g. it stores session IDs, there are thousands of them and we only need a few)
2021-06-03 11:54:02 +10:00
dwelch-r7
d793e1b30c
Enforce more notes add more tests
2021-06-02 22:31:32 +01:00
Spencer McIntyre
741570ed6b
Stop raising a RuntimeError for invalid commands
2021-06-02 17:06:34 -04:00
Jeffrey Martin
57621d7f5f
Land #15289 , Fix a typo in a Meterpreter command requirement
2021-06-02 15:22:36 -05:00
Spencer McIntyre
e5755076ca
Fix a typo in a Meterpreter command requirement
2021-06-02 13:55:50 -04:00
Spencer McIntyre
74e324e8c1
Land #15260 , Add #pidof to Msf::Post::Process
...
Add the #pidof method to Msf::Post::Process and update #get_processes to
fallback to the shell version if it fails for some reason.
2021-06-01 09:53:08 -04:00
pingport80
fe8e586b22
fall to shell when meterpreter fails get_processes
...
shift `pidof` to `Msf::Post::Process`
2021-06-01 18:51:39 +05:30
adfoster-r7
11fb9e8e87
Land #15194 , Fix RPORT tab completion crash when connected to remote dataservice
2021-06-01 13:47:08 +01:00
A Galway
134e820322
removes obsolete has_host? usage
2021-06-01 12:02:58 +01:00
adfoster-r7
73b269cf7e
Land #15225 , cookie jar cleanup
2021-06-01 10:49:56 +01:00
Spencer McIntyre
882c2722af
Land #15251 , Add file_stat to linux shell sessions
2021-05-28 14:54:57 -04:00
pingport80
d9989903f7
add stat for linux shell sessions
...
update file.rb and file_stat.rb
update file_stat.rb
fix Zeitwerk:NameError
upadte `setuid?` to use stat
Update lib/msf/core/post/file_stat.rb
Co-authored-by: Spencer McIntyre <58950994+smcintyre-r7@users.noreply.github.com >
add inheritance and change time conversions to integers
Update lib/msf/core/post/file.rb
Co-authored-by: Spencer McIntyre <58950994+smcintyre-r7@users.noreply.github.com >
add some checks
fix one error in `Rex::Post::FileStat`
add NotImplemented raise
2021-05-28 14:24:36 -04:00
Metasploit
27a6810d35
Bump version of framework to 6.0.47
2021-05-27 15:14:16 -05:00
Spencer McIntyre
c6a499ef9a
Add more detail to missing feature error messages
2021-05-27 11:41:12 -04:00
Gaurav Purswani
379b0825b3
Merge branch 'master' into separate_session_history
2021-05-27 20:20:01 +05:30
Spencer McIntyre
0ea33ffee0
Consolidate session and shell context changes
2021-05-27 20:08:14 +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
Spencer McIntyre
ff1334ed14
Consolidate history management for sessions
2021-05-27 20:08:09 +05:30
pingport80
eed82f5d17
add 'name' key to history contexts
2021-05-27 20:02:48 +05:30
pingport80
26f4d66897
add history_manager support for meterpreter
2021-05-27 20:02:38 +05:30
pingport80
ae74c44436
add history manager and fix pry history issue using that
2021-05-27 20:02:28 +05:30
pingport80
8eef55d5ce
add separate history and history handler for meterpreter
2021-05-27 20:02:19 +05:30
Alan Foster
cfc7db8501
Update JSON RPC servlet helper to symbolize params object
2021-05-26 17:31:16 +01:00
Alan Foster
814e510e17
Fix unit tests
2021-05-26 15:30:23 +01:00
Spencer McIntyre
3ff2d5a307
Check if a missing command is a core command
2021-05-25 17:34:13 -04:00
Spencer McIntyre
82c078c888
Updates for psexec usage
2021-05-25 14:38:52 -04:00
Spencer McIntyre
ebab5f1e85
Update the powershell mixin
2021-05-25 14:38:52 -04:00
Spencer McIntyre
4920800340
Add a null check to the PSH bypass code
...
Powershell version 3 does not have
`System.Management.Automation.AmsiUtils` so check that it's present
before setting the field.
2021-05-25 14:38:52 -04:00
Spencer McIntyre
eddb6af650
Add block level randomization for the PSH bypass
2021-05-25 14:38:52 -04:00
Spencer McIntyre
38b45380f4
Fix and process block edges within the GraphML
2021-05-25 14:38:50 -04:00
Spencer McIntyre
694617b12c
Use an obfuscated stub to bypass PSH protections
2021-05-25 14:36:17 -04:00
Spencer McIntyre
4ab980b316
Update Shuffle to protect more of its API
2021-05-25 14:36:13 -04:00
Spencer McIntyre
64eeedf218
Land #15246 , Refactor as Msf::Post::Process
2021-05-25 13:07:21 -04:00
dwelch-r7
85961be02e
Ran rubocop and tidied up
2021-05-25 13:25:34 +01:00
cgranleese-r7
942b2fc074
Land #15241 , Remove initial rhost http url implementation
2021-05-25 11:59:11 +01:00
dwelch-r7
34dec4f026
Add rubocop rule to enforce presence of SideEffects in exploit module info
2021-05-25 00:58:14 +01:00
Jeffrey Martin
f7963106b6
refactor Msf::Post::Process
2021-05-24 18:43:02 -05:00
Jeffrey Martin
0cefd8eaa6
refactor post API for process lists
2021-05-24 18:39:16 -05:00
Jeffrey Martin
a93813476c
Land #15199 , into refactor of Msf::Post:Process
2021-05-24 18:36:55 -05:00
Spencer McIntyre
97ca76038a
Revert "Land #15199 , Improve the get_processes API"
...
This reverts commit 0203989821 , reversing
changes made to 0ca3dbc831 .
2021-05-24 18:21:12 -04:00
Spencer McIntyre
0203989821
Land #15199 , Improve the get_processes API
2021-05-24 17:17:16 -04:00
Shelby Pace
9f2dae38c8
Land #15079 , add meterpreter compat requirements
2021-05-24 16:00:08 -05:00
Spencer McIntyre
525bdb409b
Address some style things in #get_processes
2021-05-24 13:43:55 -04:00
Alan Foster
d12a82eb7d
Disable wrapped table support for the loot command
2021-05-24 00:37:41 +01:00
Alan Foster
c84b651ca6
Remoce initial rhost http url attempt
2021-05-24 00:31:09 +01:00
Gaurav Purswani
5eeb04b627
Update common.rb
2021-05-23 19:21:00 +05:30
pingport80
57275ee54c
guards against nil at various places
2021-05-23 18:47:22 +05:30
Metasploit
55a4009587
Bump version of framework to 6.0.46
2021-05-20 12:04:54 -05:00