DefinetlyNotAI/Logicytics

View on GitHub
Merge branch 'main' into v2.4.0 #221
Shahm Najeeb authored 9f437e73
complete00:00:19
1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
WARNING: unknown engine or channel <codescan:stable>
WARNING: unknown engine or channel <cody:stable>
WARNING: unknown engine or channel <isort:stable>
WARNING: unknown engine or channel <proselint:stable>
WARNING: unknown engine or channel <protobuf:stable>
WARNING: unknown engine or channel <rustfmt:stable>
WARNING: unknown engine or channel <tfsec:stable>
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
docker pull codeclimate/codeclimate-git-legal:b626
b626: Pulling from codeclimate/codeclimate-git-legal
90f4dba627d6: Already exists
98c1a7514ba6: Pulling fs layer
e970acb20b34: Pulling fs layer
37b763b54c24: Pulling fs layer
fda57ec1751e: Pulling fs layer
4c6564efa402: Pulling fs layer
d9d2999a61cb: Pulling fs layer
580a7c85932d: Pulling fs layer
14042ef0ceb7: Pulling fs layer
a176c29021cd: Pulling fs layer
fb61bdd6c9e5: Pulling fs layer
5902f4e6bfdf: Pulling fs layer
01d61cd90194: Pulling fs layer
bfd3418a31a7: Pulling fs layer
580a7c85932d: Waiting
a176c29021cd: Waiting
14042ef0ceb7: Waiting
fda57ec1751e: Waiting
fb61bdd6c9e5: Waiting
4c6564efa402: Waiting
5902f4e6bfdf: Waiting
bfd3418a31a7: Waiting
01d61cd90194: Waiting
d9d2999a61cb: Waiting
98c1a7514ba6: Verifying Checksum
98c1a7514ba6: Download complete
37b763b54c24: Verifying Checksum
37b763b54c24: Download complete
98c1a7514ba6: Pull complete
fda57ec1751e: Verifying Checksum
fda57ec1751e: Download complete
4c6564efa402: Verifying Checksum
4c6564efa402: Download complete
e970acb20b34: Verifying Checksum
e970acb20b34: Download complete
d9d2999a61cb: Verifying Checksum
d9d2999a61cb: Download complete
580a7c85932d: Verifying Checksum
580a7c85932d: Download complete
14042ef0ceb7: Verifying Checksum
14042ef0ceb7: Download complete
fb61bdd6c9e5: Download complete
01d61cd90194: Download complete
bfd3418a31a7: Verifying Checksum
bfd3418a31a7: Download complete
a176c29021cd: Verifying Checksum
a176c29021cd: Download complete
e970acb20b34: Pull complete
5902f4e6bfdf: Verifying Checksum
5902f4e6bfdf: Download complete
37b763b54c24: Pull complete
fda57ec1751e: Pull complete
4c6564efa402: Pull complete
d9d2999a61cb: Pull complete
580a7c85932d: Pull complete
14042ef0ceb7: Pull complete
a176c29021cd: Pull complete
fb61bdd6c9e5: Pull complete
5902f4e6bfdf: Pull complete
01d61cd90194: Pull complete
bfd3418a31a7: Pull complete
Digest: sha256:61138dd4b61200e7b5250841c2bccf3128018ff186d011cb1ee6041f41403c4d
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-git-legal:b626
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-11-12T10:46:53.738375 #1]  INFO -- : Skipping file CODE/wmic.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 31
    log.info(f"Executing Command Number {i + 1}: {wmic_commands[i]}")
                                                                   ^
SyntaxError: invalid syntax


