Commit Graph

24 Commits (739a45c8cdc0fe8372213776a180a63c0fee0f84)

Author SHA1 Message Date
Harmj0y 739a45c8cd Added several POST /api/modules/search/* API calls to search modules
with a variety of methods.
2016-03-30 16:43:38 -04:00
Harmj0y 259390dbee fixed API tasking modules to 'all' agents 2016-03-26 21:13:51 -04:00
Harmj0y b3e8ebabe5 Expanded server/agent epoch check from +/- 10 minutes to +/- 12 hours 2016-03-26 00:00:40 -04:00
Harmj0y cd19fd4c66 Agged GET /api/creds to API 2016-03-25 23:49:16 -04:00
Harmj0y 5cb90f48e1 Changed agent tasking structure for API
POST /api/agents/<string:agent_name>/shell now tasks an agent to execute a shell command
POST /api/agents/<string:agent_name>/rename now renames an agent
GET/POST /api/agents/<string:agent_name>/clear now clears an agent task buffer
GET/POST /api/agents/<string:agent_name>/kill now kills an agent
DELETE /api/agents/<string:agent_name>/results now clears agent result buffer
2016-03-25 23:35:03 -04:00
Harmj0y 16fbd88339 For stagers generated through the API, if 'OutFile' is set in the
passed arguments, the 'Output' field in stager data return will
contain the base64 encoded value of the generated stager data.
2016-03-24 22:24:01 -04:00
Harmj0y 72f252f1cd fix for GET /api/config 2016-03-24 20:15:19 -04:00
Harmj0y 40cbdd048f Modification of JSON output format for several API functions. 2016-03-24 18:21:35 -04:00
Harmj0y 2790f1226d Changed specific API results to 404s. 2016-03-24 17:05:08 -04:00
Harmj0y db64c1e987 Added /api/admin/restart to restart RESTful API and/or Empire instance. 2016-03-24 16:50:54 -04:00
Harmj0y b43da089ef Added POST /api/modules/<path:module_name> to task a module with specified options
Fix multi-stager generation bug
More exception handling in empire.py
2016-03-24 16:03:31 -04:00
Harmj0y 31eb9d387a Changed API path from /empire/api/ to /api/
Fixed agent renaming bug
2016-03-23 14:30:54 -04:00
Harmj0y f2ad5da09c Cleaned up agent tasking in API
/empire/api/agents/all/results now returns all agent results
2016-03-22 21:23:47 -04:00
Harmj0y 7c142151a8 'result' -> 'success' 2016-03-22 20:03:18 -04:00
Harmj0y 356f3ea74b Added /empire/api/agents/stale to the API to retrieve stale agents. 2016-03-22 19:46:35 -04:00
Harmj0y 894fe44700 Added /empire/api/admin/login to retrieve the current server token for auth
The api username defaults to 'empireadmin' and the password is randomly generated and stored in empire.db
The username/password can be modified with the ./empire --username X --password Y flags
2016-03-22 19:28:23 -04:00
Harmj0y f85fbf7079 Moved empire-rest to empire
Added new ./empire options: --rest to run just the RESTful API, --headless to run the RESTful API and a full Empire instance
Added /empire/api/admin/shutdown to API to shut the server down
Added proper shutdown functionality
Added hooks for CTRL+C to shut everything down gracefully
2016-03-22 17:06:18 -04:00
Harmj0y 83cab0fae6 fixed headless termination 2016-03-21 20:28:05 -04:00
Harmj0y c15f445892 Revamp of some of the backend to allow for a proper RESTful API
Cleaned up some SQL calls
Moved tasking/results into database fields for agents, instead of being kept in memory on the client
Added --headless option to ./empire
2016-03-21 20:20:03 -04:00
Harmj0y 3b0003f0ce '--debug 2' now prints all debug signal output to the script as well as ./empire.debug 2016-02-17 20:06:33 -05:00
Harmj0y b0d90be6fe Updated changelog and version number. Added '--version' cli option. 2016-02-16 02:27:37 -05:00
Harmj0y 473be51acd Changed '--listeners' option to '--listener' 2016-02-16 02:02:18 -05:00
Harmj0y 734831b5fb Added a start to cli option parsing for displaying listeners/stagers and generating stagers. 2016-02-16 01:52:32 -05:00
Harmj0y 751d0c15d6 Initial BSidesLV '15 release of v1.0.0 2015-08-05 14:36:39 -04:00