Commit Graph

2644 Commits

Author SHA1 Message Date
Daniel Goldberg f118de3d21 Rename test classes to match PEP.
Add test case with multiple classes in file.
Remove setup in test runner.
2019-11-24 10:42:56 +02:00
Daniel Goldberg dae5c789b5 Revert bad PEP fix 2019-11-24 10:40:33 +02:00
Daniel Goldberg af275020cd Add PyInstaller Hook 2019-11-21 19:20:41 +02:00
Daniel Goldberg 43d4c36507 Refactor exploiters into plugins.
Change configuration to support it and remove unneeded complex importing.
Changed main monkey code to support exploiter plugins.
2019-11-21 19:20:41 +02:00
Daniel Goldberg 0f8e8925b3 Basic tests for plugins 2019-11-21 19:20:41 +02:00
Daniel Goldberg 55d7eba2d8 Separate collecting the classes from instancing them. Required for exploiter plugin 2019-11-21 19:20:40 +02:00
VakarisZ 7cefba293a
Merge pull request #495 from VakarisZ/config_as_dict_bugfix
Monkey config to dict. bugfix
2019-11-19 15:11:04 +02:00
VakarisZ 1b7d24bfec Fixes a bug in config, where methods are included into config. 2019-11-19 15:03:51 +02:00
Shay Nehmad 71dad6eaa4
Merge pull request #493 from guardicore/bugfix/492-pymssql-version
https://github.com/pymssql/pymssql/issues/668
2019-11-18 09:45:02 +02:00
Shay Nehmad fe782e67a7 https://github.com/pymssql/pymssql/issues/668 2019-11-18 09:35:39 +02:00
Shay Nehmad dda6029e08 Fixed grammer mistake 2019-11-17 16:40:47 +02:00
Shay Nehmad 70d5016206
Merge pull request #484 from youknowone/fix-ring
Remove Monkey.__ring_key__
2019-11-17 13:27:22 +02:00
Shay Nehmad fc08f7c1e2 Removed email from issue config yml 2019-11-14 19:11:37 +02:00
Shay Nehmad ee4bdf7b35 Added bug emoji + fixed email url 2019-11-14 19:11:05 +02:00
Shay Nehmad caa5571e9c Fixed typo 2019-11-14 19:07:19 +02:00
Shay Nehmad d0153993ee
Merge pull request #490 from guardicore/issue-templates-revamp
Updated the issue templates to look a bit nicer.
2019-11-14 18:56:05 +02:00
Shay Nehmad 7312bbe47c Updated the issue templates to look a bit nicer. 2019-11-14 18:54:48 +02:00
Daniel Goldberg e1b31e00a5
Merge pull request #478 from guardicore/feature/refactor_fingerprinting
Feature/refactor fingerprinting
2019-11-14 11:11:57 +02:00
Daniel Goldberg 4f59a85f0b No need to avoid circular imports 2019-11-13 11:10:26 +02:00
Daniel Goldberg 31a60b12ff Fix typing in factory method 2019-11-12 20:11:16 +02:00
Daniel Goldberg e9538e9a42 Bugfix, also change PBA interface 2019-11-12 19:39:58 +02:00
Daniel Goldberg 7f58bd9693 Remove load_plugin interface. 2019-11-12 19:35:57 +02:00
Daniel Goldberg 69c66072af Turn get_instances into class method.
This leads to package_name and package_file both also being class methods.
Now, each plugin family can load itself.
Reimplemented Fingerprinters and PBAs to use this interface.
No more need for fingerprinter collector
2019-11-12 19:33:51 +02:00
Shay Nehmad aab8315cae
Merge pull request #483 from guardicore/482/js-linting
JS linting in Travis build
2019-11-12 18:16:46 +02:00
Shay Nehmad ad8be355a1 Update travis upper limit for JS from 500 to 30 2019-11-10 15:58:30 +02:00
Shay Nehmad 93a270f5c7 Removed unused imports 2019-11-10 15:57:57 +02:00
Shay Nehmad 0a019daf9a Make favicon work 2019-11-10 15:52:03 +02:00
Shay Nehmad d36ec06e91 Fixing code style issues to lower linter warnings number 2019-11-10 15:51:54 +02:00
Daniel Goldberg 87cedacb7d Really basic test harness for plugins 2019-11-09 21:20:10 +02:00
Daniel Goldberg 4e7269b4df Exception handling whe building objects 2019-11-09 10:21:48 +02:00
Shay Nehmad 3607547aea Fix some formatting issues 2019-11-08 17:42:42 +02:00
Shay Nehmad ad1e85f867 Fixed typo and added some documentation. 2019-11-08 16:30:43 +02:00
Shay Nehmad 77c7aae07c
Merge pull request #481 from guardicore/468/copyright-year
468/copyright year
2019-11-08 16:23:58 +02:00
Jeong YunWon e1f1331ab4 Remove Monkey.__ring_key__
which was required by old version of ring bug
2019-11-08 12:48:44 +09:00
Shay Nehmad 0acec95c86 Updated JS lint upper limit (currently 497) 2019-11-07 17:00:14 +02:00
Shay Nehmad fde8ac53e3 Moved npm i to after python checks 2019-11-07 16:44:00 +02:00
Shay Nehmad 1194bc0d06 Added npm install to make sure eslint will work (it needs babel) 2019-11-07 16:35:42 +02:00
Shay Nehmad f313a34cbb installing eslint 2019-11-07 16:29:10 +02:00
Shay Nehmad c2ba6ce46c Changed structure - everything is the same job 2019-11-07 16:24:36 +02:00
Daniel Goldberg 2ab885b9b1 Create concept of Plugin and have all current plugins (fingerprinters/PBAs) inherit from it.
Move plugin manager to their own package. (prep for tests)
2019-11-07 15:49:18 +02:00
Shay Nehmad 54fd1d7744 Trying to make the travis script work 2019-11-07 15:02:49 +02:00
Shay Nehmad a6aa0eb864 Trying to multi-language travis build 2019-11-07 14:58:52 +02:00
Shay Nehmad e4ab668997 Made "Powered by Guardicore" bigger 2019-11-07 12:58:41 +02:00
Shay Nehmad b87eb3d0d4 Added rainge to make sure our copyright year is always updated. 2019-11-07 12:58:25 +02:00
Shay Nehmad dcbe7b1ee0
Merge pull request #394 from guardicore/393/python-3
Python 3 🎉
2019-11-07 10:37:45 +02:00
Daniel Goldberg 3c194e1eb8 Add TODO doc 2019-11-05 21:21:44 +02:00
Daniel Goldberg 30f7d724b9 Merge branch '393/python-3' into feature/refactor_fingerprinting
# Conflicts:
#	monkey/infection_monkey/monkey.py
#	monkey/infection_monkey/network/ping_scanner.py
#	monkey/infection_monkey/network/tcp_scanner.py
2019-11-05 21:20:10 +02:00
Daniel Goldberg c6216325b6 Removed bad documentation 2019-11-05 21:11:55 +02:00
Daniel Goldberg b0d77e3c21 Rename fingerprinter_manager to collector 2019-11-05 21:11:55 +02:00
Daniel Goldberg 997125eadd Revert longish import 2019-11-05 21:11:52 +02:00