ruff: add ERA001 ignores

This commit is contained in:
Marshall Hallenbeck
2023-10-14 18:42:10 -04:00
parent 6fae02aee0
commit 2b34359103
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# Author: xiaolichan
# Author: xiaolichan # noqa: ERA001
# Link: https://github.com/XiaoliChan/wmiexec-RegOut/blob/main/wmiexec-regOut.py
# Note: windows version under NT6 not working with this command execution way
# https://github.com/XiaoliChan/wmiexec-RegOut/blob/main/wmiexec-reg-sch-UnderNT6-wip.py -- WIP
@@ -11,7 +11,7 @@
# cmd.exe /Q /c {command} > C:\windows\temp\{random}.txt (aka command results)
# powershell convert the command results into base64, and save it into C:\windows\temp\{random2}.txt (now the command results was base64 encoded)
# Create registry path: HKLM:\Software\Classes\hello, then add C:\windows\temp\{random2}.txt into HKLM:\Software\Classes\hello\{NewKey}
# Remove anythings which in C:\windows\temp\
# Remove anythings which in C:\windows\temp\ # noqa: ERA001
# Stage 2:
# WQL query the HKLM:\Software\Classes\hello\{NewKey} and get results, after the results(base64 strings) retrieved, removed
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# Author: xiaolichan
# Author: xiaolichan # noqa: ERA001
# Link: https://github.com/XiaoliChan/wmiexec-Pro
# Note: windows version under NT6 not working with this command execution way, it need Win32_ScheduledJob.
# https://github.com/XiaoliChan/wmiexec-Pro/blob/main/lib/modules/exec_command.py