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
Wei Chen
5c6b33bcf4
Add support for evasion targets, also module doc
2018-08-31 11:45:29 -05:00
Wang Yihang
a83e63516e
[+] Modify script permission in case of TOCTOU
2018-08-30 10:25:27 -04:00
Wang Yihang
e6140bc78c
Merge branch 'upstream-master' into add-source-meta-command
2018-08-30 10:17:29 -04:00
Wei Chen
ea41127c6e
Support info command
2018-08-29 16:24:23 -05:00
James Barnett
24cf99f59c
Enable deletion of saved data services
2018-08-27 11:32:19 -05:00
Green-m
1dd91434f4
Fix #10518 , bug fix when add persistent to non-payload job.
2018-08-24 03:39:18 -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
asoto-r7
bc3b317963
Land #10449 , Implementation of download/upload file in reverse shell
2018-08-20 19:10:26 -05:00
asoto-r7
4aee3a4ae2
Land #10448 , Implementation of CTRL+C to send SIGINT signal
2018-08-20 18:14:29 -05:00
Jeffrey Martin
d6bce4410c
Land #10203 , Add command for persistent job handler when msf restart
2018-08-16 15:37:10 -05:00