Commit Graph

3041 Commits (49d4441b0fb78ee63ffbf9108f67ac0620371c7a)

Author SHA1 Message Date
Marshall Hallenbeck d10e6492fb
Merge branch 'develop' into neff-module-sort 2023-10-17 11:32:24 -04:00
Marshall Hallenbeck 84d55aa264 ruff: add LOG (no fixes) and RUF and auto-fix 2023-10-16 12:54:57 -04:00
Marshall Hallenbeck b39389f122 ruff: fix E261 - spaces before inline comments 2023-10-16 12:52:45 -04:00
Marshall Hallenbeck a7b95f2fc8 ruff: add refurb (FURB) and auto-fix 2023-10-16 12:48:15 -04:00
Alexander Neff b33f67792d Simplify code and remove unused variables 2023-10-15 20:35:45 +02:00
Alexander Neff 052bfa3c1a Resolve merge conflicts 2023-10-15 20:23:12 +02:00
Marshall Hallenbeck e77ecd31bd ruff: add F841 back in and auto-fix 2023-10-15 13:31:51 -04:00
Alexander Neff e672dce25f Convert for loops into list comprehensions 2023-10-15 19:21:14 +02:00
Alexander Neff 2391d1d5ba Fix poetry.lock file 2023-10-15 18:24:29 +02:00
Alexander Neff dbc1feeadd Replace for loops with list comprehensions 2023-10-15 18:24:09 +02:00
Alex fb886295e1
Merge branch 'develop' into main 2023-10-15 17:30:15 +02:00
Roman Rivas II f6cd7934b3
Merge branch 'Pennyw0rth:main' into main 2023-10-15 08:16:47 -07:00
Roman Rivas II f26b676c8e
Update ftp.py
Signed-off-by: Roman Rivas II <74742067+RomanRII@users.noreply.github.com>
2023-10-15 08:14:15 -07:00
Roman Rivas II 901b8dee80
Update proto_args.py
Signed-off-by: Roman Rivas II <74742067+RomanRII@users.noreply.github.com>
2023-10-15 08:12:21 -07:00
Alex d1aec0611e
Merge pull request #30 from Pennyw0rth/marshall-dependency-update-9-19-2023
Update dependencies (including impacket fork) for v1.1.0
2023-10-15 17:02:55 +02:00
Alexander Neff dfafcb2975 Add module sorting when listing modules by privileges needed for execution 2023-10-15 10:59:22 -04:00
Alex 0f756f7558
Merge branch 'develop' into marshall-dependency-update-9-19-2023 2023-10-15 16:38:40 +02:00
Alexander Neff 0e4c545bc0 Formating 2023-10-15 09:09:26 -04:00
Marshall Hallenbeck e043e0704e refactor: list comprehension, better header skip, and update docstring 2023-10-15 07:28:58 -04:00
Marshall Hallenbeck 44b0619f44 refactor: list comprehension 2023-10-15 07:28:37 -04:00
Marshall Hallenbeck 6841537347 refactor(daclread): add additional debug, update docstrings, refactor to use list comprehension 2023-10-15 07:18:21 -04:00
Marshall Hallenbeck a90898dba6 refactor: use list comprehension 2023-10-15 06:56:43 -04:00
Marshall Hallenbeck 528248dd31 refactor(samrfunc): use list/dict comprehension 2023-10-15 06:56:21 -04:00
Marshall Hallenbeck 94b515bfeb ruff: ignore PERF203 - only for pre-3.11 and may cause issues if refactored 2023-10-15 06:50:06 -04:00
Marshall Hallenbeck fd433b1227 update logging string 2023-10-15 06:49:41 -04:00
Marshall Hallenbeck 8c73dec431 refactor(wmi): fix try except in forloop, add docstring, fix wql variable, and update logging to not cast 2023-10-15 06:41:54 -04:00
Marshall Hallenbeck b3ea011d3b remove string import 2023-10-15 06:30:52 -04:00
Marshall Hallenbeck cd3f3e9347 refactor: reference ascii_lowercase directly 2023-10-15 06:30:29 -04:00
Marshall Hallenbeck 3e056659d8 refactor: use list comprehension for domains retrieved - PERF401 2023-10-14 22:16:59 -04:00
Marshall Hallenbeck 467882a759 refactor: move try except outside forloops - PERF203 2023-10-14 22:15:24 -04:00
Marshall Hallenbeck bc0254d97e refactor: clean up parse_perms logic 2023-10-14 22:13:03 -04:00
Marshall Hallenbeck 5b5ed0c880 refactor: improve character randomization 2023-10-14 21:58:06 -04:00
Marshall Hallenbeck f1af5b8959 ruff: run previously unincluded PIE790 fixes in ruff 0.0.292 2023-10-14 21:53:46 -04:00
Marshall Hallenbeck 0cb67d3016 ruff: add PERF 2023-10-14 21:53:23 -04:00
Marshall Hallenbeck 59767febce refactor: move try outside forloop 2023-10-14 21:53:06 -04:00
Marshall Hallenbeck 201b3285c4 ruff: pin 292 version since older versions dont display all checks 2023-10-14 21:50:48 -04:00
Marshall Hallenbeck 2b34359103 ruff: add ERA001 ignores 2023-10-14 18:42:10 -04:00
Marshall Hallenbeck 6fae02aee0 ruff: add flynt (FLY) and auto-fix 2023-10-14 18:41:08 -04:00
Marshall Hallenbeck 847f8493ee ruff: remove Pylint from ruff 2023-10-14 18:39:05 -04:00
Marshall Hallenbeck 21a8707e9e ruff: add Pylint (PL) and auto-run 2023-10-14 18:36:20 -04:00
Marshall Hallenbeck 82e5d78007 ruff: eradicate commented out code 2023-10-14 18:34:09 -04:00
Marshall Hallenbeck b4475f467b ruff: add eradicate (ERA) 2023-10-14 18:33:57 -04:00
Marshall Hallenbeck 378f66087d ruff: add flake8-tidy-imports (TID) 2023-10-14 18:27:07 -04:00
Marshall Hallenbeck adeddb756e refactor remaining flake8-simplify (SIM) issues 2023-10-14 18:26:24 -04:00
Marshall Hallenbeck cd1b4680ab refactor: simplify logic 2023-10-14 18:13:37 -04:00
Marshall Hallenbeck c1585a5609 refactor: simplify logic again 2023-10-14 18:11:06 -04:00
Marshall Hallenbeck 53af86a557 refactor: use with open for file writing 2023-10-14 18:08:43 -04:00
Marshall Hallenbeck e03e3a105d refactor: use with open for file opening 2023-10-14 17:57:35 -04:00
Marshall Hallenbeck 3a27363c35 refactor: use with for file open 2023-10-14 17:53:01 -04:00
Marshall Hallenbeck c9b325a80c refactor: update if logic 2023-10-14 17:48:05 -04:00