I, [2024-11-12T10:46:53.738934 #1]  INFO -- : Skipping file CODE/_extra.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 23
    print(f"{i + 1}. {file}")
                           ^
SyntaxError: invalid syntax


I, [2024-11-12T10:46:53.749549 #1]  INFO -- : Skipping file CODE/sensitive_data_miner.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 19
    def __search_files_by_keyword(root: Path, keyword: str) -> list:
                                      ^
SyntaxError: invalid syntax


I, [2024-11-12T10:46:53.750106 #1]  INFO -- : Skipping file CODE/_dev.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 7
    def __update_json_file(filename: str, new_data: list | str, key: str) -> None:
                                   ^
SyntaxError: invalid syntax


I, [2024-11-12T10:46:53.760569 #1]  INFO -- : Skipping file CODE/registry.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 20
    log.info(f"Registry backed up successfully to {export_path}")
                                                               ^
SyntaxError: invalid syntax


I, [2024-11-12T10:46:53.772694 #1]  INFO -- : Skipping file CODE/ssh_miner.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 41
    log.error(f"Failed to back up SSH keys and configuration: {e}")
                                                                 ^
SyntaxError: invalid syntax


I, [2024-11-12T10:46:53.776021 #1]  INFO -- : Skipping file CODE/sys_internal.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 32
    command = f"{os.path.join('SysInternal_Suite', executable)}"
                                                               ^
SyntaxError: invalid syntax


I, [2024-11-12T10:46:53.783669 #1]  INFO -- : Skipping file CODE/media_backup.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 12
    def __get_default_paths() -> list:
                              ^
SyntaxError: invalid syntax


I, [2024-11-12T10:46:53.787063 #1]  INFO -- : Skipping file CODE/log_miner.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 22
    cmd = f'Get-EventLog -LogName "{log_type}" | Export-Csv -Path "{backup_file}" -NoTypeInformation'
                                                                                                    ^
SyntaxError: invalid syntax


I, [2024-11-12T10:46:53.794656 #1]  INFO -- : Skipping file CODE/tasklist.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 27
    log.error(f"Subprocess Error: {e}")
                                     ^
SyntaxError: invalid syntax


I, [2024-11-12T10:46:53.798137 #1]  INFO -- : Skipping file CODE/_health.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 6
    def backup(directory: str, name: str) -> None:
                        ^
SyntaxError: invalid syntax


I, [2024-11-12T10:46:53.805565 #1]  INFO -- : Skipping file CODE/wifi_stealer.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 9
    def get_password(ssid: str) -> str | None:
                         ^
SyntaxError: invalid syntax


I, [2024-11-12T10:46:53.809120 #1]  INFO -- : Skipping file CODE/_hide_my_tracks.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 21
    subprocess.run(f'del "{os.path.join(log_path, file)}"', shell=False)
                                                         ^
SyntaxError: invalid syntax


I, [2024-11-12T10:46:53.816645 #1]  INFO -- : Skipping file CODE/Logicytics.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 48
    def special_run(file_path: str):
                             ^
SyntaxError: invalid syntax


I, [2024-11-12T10:46:53.820164 #1]  INFO -- : Skipping file CODE/__lib_class.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 16
    def colorify(cls, text: str, color: str) -> str:
                          ^
SyntaxError: invalid syntax


I, [2024-11-12T10:46:53.827504 #1]  INFO -- : Skipping file CODE/dir_list.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 9
    def run_command_threaded(directory: str, file: str, message: str, encoding: str = "UTF-8") -> None:
                                      ^
SyntaxError: invalid syntax


I, [2024-11-12T10:46:53.831010 #1]  INFO -- : Skipping file CODE/_zipper.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 37
    def __get_files_to_zip(path: str) -> list:
                               ^
SyntaxError: invalid syntax


I, [2024-11-12T10:46:53.838388 #1]  INFO -- : Skipping file CODE/_debug.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 16
    ) -> bool | tuple[tuple[str, str, str], tuple[str, str, str]]:
      ^
SyntaxError: invalid syntax


I, [2024-11-12T10:46:53.841860 #1]  INFO -- : Skipping file CODE/cmd_commands.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 7
    def command(file: str, commands: str, message: str, encoding: str = "UTF-8") -> None:
                    ^
SyntaxError: invalid syntax
7
fixme
fixme engine documentation
8
git-legal
git-legal engine documentation