Commit Graph

1754 Commits

Author SHA1 Message Date
VakarisZ 290abdc26d Mssql almost done, improved networking. 2019-05-14 17:24:24 +03:00
VakarisZ 965616c6f7 Connection closed when needed 2019-05-14 13:15:44 +03:00
VakarisZ 30a55d562a Configuration submitted on import 2019-05-14 11:44:30 +03:00
VakarisZ 4a8bd01a62 Minor changes after CR 2019-05-14 10:41:38 +03:00
VakarisZ 0c7f30b834 Monkey gets uploaded 2019-05-14 10:16:18 +03:00
VakarisZ d2b5e314c1 Payload creation 2019-05-13 14:08:30 +03:00
Daniel Goldberg 660def0d8d Merge branch 'develop' of https://github.com/guardicore/monkey into develop 2019-05-12 20:08:49 +03:00
itay 863c3458c8 fixed version update server url 2019-05-12 14:47:38 +03:00
itay 994feaa47e update monkey version to 1.6.3 2019-05-12 11:54:17 +03:00
itay 98a9684f47 Update island's readme for mongodb script instructions 2019-05-12 11:29:55 +03:00
itaymmguardicore dd04e2a389
Merge pull request #310 from guardicore/bugfix/internet-check-http
internet check now uses https instead of icmp
2019-05-12 11:24:02 +03:00
itaymmguardicore ca096d9bad
Merge pull request #309 from guardicore/feature/check-for-updates
Feature/check for updates
2019-05-12 11:23:23 +03:00
itay 7059f6a1a4 Merge branch 'develop' into feature/check-for-updates
# Conflicts:
#	monkey/monkey_island/cc/app.py
#	monkey/monkey_island/requirements.txt
2019-05-12 11:23:01 +03:00
Daniel Goldberg a6ef02ecf9 Don't chmod windows files 2019-05-11 18:33:32 +03:00
Daniel Goldberg e835eb15a8 Typo in log message 2019-05-11 16:31:20 +03:00
Daniel Goldberg aea4c36a03 Fix broken log output in web RCE module 2019-05-11 16:24:15 +03:00
Daniel Goldberg d1148a18f3 Remove warning on binding only to localhost 2019-05-11 16:03:14 +03:00
Daniel Goldberg 1aab83c79e Merge branch 'develop' of https://github.com/guardicore/monkey into develop 2019-05-11 14:56:20 +03:00
Daniel Goldberg a0e389df02
Merge pull request #315 from guardicore/change-aws-error-to-warning
Update aws_instance.py
2019-05-10 17:13:44 +03:00
Daniel Goldberg ab890e7baa
Struts2 ignores certificate errors, updated schema (#318)
Struts2 ignores certificate errors, updated schema
2019-05-10 17:11:45 +03:00
Daniel Goldberg fb07f2b6ea
Merge pull request #319 from VakarisZ/deployment_fix
MongoDB installation script added to deployment
2019-05-10 17:11:19 +03:00
VakarisZ b86ab2a940 MongoDB installation script added 2019-05-09 16:56:01 +03:00
VakarisZ 861750be5b Struts2 ignores certificate errors, updated schema 2019-05-09 12:23:44 +03:00
VakarisZ bff95fa470 Comments fixed 2019-05-08 17:12:02 +03:00
VakarisZ 67f8ef4a0a Post breach refactored to support PBA's from list 2019-05-08 16:31:08 +03:00
Shay Nehmad cfbf14fd67 Update aws_instance.py 2019-05-08 13:50:23 +03:00
Shay Nehmad 477608df0f Merge branch 'feature/210-monkey-mia-timeout' into improvement/232-dont-show-linux-in-cred-map 2019-05-07 18:59:44 +03:00
Shay Nehmad df049ef842 Fixed report page not using the new API
Even though all monkeys have finished, the report page still used the dead=False check instead of is_dead. So even though all monkeys were dead or MIA the report page said that some monkeys are still runnning.
2019-05-07 18:59:07 +03:00
Shay Nehmad 2c15c07039 Merge branch 'feature/210-monkey-mia-timeout' into improvement/232-dont-show-linux-in-cred-map 2019-05-07 17:38:48 +03:00
Shay Nehmad 963305db6e Added usage documentation to the unit tests 2019-05-07 17:36:22 +03:00
Shay Nehmad 5ec82647e4 Increased expiry time to fit production scenarios 2019-05-07 17:32:03 +03:00
Shay Nehmad 26bbf07d75 Deleted unused file (early implementation idea) 2019-05-07 17:31:38 +03:00
Shay Nehmad 29b7bb1adf Added documentation 2019-05-07 17:31:15 +03:00
Shay Nehmad bf3b2df253 Added section markers to monkey model 2019-05-07 17:21:05 +03:00
Daniel Goldberg 75f26f921e
Merge pull request #314 from guardicore/improvment/fix-gitignore
minor fixes, added vim swp files to gitignore
2019-05-07 16:16:01 +03:00
Shay Nehmad 81e49b45ce Small fix
Overshadows local
2019-05-07 15:59:16 +03:00
Shay Nehmad dc8f9294cd Added documentation about mongo connection setup 2019-05-07 15:58:44 +03:00
Shay Nehmad 00a4ffd028 The bug was found, TTL now works!
should have been utcnow(). see  https://stackoverflow.com/questions/55994379/mongodb-ttl-index-doesnt-delete-expired-documents

Feature was tested locally and works!
2019-05-07 15:58:05 +03:00
Shay Nehmad 0e4dbfb078 Replacing existing code with the new model API
Only for is_dead calls
2019-05-07 15:57:11 +03:00
Shay Nehmad 3c6cda03af Added get_single_monkey_by_id API to the monkey model
Useful in many cases in the code.
Also added unittest for this method which passed.
2019-05-07 15:56:27 +03:00
VakarisZ fd551a49b1 Matrix reset bugfix 2019-05-07 14:49:17 +03:00
Shay Nehmad 295525dfed Extracted models to files, created TestingEnv, and added unit testing for Monkey.is_dead
The init of models checks the env and sets up the DB connection.
2019-05-07 13:54:17 +03:00
Shay Nehmad 467e43aa1a Added PyCharm ignore inspection to PyInstaller import and updated gitignore 2019-05-07 12:05:22 +03:00
Shay Nehmad 243a0ba961 chmod +x install_mongo 2019-05-07 12:04:12 +03:00
Shay Nehmad 0602a3bc83 Renamed collection from TTL to MonkeyTTL 2019-05-07 11:51:17 +03:00
VakarisZ 4c0f73cb91 UI code style improved, reset_db fixed 2019-05-07 11:04:35 +03:00
VakarisZ 860b4eb813 Requirements fix 2019-05-06 15:28:46 +03:00
VakarisZ ae074c6914 Merge remote-tracking branch 'upstream/develop' into attack_configuration 2019-05-06 15:25:51 +03:00
Shay Nehmad 1018906602 Added models using mongoengine and started using them in the code, and added TTL field
TTL doesn't get expired for some reason, trying to solve in https://stackoverflow.com/questions/55994379/mongodb-ttl-index-doesnt-delete-expired-documents
2019-05-05 20:50:11 +03:00
Shay Nehmad fd2e0887ff Refactor Environment to enable access to mongo url 2019-05-05 20:48:05 +03:00