Commit Graph

7072 Commits

Author SHA1 Message Date
Ilija Lazoroski 746d46c326 UT: Remove tcp_scan_get_banner option from config 2021-12-14 16:00:45 +01:00
Ilija Lazoroski 79362dd066 Island: Remove tcp scan get banner checkbox 2021-12-14 16:00:45 +01:00
Ilija Lazoroski c78b89d43d Agent: Remove tcp scan get banner option 2021-12-14 16:00:45 +01:00
Ilija Lazoroski 210e981f7e UT: Remove tcp scan interval option from configs 2021-12-14 16:00:45 +01:00
Ilija Lazoroski c2e76b6462 Island: Remove tcp scan interval option 2021-12-14 16:00:45 +01:00
Ilija Lazoroski b9219e3783 Agent: Remove tcp scan interval option 2021-12-14 16:00:45 +01:00
Ilija Lazoroski ea08e2c420 UT: Remove max victims to exploit from configs 2021-12-14 16:00:45 +01:00
Ilija Lazoroski 9fa489b046 Island: Remove max victims to find options 2021-12-14 16:00:45 +01:00
Ilija Lazoroski b02d277e55 Agent: Remove max victims to exploit option 2021-12-14 16:00:45 +01:00
Ilija Lazoroski f0e06274c6 UT: Remove max victims to find option from configs 2021-12-14 16:00:45 +01:00
Ilija Lazoroski ba34f775ae Island: Remove max victims to find option 2021-12-14 16:00:45 +01:00
Ilija Lazoroski 4eca5b5a97 Agent: Remove max victims to find option 2021-12-14 16:00:45 +01:00
Ilija Lazoroski 4bbac53418 Swimm: Remove add to configuration unit 2021-12-14 16:00:45 +01:00
Mike Salvatore 6cd481637d
Merge pull request #1655 from guardicore/1648-remove-mysql-fingerprinter
1648 remove mysql fingerprinter
2021-12-14 09:58:41 -05:00
Mike Salvatore beb74ef060
Docs: Add missing "and" to ElasticFinger entry
Co-authored-by: Shreya Malviya <shreya.malviya@gmail.com>
2021-12-14 09:58:24 -05:00
Ilija Lazoroski e73b4af026 Changelog: Add entry for removing MySQL fingerprinter 2021-12-14 14:54:45 +01:00
Ilija Lazoroski c129e2f4b0 Project: Remove mysqlfinger references in Vulture 2021-12-14 14:54:20 +01:00
Ilija Lazoroski deeb38e551 Docs: Remove MySQL fingerprinter 2021-12-14 14:51:09 +01:00
Ilija Lazoroski 0a44b1f12e UT: Remove MySQL fingerprinter from monkey test config 2021-12-14 14:50:32 +01:00
Ilija Lazoroski 2c4420ccff Island: Remove MySQL fingerprinter from config schema 2021-12-14 14:49:45 +01:00
Ilija Lazoroski cb2ca5be46 Agent: Remove MySQL fingerprinter 2021-12-14 14:48:44 +01:00
Mike Salvatore 7b2756bab0 UT: Mark some slow tests as "slow" 2021-12-14 07:26:27 -05:00
Mike Salvatore 0b6199e7eb UT: Fix misspelled stopable -> stoppable 2021-12-14 07:16:20 -05:00
Mike Salvatore b28f330e8f Agent: Remove duplicate functionality that checked for open port 2021-12-14 07:15:50 -05:00
Mike Salvatore 44479ef49e
Merge pull request #1653 from guardicore/1597-implement-fingerprinting
1597 implement fingerprinting
2021-12-14 07:14:29 -05:00
Mike Salvatore 7e3945dd02 Agent: Add TODO to Propagator 2021-12-13 14:21:04 -05:00
Mike Salvatore 2dc6e0600d Agent: Pass ping_scan_data and port_scan_data to IPuppet.fingerprint()
Fingerprinters can reuse the port scan data to avoid unnecessarily
rescanning the hosts' ports.
2021-12-13 14:13:10 -05:00
Mike Salvatore e524718960 Island: Reformat "finger_classes" config options before sending to Agent 2021-12-13 13:58:30 -05:00
Mike Salvatore d51af8a583 Agent: Add IPScanResults dataclass 2021-12-13 13:28:40 -05:00
Mike Salvatore 8067dc9ff8 Agent: Process fingerprinter results in Propagator 2021-12-13 13:06:44 -05:00
Mike Salvatore 438563af9c Agent: Add fingerprinting to IPScanner 2021-12-13 12:52:00 -05:00
Mike Salvatore 0ff45e3af1 Agent: Change return type of IPuppet.fingerprint() 2021-12-13 12:01:40 -05:00
Mike Salvatore af338be418 UT: Rename test_network_scanner.py -> test_ip_scanner.py 2021-12-13 11:02:10 -05:00
Mike Salvatore 96f59cc628 Agent: Remove unused "os-version" from fingerprinters 2021-12-13 10:20:33 -05:00
Mike Salvatore 27884ad44d Agent: Implement "enable_local_network_scan" IP address generation 2021-12-13 16:34:13 +02:00
Mike Salvatore 244bde320d Agent: Remove local IPs from scan targets 2021-12-13 16:34:13 +02:00
VakarisZ 4bc07442ac Agent: fix network_range.py to generate a correct range object for ip strings with /32 cidr notation
This will fix the case where user inputs 10.0.0.10/32 expecting 10.0.0.10 getting scanned, but getting an error instead
2021-12-13 16:34:13 +02:00
Mike Salvatore 913ba02e0b Agent: Remove blocklisted IPs from scan targets 2021-12-13 16:34:13 +02:00
Mike Salvatore 8d383d2832 Agent: Remove duplicate IPs in compile_scan_target_list() 2021-12-13 16:34:13 +02:00
VakarisZ a0d679285c Agent: strip whitespace from IP's when generating a list of ip's
This fixes a bug where get_range_object("10.0.0.0 - 10.0.0.6") doesn't work because of the whitespaces
2021-12-13 16:34:13 +02:00
Mike Salvatore 23a0f74b2b Agent: Add initial compile_scan_target_list()
For the moment, this only handles the ranges_to_scan parameter. Other
parameters need to be handled.
2021-12-13 16:34:13 +02:00
Mike Salvatore f2e95daa56
Merge pull request #1652 from guardicore/1597-implement-propagation-scanning
1597 implement propagation scanning
2021-12-13 09:33:16 -05:00
vakarisz 0058aa4f37 UT: Improve readability of test_network_scanner.py 2021-12-13 09:32:05 -05:00
Mike Salvatore 1a7135e13f Agent: Improve Callback type hint in IPScanner 2021-12-13 09:32:05 -05:00
Mike Salvatore 0c180a455c Agent: Improve "options" handling in IPScanner 2021-12-13 09:32:05 -05:00
Mike Salvatore 5a1e19391d Agent: Make tcp/ping timeouts consistent
* Ping takes a `timeout: float` instead of `options: Dict` the same way
  that `scan_tcp_port()` does.
* Timeouts are floats instead of ints
2021-12-13 09:32:05 -05:00
Mike Salvatore 11e3c5d6e4 UT: Remove superfluous Asserts in test_network_scanner.py 2021-12-13 09:32:05 -05:00
Mike Salvatore 88608c1cf1 Agent: Fix some type hints in automated master 2021-12-13 09:32:05 -05:00
Mike Salvatore 6147d635d6 Agent: Extract propagation logic into Propagator class 2021-12-13 09:32:05 -05:00
Mike Salvatore abec851ed0 Agent: Make minor code cleanliness changes 2021-12-13 09:32:05 -05:00