Commit Graph

79 Commits

Author SHA1 Message Date
Marshall Hallenbeck d8b29312b7 ruff: add flake8-simplify (SIM) and auto-fix 2023-10-14 15:56:22 -04:00
Marshall Hallenbeck cdcde5a91b ruff: add flake8-return (RET) and auto-run 2023-10-14 14:16:28 -04:00
Marshall Hallenbeck 781afc9c65 ruff: add flake8-raise (RSE) and auto-run 2023-10-13 15:27:34 -04:00
Marshall Hallenbeck ae14929faf ruff: add flake8-quotes (Q) and auto-run 2023-10-13 15:26:57 -04:00
Marshall Hallenbeck 008b99a28b ruff: add flake8-pytest-style (PT) and auto-run 2023-10-13 15:25:36 -04:00
Marshall Hallenbeck 916c7390c6 ruff: add flake8-pie (PIE) and auto-run 2023-10-13 14:27:53 -04:00
Marshall Hallenbeck d9f2db1a30 ruff: manual flake8-implicit-str-concat (ISC) fixes 2023-10-13 14:19:39 -04:00
Marshall Hallenbeck 0f93876b54 ruff: auto-run flake8-implicit-str-concat (ISC) 2023-10-13 11:23:44 -04:00
Marshall Hallenbeck dcc724118f ruff: auto-run flake8-comprehensions (C4) 2023-10-13 11:21:20 -04:00
Marshall Hallenbeck e3d6622dee remove redundant paranthesis 2023-10-13 11:20:17 -04:00
Marshall Hallenbeck 40f557b8e9 ruff: fix flake8-builtins (A) issues 2023-10-12 17:34:01 -04:00
Marshall Hallenbeck bfd32f1910 ruff: manually fix flake8-bugbear issues 2023-10-12 17:23:21 -04:00
Marshall Hallenbeck 4045bebd77 ruff: auto flake8-bugbear, see B006 mutable-argument-default for function param changes 2023-10-12 17:17:20 -04:00
Marshall Hallenbeck 4f5a89262c ruff: remove encoding 2023-10-12 17:07:40 -04:00
Marshall Hallenbeck b24b9210e4 ruff: pyupgrade (UP) ruff changes 2023-10-12 17:06:04 -04:00
Marshall Hallenbeck adc59ffaaa Merge remote-tracking branch 'origin/develop' into marshall_cleanup 2023-10-12 17:00:02 -04:00
Marshall Hallenbeck ba5db57ac9 Merge branch 'develop' into XiaoliChan-nanodump 2023-10-12 16:50:20 -04:00
Marshall Hallenbeck 007d09a390 fix: inform user if msol.ps1 file doesnt exist 2023-10-12 16:04:22 -04:00
Marshall Hallenbeck d638b17c44 fix: inform user if impersonate file doesnt exist 2023-10-12 16:03:37 -04:00
Marshall Hallenbeck 25e4248ccb fix: inform user if handlekatz file doesnt exist 2023-10-12 16:01:54 -04:00
Marshall Hallenbeck b01384d1ec fix error string 2023-10-12 15:58:31 -04:00
Marshall Hallenbeck 8c51b3722a fix: dont throw an exception right after catching it 2023-10-12 15:55:28 -04:00
Marshall Hallenbeck 9052470a5b fix: properly handle connection issue to bolt and let user know 2023-10-12 15:49:57 -04:00
Marshall Hallenbeck 335e6c9755 ruff: manually fixed pydocstyle ruff alerts and add exclusions 2023-10-12 15:41:13 -04:00
Marshall Hallenbeck b002336680 ruff: fix pydocstyle via ruff 2023-10-12 15:13:16 -04:00
Marshall Hallenbeck c9112b1c13 ruff: add quote flake8 rules and re-run ruff 2023-10-12 14:50:36 -04:00
Marshall Hallenbeck f61d068cd2 ruff: remove unnecessary f string 2023-10-12 14:30:26 -04:00
Marshall Hallenbeck bbc661ba38 Merge branch 'develop' into marshall_cleanup
Signed-off-by: Marshall Hallenbeck <Marshall.Hallenbeck@gmail.com>
2023-10-12 11:17:46 -04:00
zblurx b7da5aa597 Update nanodump.py 2023-10-12 15:39:53 +02:00
zblurx b7d6a987c9 Merge branch 'nanodump' 2023-10-12 11:37:53 +02:00
zblurx ac8067bc77 fix nanodump 2023-10-12 11:35:31 +02:00
XiaoliChan ea8cdcceef [nanodump] zblurx: review I
Signed-off-by: XiaoliChan <2209553467@qq.com>
2023-10-12 17:25:32 +08:00
XiaoliChan 784c42b674 [nanodump] fix error with temporary path
Signed-off-by: XiaoliChan <2209553467@qq.com>
2023-10-12 14:48:44 +08:00
Alex 444845c7e2 Merge branch 'develop' into main 2023-10-10 06:58:37 -04:00
Alexander Neff 2ef51d642a Fix indentation and formating 2023-10-08 16:20:30 -04:00
Alexander Neff ae417e5d3a Autoformat 2023-10-08 14:52:37 -04:00
Alexander Neff 669e0b45e7 Replace str(e).find with 'string' in str(e) 2023-10-08 14:50:59 -04:00
Alexander Neff b2c73b05d1 Added fail messages for not existing users and users having no active session, stop printing empty output messages. 2023-10-08 07:56:05 -04:00
Defte 0523208c4e Update schtask_as.py
- Sed "g/atexec/schtask_as/s"
- Better error output (unknown username, task has not run)
- Added the output.decode("cp437") for french caracters

Signed-off-by: Defte <aurelien.chalot@protonmail.com>
2023-10-06 17:05:16 +02:00
bongobongoland e40d4f2a3d Update enum_av.py
Signed-off-by: bongobongoland <129246896+bongobongoland@users.noreply.github.com>
2023-10-06 10:04:59 +11:00
Defte 429a6a4e18 Update schtask_as.py
Fix typo

Signed-off-by: Defte <aurelien.chalot@protonmail.com>
2023-10-05 12:03:26 +02:00
Defte 16cfaec75d Update schtask_as.py
Modify the variable name to schtask_as
Change the description

Signed-off-by: Defte <aurelien.chalot@protonmail.com>
2023-10-05 11:58:58 +02:00
Defte cba97cd068 Rename schtask.py to schtask_as.py
Rename the module to prevent confusion.

Signed-off-by: Defte <aurelien.chalot@protonmail.com>
2023-10-05 11:24:50 +02:00
Defte 116c8f7833 Update schtask.py
Add @Shad0wC0ntr0ller snippet to remove hardcoded date.

Signed-off-by: Defte <aurelien.chalot@protonmail.com>
2023-10-05 11:15:10 +02:00
zblurx 1148018394 Update codec management 2023-10-03 18:40:07 +02:00
Defte bcbfad6a18 Create schtask.py
Add the schtask module that can be used to impersonate loggedon users and run commands on their behalf.

Signed-off-by: Defte <aurelien.chalot@protonmail.com>
2023-10-03 17:52:06 +02:00
Marshall Hallenbeck 14be9d5b0e ruff cleanup 2023-09-24 00:25:08 -04:00
Marshall Hallenbeck 443c363129 Merge branch 'marshall_cleanup' of https://github.com/Pennyw0rth/NetExec into marshall_cleanup 2023-09-24 00:07:00 -04:00
Marshall Hallenbeck c445d381c5 fix string interpolation 2023-09-24 00:06:51 -04:00
Alex 69514ce356 Remove old NotImplementedError 2023-09-23 12:56:04 +02:00