Matthew Kienow
06966312c1
Remove unused code
2018-10-30 00:40:33 -04:00
Matthew Kienow
04e4c2941c
Remove unnecessary require
2018-10-30 00:19:21 -04:00
Matthew Kienow
3c3022902f
Add JSON-RPC Client
2018-10-30 00:15:58 -04:00
Matthew Kienow
24b1898e21
Fix comment
2018-10-29 23:27:50 -04:00
Brent Cook
ba0bfb1114
Land #10781 , Fix error in rpc_shell_read RPC method.
2018-10-10 09:02:47 -05:00
Ivo Nutár
50755b2e00
Fix function rpc_shell_read - return result as string
2018-10-10 11:36:17 +02:00
Ivo Nutár
36b7fb3524
Fix function rpc_shell_read - remove wrong parameter data, return correct values
2018-10-10 11:31:03 +02:00
Wei Chen
c7efd57144
Sync up with master
2018-10-06 08:27:01 -05:00
Matthew Kienow
06700efbc4
Skip payload generate to reduce processing time
2018-10-04 22:06:32 -04:00
Matthew Kienow
ccad78d567
Fix spelling mistake
2018-10-02 14:11:02 -04:00
Matthew Kienow
d807600ebe
Enhance RPC information retrieval
...
Add the ability to retrieve additional module information for payloads,
encoders and nops. Add ability to filter these modules by architectures.
2018-10-02 13:38:07 -04:00
Matthew Kienow
5f5b334493
Call keyword argument methods with params hash
2018-09-28 11:11:18 -04:00
Matthew Kienow
60bd00ee5b
Move prepare_params method to v1.0 RpcCommand
...
The method was created to support RPC v1.0 (v10) processing and should
not be necessary for future RPC versions.
2018-09-28 10:51:10 -04:00
Matthew Kienow
ea888eaa7c
Add method comments for raise
2018-09-24 17:22:25 -04:00
Wei Chen
02ef565730
Update evasion_module_type branch
2018-09-24 08:20:32 -05:00
Matthew Kienow
5280cf0c50
Move required members and types to constants
2018-09-21 11:19:38 -04:00
Matthew Kienow
7d30f781f6
Add missing raise
2018-09-20 20:09:42 -04:00
Matthew Kienow
c7badd5c37
Add method comments
2018-09-20 20:07:45 -04:00
Matthew Kienow
9d3d9c3ad6
Change parameter version to Symbol
2018-09-20 19:58:04 -04:00
Matthew Kienow
4acf695de9
Remove debug output and unused code
2018-09-20 18:05:36 -04:00
Matthew Kienow
8bd9faad22
Initial JSON-RPC servlet and support architecture
2018-09-20 17:39:33 -04:00
Wei Chen
1f16052988
Make key random and fix RPC
2018-09-05 15:09:47 -05:00
Wei Chen
a3df5bb5d9
Fix rpc_info
2018-09-04 08:35:39 -05:00
Wei Chen
d89b971d83
Add API doc for rpc_compatible_evasion_payloads
2018-09-03 22:25:51 -05:00
Wei Chen
e9c4698291
Support RPC
2018-09-03 22:15:23 -05:00
William Vu
b1c633faf6
Add Group Policy Preferences support to db_import
...
And take the Jaden Smith approach, as @busterb quipped to me. :)
This one's a little weird, since you normally import scans into
Metasploit, but now that creds are first-class in the database, it makes
more sense to be able to import them.
Currently, your alternatives are post/windows/gather/credentials/gpp,
which requires a session, and auxiliary/scanner/smb/smb_enum_gpp, which
requires a network scan.
2018-08-21 23:44:39 -05:00
Brent Cook
730010aa06
remove RingBuffer from interactive command shells, fix token handling
2018-04-06 13:49:13 -05:00
Brent Cook
5635e81a87
export module.search command
2017-06-24 15:50:37 -05:00
Brent Cook
f96f61d29e
enhance module info to be on par with pro RPC interface
2017-06-21 08:36:49 -05:00
TheNaterz
40fafaa270
dereference the service from the service manager
2017-06-09 16:24:01 -06:00
TheNaterz
c3b2476a51
add arch to rpc session details
2017-06-08 16:26:13 -06:00
James Barnett
bd21d2811b
Update client to use TLS1.2
2017-04-04 17:57:07 -05:00
wchen-r7
f600fa1caa
Be aware of logout
2017-02-14 17:03:57 -06:00
wchen-r7
81abbfba46
Resolve #7959 , Automatically login to RPC service after expiration
...
When the RPC client token expires, it will automatically login
again, and renew the token during the next RPC request.
Resolves #7959
2017-02-14 16:41:08 -06:00
Brent Cook
f69b4a330e
handle Ruby 2.4 Fixnum/Bignum -> Integer deprecations
2017-01-22 10:20:03 -06:00
James Lee
3c0ce8eafb
Fix some rubocop complaints
2017-01-13 17:24:23 -06:00
William Vu
0800a4f816
Update RPC functionality
2017-01-12 19:35:42 -06:00
Brent Cook
57ab974737
File.exists? must die
2016-04-21 00:47:07 -04:00
wchen-r7
a5f3bddfc8
Support RPC API
2016-02-18 00:39:12 -06:00
Louis Sato
657a5481dc
fix rpc session conditional to allow powershell read/write
2015-10-28 11:49:32 -05:00
Brent Cook
4b271425c9
s/datstore/datastore/g
2015-10-20 13:05:49 -05:00
wchen-r7
910ae8a480
Fix #5461 , actually stop a job from the RPC service
...
Fix #5461 . The RPC service is incorrectly using the wrong method to
stop a job, this patch should fix that.
2015-06-04 23:09:55 -05:00
David Maloney
356f361b40
add sid to the the yard docs
...
you win this round OJ ;)
MSP-12722
2015-05-21 09:30:09 -05:00
David Maloney
48c50a897c
add rpc call to change meterp transport
...
this rpc method allows the user to change transport
on an existing meterp session. if it's successful
it will close the old 'session' tied to the rpevious transport
MSP-12722
2015-05-19 14:43:25 -05:00
Brent Cook
8bd2a69112
simplify and fix rpc_get_note
2015-05-01 16:01:07 -05:00
Brent Cook
52b9fc8fca
handle unknown host when generating a new note
2015-05-01 15:47:05 -05:00
Brent Cook
8d78135321
pass down the workspace for the other opt_to_* methods
2015-05-01 15:42:04 -05:00
Brent Cook
f2504b84be
use the same logic with 'get_note' and 'del_note' for selecting notes
...
factor out the selector from 'get_note' and use it in both places
2015-05-01 15:41:25 -05:00
Brent Cook
29b97f4695
remove superfluous parens on ifs
2015-05-01 15:40:45 -05:00
wchen-r7
81744384c2
Actually fix del_note
2015-04-30 17:02:06 -05:00