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
Brendan Coles
bd8d4d3f78
Deprecate pml_driver_config script
2019-03-01 19:43:38 +00:00
Brent Cook
fc45e7d1b1
Land #11407 , Add support for showing extra help in msfconsole
2019-02-20 07:45:53 -06:00
Brent Cook
1c1103f9da
Land #11400 , Add --sec-name to msfvenom, update generate command
2019-02-19 21:11:01 -06:00
Brent Cook
880e5976bf
Land #11176 , support RHOSTS in all auxiliary modules
2019-02-19 21:01:57 -06:00
Brendan Coles
a5d5ccf67e
Deprecate get_env script
2019-02-15 08:51:11 +00:00
Green-m
d3745e9a39
Enable cancel auxiliary mod for multiple targets.
2019-02-14 11:16:37 +08:00
Adam Cammack
22eb2bb72b
Add support for showing detailed help for commands
2019-02-13 15:56:44 -06:00
Patrick
5151473e09
Implement sec-name and pad-nops for command dispatcher
2019-02-13 13:35:42 -06:00
Brent Cook
5fc7167beb
Merge remote-tracking branch 'upstream/master' into land-10812-
2019-02-07 09:31:02 -06:00
Wei Chen
7fe381ac60
Land #11309 , Normalize newlines in CommandShell#run_single
2019-02-01 15:17:24 -06:00
bwatters
2e7a71ee9b
Add support for mettle debug
2019-01-29 15:13: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
0d0356ccdd
Land #11126 , Update sessions through the DBManager
2018-12-26 13:15:43 -06:00
Matthew Kienow
eec7a3dafc
Remove debug code
2018-12-14 13:33:16 -05:00
Matthew Kienow
c2af36f405
Use update_session rather than Mdm save method
...
The changes ensure that updates to an Mdm::Session are reflected on a
remote data service.
2018-12-14 12:22:49 -05:00
bwatters-r7
564814c4db
Land #10676 , Add support for ext_server_unhook
...
Merge branch 'land-10676' into upstream-master
2018-12-13 09:46:37 -06:00
William Vu
a415063acd
Reword CreateSession option description
2018-12-12 15:32:31 -06:00
Stephen Haywood
eceb47a9da
Move CREATE_SESSION option to advanced option CreateSession
2018-12-12 15:32:31 -06:00
Stephen Haywood
8a7187ad79
Add CREATE_SESSION option to CommanShell
...
Register the CREATE_SESSION option in command_shell_options so it
can be used with all modules that use start_session.
Modify ssh_login.rb, ssh_login_pubkey.rb, and telnet_login.rb to
use the new CREATE_SESSION option.
When CREATE_SESSION is set to true (default) a new session is
created with each successful login. When set to false a new session
is not created but the successful login is still registered in the
credentials database.
2018-12-12 15:32:31 -06:00
Brent Cook
d7c1dd91c0
Land #10509 , Add source meta command for shell sessions
2018-11-26 14:27:08 -06:00
Kevin Kirsche
ad58930e9b
Dump formats when invalid format is selected
2018-11-04 09:25:37 -05:00
Kevin Kirsche
9f77966ec9
Revert downcase throughout, instead use single downcase within option parsing
2018-11-04 08:57:45 -05:00
Kevin Kirsche
aadefdbc82
Update msfvenom formatter to be case insensitive
2018-10-12 11:11:52 -04:00
Tim W
f2ebdd4cdf
add apple_ios/armle/meterpreter/reverse_tcp
2018-10-10 17:39:51 +08:00
William Vu
6c74820843
Land #10773 , session.platform TypeError fix
...
This also adds an "unknown" platform class.
2018-10-08 14:38:31 -05:00
William Vu
ccfdfb6a5c
Clean up new "unknown" platform and current use
2018-10-08 14:31:31 -05:00
h00die
edea3c45cd
dont append nothing
2018-10-08 13:23:54 -04:00
h00die
e937f5fee1
to_s platform
2018-10-08 11:39:31 -04:00
Wei Chen
c7efd57144
Sync up with master
2018-10-06 08:27:01 -05:00
William Vu
9f30512532
Land #10707 , module traits to augment module rank
2018-10-04 13:26:14 -05:00
Wei Chen
f5190525fc
support for multiple module types
2018-10-04 13:20:47 -05:00
Wei Chen
18d6cc0ee0
Add support for info command
2018-10-03 15:19:08 -05:00
Green-m
90b98a193c
Refactor the rhosts for exploit modules.
2018-09-30 16:08:49 +08:00
Wei Chen
02ef565730
Update evasion_module_type branch
2018-09-24 08:20:32 -05:00
Jeff Tang
bba7bcc885
add support for ext_server_unhook
2018-09-19 16:20:26 -04:00
Brent Cook
86f5b25d8f
Land #10563 , Add 'Notes' metadata section
2018-09-17 11:18:08 -05:00
Erin Bleiweiss
184d1d5954
Leave notes type as a plain hash
2018-09-14 11:17:37 -05:00
Matthew Kienow
6a6d92abc1
Check DB is active before querying sessions
2018-09-13 15:06:53 -04:00
OJ
8d6fcefccc
Fix crash when using sessions -x
2018-09-11 13:28:33 +10:00
Erin Bleiweiss
1eb703b1b5
Refactor initialization of module's notes attribute
2018-09-06 16:15:52 -05:00
Tim W
c38a7e97fd
fix session.type for osx shells
2018-09-04 22:59:03 +08:00
Matthew Kienow
34f87efb2b
Land #10532 , enhance db_connect for data services
2018-09-03 09:43:34 -04:00
Erin Bleiweiss
420041f287
Don't refer to AKA as 'alias' in order to not overlap nomenclature with upcoming 'alias' feature
2018-08-31 16:54:07 -05:00
Erin Bleiweiss
e5106b54db
Add AKA info to module info
2018-08-31 16:52:26 -05:00
Wei Chen
bcaa6e90f6
Fix targeting
2018-08-31 13:37:23 -05:00