Matthew Kienow
5c38207a8e
WIP externalize host data search
2018-01-31 16:34:42 -05:00
James Barnett
3ff613db8f
"fix" adding loot from the command line
2018-01-31 10:31:09 -06:00
James Barnett
e1b61b8180
Merge branch 'goliath' into MS-2833
2018-01-31 10:06:36 -06:00
Matthew Kienow
3a01a16dcb
Fix issue with workspace in query data
2018-01-25 17:29:58 -05:00
Matthew Kienow
4989e94e68
Add HTTP PUT request method
2018-01-25 10:40:57 -05:00
James Barnett
5505996518
Add loot delete
2018-01-24 16:42:16 -06:00
Matthew Kienow
2ffd627c56
Merge branch 'goliath' into add_https
2018-01-23 18:59:59 -05:00
christopher lee
dd65141a22
Merge branch 'goliath' into MS-2891
2018-01-23 10:45:44 -06:00
James Barnett
d10cd2d92a
Add verification methods to HTTPS
...
This commit enables peer verification for SSL.
It also gives the user options to verify the server if the server uses a self-signed cert.
There is an override to skip verification as well.
2018-01-22 18:08:16 -06:00
Christopher Lee
6ffae7f6ad
Merge pull request #9 from clee-r7/correct-api-url
...
Update API URLs
2018-01-22 15:17:09 -06:00
christopher lee
2521c941d4
Ported singleton calls
2018-01-22 14:57:28 -06:00
Matthew Kienow
2211459b9d
Correct workspace_associations_counts API path
2018-01-20 14:54:14 -05:00
Matthew Kienow
b7e5b0f161
Update API URLs per design discussion
2018-01-20 14:50:59 -05:00
Matthew Kienow
cb4999c1ac
Add URI query data option to request methods
2018-01-19 16:51:49 -05:00
christopher lee
d5978803eb
Fix all failing rspec for goliath
2018-01-19 15:16:19 -06:00
James Barnett
b8296a809c
Merge branch 'goliath' into add_https
2018-01-19 13:33:24 -06:00
James Barnett
0654979be6
Remove separate code path for openstruct for creds.
...
Also fix RemoteCredentialDataService to work with json_to_mdm
2018-01-18 13:27:33 -06:00
James Barnett
bab9b66521
Only send back one object for host create
2018-01-12 10:52:16 -06:00
James Barnett
b2666ad3f2
Update host delete method to return full objects of deleted hosts
2018-01-11 16:12:25 -06:00
Matthew Kienow
e964e8bcbb
Fix incorrect HTTP request method calls
2018-01-10 23:59:53 -05:00
Matthew Kienow
f895169c7f
Fix incorrect HTTP request method calls
2018-01-10 23:53:24 -05:00
James Barnett
3c73892a70
Use json_to_mdm for Credentials.
2018-01-10 16:58:44 -06:00
James Barnett
4a377af5e6
Deserialize JSON to Mdm Object
2018-01-09 15:18:49 -06:00
James Barnett
173705ad35
Add error handling when no data returned from server
2018-01-05 11:44:25 -06:00
James Barnett
5058c2d36f
Merge branch 'goliath' into add_https
2018-01-03 10:51:22 -06:00
Matthew Kienow
40d15bf3e6
Hash#each style correction
2018-01-02 12:25:14 -05:00
James Barnett
f015b926da
Merge branch 'goliath' into add_https
2018-01-02 10:38:48 -06:00
Matthew Kienow
5e4836b1e9
Implement hosts remote data store delete
...
Also, resolve an issue when adding a host where the client-side
raises an exception.
2017-12-26 23:09:23 -05:00
James Barnett
973f3bacd8
Remove require statements for remote_service_endpoint
2017-12-13 11:31:29 -06:00
James Barnett
74c00cf8ba
WIP: Enable HTTPS client.
...
Removed RemoteServiceEndpoint and using URI instead.
2017-12-12 16:42:20 -06:00
Matthew Kienow
c7e7b5861d
Fix error in exception message
2017-12-11 17:52:24 -05:00
James Barnett
8835dae6f0
Switch to net/http header handling
2017-12-05 15:06:15 -06:00
James Barnett
35b217b748
Merge branch 'goliath' into http_client_change
2017-12-05 11:13:53 -06:00
James Barnett
770f092e5d
Use more accurate variable name
2017-11-22 12:34:24 -06:00
James Barnett
e0837fb01d
Create local copies of loot
2017-11-21 16:28:19 -06:00
James Barnett
82a30ed618
Fix bug in db_nmap with RDS
...
The cmd_db_nmap method was cleaning up the nmap XML file
before it could be read. Making the call synchronous will prevent
it from hitting the ensure block before the processing is done
when running msfdb locally.
2017-11-20 15:40:27 -06:00
James Barnett
9647f8d951
DRY up HTTP request code.
2017-11-14 15:31:31 -06:00
James Barnett
029d3b718d
Connect and get working with net/http.
...
POST looks to be working too.
2017-11-09 17:10:26 -06:00
James Barnett
04f5f41265
Merge branch 'port_dbnmap' into loot_and_creds
2017-10-31 17:03:40 -05:00
James Barnett
cfdda37f62
Send nmap file across the wire.
2017-10-31 10:12:45 -05:00
James Barnett
9d00093d81
Initial commit for nmap proxying
2017-10-25 16:04:31 -05:00
James Barnett
a4914074fb
Merge branch 'goliath' into loot_and_creds
2017-10-24 12:01:32 -05:00
James Barnett
d63b087610
Fix bug with creating session_events
2017-10-24 11:51:27 -05:00
James Barnett
ffcec527a7
Successfully storing creds remotely
2017-10-23 11:30:50 -05:00
christopher lee
2c8f27cd98
More general cleanup including is_local db check
2017-10-16 17:07:26 -05:00
James Barnett
5232e9926e
creds command converted
2017-10-16 15:27:53 -05:00
James Barnett
4c164fafb0
WIP: proxy credentials
2017-10-10 13:52:30 -05:00
James Barnett
0dbfc9d447
WIP: Drop session objects before JSON conversion
...
The session object is not intended to be store in the DB.
There are a ton of subobjects and unneeded data that causes the JSON conversion
to hang or fail with 'stack level too deep' errors.
2017-10-06 11:43:01 -05:00
James Barnett
08b62db061
Pass loot contents over the API and write file
2017-10-03 12:31:57 -05:00
James Barnett
49f5256f88
Make session_events retrievable from the API
2017-09-29 16:04:17 -05:00