dwelch-r7
|
a3a6c1b903
|
Land #15000, remove which command in binary_exists? method
remove `which` command in binary_exists? method
|
2021-04-30 11:24:11 +01:00 |
|
pingport80
|
cdcff2f0b2
|
fix msftidy err
|
2021-04-23 15:53:51 +05:30 |
|
pingport80
|
c2f145af89
|
add locale independent check
|
2021-04-23 14:32:10 +05:30 |
|
Gaurav Purswani
|
b1a73c888e
|
Update lib/msf/base/sessions/command_shell.rb
Co-authored-by: acammack-r7 <adam_cammack@rapid7.com>
|
2021-04-22 19:10:56 +05:30 |
|
Spencer McIntyre
|
69c525c2f7
|
Update the minimum WfsDelay setting
Now there's a minimum WfsDelay of 3 seconds with the user-configurable
value being added to it.
|
2021-04-20 13:05:37 -04:00 |
|
Spencer McIntyre
|
c886af2e6d
|
Allow disabling shell session verification
|
2021-04-15 10:33:42 -04:00 |
|
Spencer McIntyre
|
99308d896b
|
Refactor calling process_autoruns into the handler to be consistent
|
2021-04-15 09:07:12 -04:00 |
|
Spencer McIntyre
|
ae7a5c7116
|
Automatically validate shell sessions too
|
2021-04-15 08:54:50 -04:00 |
|
pingport80
|
f9c27a5808
|
added which in case command fails
|
2021-04-08 23:16:19 +05:30 |
|
Gaurav Purswani
|
da6c575966
|
Update command_shell.rb
|
2021-04-06 08:34:56 +05:30 |
|
Gaurav Purswani
|
aa12afaf0a
|
Update command_shell.rb
|
2021-04-06 08:27:56 +05:30 |
|
Gaurav Purswani
|
de34d91144
|
Update lib/msf/base/sessions/command_shell.rb
Co-authored-by: bcoles <bcoles@gmail.com>
|
2021-04-06 08:15:13 +05:30 |
|
pingport80
|
cd796816b5
|
removed false as an indicator
|
2021-04-05 11:06:39 +05:30 |
|
pingport80
|
d8b884044e
|
fix indentation
|
2021-04-04 15:39:25 +05:30 |
|
pingport80
|
a94cca8e5c
|
changed comment and added single quote
|
2021-04-04 15:31:02 +05:30 |
|
pingport80
|
c24b6f1ee7
|
removed to which in binary_exists
|
2021-04-04 13:35:11 +05:30 |
|
dwelch-r7
|
b95be3ed10
|
Zeitwerk rex folder
|
2021-02-08 12:24:12 +00:00 |
|
dwelch-r7
|
d437a32374
|
remove msf/util requires
|
2021-01-18 14:21:54 +00:00 |
|
dwelch-r7
|
c0912b358c
|
Fix tests
|
2021-01-05 16:20:42 +00:00 |
|
dwelch-r7
|
bad5ccbc49
|
Remove msf/base requires
|
2021-01-05 14:59:46 +00:00 |
|
dwelch-r7
|
0a87386c49
|
Add base folder to autoloader
|
2021-01-05 13:07:53 +00:00 |
|
CSharperMantle
|
d99c2ac783
|
linguistic fixes of 'does not exists'
|
2020-12-23 11:36:38 +08:00 |
|
dwelch-r7
|
3a94d4f7ee
|
Add a require for command shell options to fix randomly failing tests
Temporary until we zeitwerk more things
|
2020-12-10 10:56:54 +00:00 |
|
Reelix
|
f5a85890fd
|
Update command_shell.rb
- Implement changes suggested by @smcintyre-r7
|
2020-08-31 21:16:33 +02:00 |
|
Reelix
|
b9db589105
|
Update command_shell.rb
- Converted a missed tab to spaces
|
2020-08-30 09:48:19 +02:00 |
|
Reelix
|
b61a5e5f75
|
Update command_shell.rb
- Fixed spacing (Tabs VS Spaces)
|
2020-08-30 09:45:38 +02:00 |
|
Reelix
|
e2a008eade
|
Update command_shell.rb
- Improved path detection
- Check for bash with python / python3 and use it if it exists
- Minor grammatical improvements
|
2020-08-30 09:22:25 +02:00 |
|
Brendan Coles
|
032a99d84a
|
to_s - Fix #12345
|
2019-10-05 10:11:31 +00:00 |
|
Brendan Coles
|
c3b7d0155a
|
Cast to_s - Fix #11725
|
2019-07-26 23:48:37 +00:00 |
|
William Vu
|
7a1b11b1b8
|
Support command-specific help command
|
2019-03-12 19:08:32 -05:00 |
|
William Vu
|
e46893bfbd
|
Split command using Shellwords.shellwords
|
2019-03-12 13:34:51 -05:00 |
|
William Vu
|
9186e00167
|
Add irb and pry commands to command shells
|
2019-03-12 12:22:12 -05:00 |
|
Adam Cammack
|
22eb2bb72b
|
Add support for showing detailed help for commands
|
2019-02-13 15:56:44 -06:00 |
|
William Vu
|
92e846d09d
|
Chomp user input alone
[1] pry(main)> "\r\n".chomp("\n")
=> ""
[2] pry(main)>
Meh.
|
2019-01-28 17:46:03 -06:00 |
|
William Vu
|
c6f1c10737
|
Normalize newlines in CommandShell#run_single
Lines from normal interaction will include a trailing newline, while
lines from resource scripting will not.
|
2019-01-24 12:53:09 -06:00 |
|
William Vu
|
a5a8c88a6e
|
Implement resource scripting for command shells
|
2019-01-17 13:39:03 -06:00 |
|
Brent Cook
|
d7c1dd91c0
|
Land #10509, Add source meta command for shell sessions
|
2018-11-26 14:27:08 -06:00 |
|
Tim W
|
c38a7e97fd
|
fix session.type for osx shells
|
2018-09-04 22:59:03 +08:00 |
|
Wang Yihang
|
a83e63516e
|
[+] Modify script permission in case of TOCTOU
|
2018-08-30 10:25:27 -04:00 |
|
Wang Yihang
|
29ff1ea952
|
[+] Add source meta command to execute script remotely
|
2018-08-22 21:50:40 +08:00 |
|
Wang Yihang
|
8f0a37add6
|
Merge remote-tracking branch 'upstream/master' into add-resource-meta-shell-command
|
2018-08-22 21:08:28 +08:00 |
|
Wang Yihang
|
fcd1527eec
|
[+] Add status print while resourcing scripts
|
2018-08-13 02:39:15 +08:00 |
|
Wang Yihang
|
8b4a669c5b
|
[+] Disable debug print
|
2018-08-12 14:09:29 +08:00 |
|
Wang Yihang
|
67f6e83cbe
|
[+] Make the progress bar more precise
|
2018-08-12 14:08:32 +08:00 |
|
Wang Yihang
|
6a0a52e6fe
|
[+] Add conditions in help menu
|
2018-08-12 13:10:11 +08:00 |
|
Wang Yihang
|
89c875d3bb
|
[+] Implementation of upload meta command
|
2018-08-12 12:54:05 +08:00 |
|
Wang Yihang
|
f3d98b26d7
|
[+] Implementation of download meta command
|
2018-08-12 11:37:39 +08:00 |
|
Wang Yihang
|
dc342a29b3
|
[+] Fix typo
|
2018-08-12 05:23:18 +08:00 |
|
Wang Yihang
|
7e4a666e1b
|
[+] Modify script arguments, change LOG_FILE to /dev/null
|
2018-08-12 04:54:08 +08:00 |
|
Wang Yihang
|
3fb814cef3
|
[+] Implementation of script and socat on poping up a interactive shell
|
2018-08-12 04:49:44 +08:00 |
|