From 5056971c172ceb771e3a2ab36409e32502364f3d Mon Sep 17 00:00:00 2001 From: Pratik Mohapatra Date: Mon, 11 Mar 2024 23:32:36 +0530 Subject: [PATCH 1/2] updating copyright, back to the date of origin of file --- LICENSE.txt | 2 +- capa/engine.py | 2 +- capa/exceptions.py | 2 +- capa/features/address.py | 2 +- capa/features/basicblock.py | 2 +- capa/features/com/__init__.py | 2 +- capa/features/com/classes.py | 2 +- capa/features/com/interfaces.py | 2 +- capa/features/common.py | 2 +- capa/features/extractors/base_extractor.py | 2 +- capa/features/extractors/common.py | 2 +- capa/features/extractors/dnfile/extractor.py | 2 +- capa/features/extractors/dnfile/file.py | 2 +- capa/features/extractors/dnfile/function.py | 2 +- capa/features/extractors/dnfile/helpers.py | 2 +- capa/features/extractors/dnfile/insn.py | 2 +- capa/features/extractors/dnfile/types.py | 2 +- capa/features/extractors/dotnetfile.py | 2 +- capa/features/extractors/elf.py | 2 +- capa/features/extractors/elffile.py | 2 +- capa/features/extractors/helpers.py | 2 +- capa/features/extractors/ida/basicblock.py | 2 +- capa/features/extractors/ida/extractor.py | 2 +- capa/features/extractors/ida/file.py | 2 +- capa/features/extractors/ida/function.py | 2 +- capa/features/extractors/ida/global_.py | 2 +- capa/features/extractors/ida/helpers.py | 2 +- capa/features/extractors/ida/insn.py | 2 +- capa/features/extractors/loops.py | 2 +- capa/features/extractors/null.py | 2 +- capa/features/extractors/pefile.py | 2 +- capa/features/extractors/strings.py | 2 +- capa/features/extractors/viv/basicblock.py | 2 +- capa/features/extractors/viv/extractor.py | 2 +- capa/features/extractors/viv/file.py | 2 +- capa/features/extractors/viv/function.py | 2 +- capa/features/extractors/viv/global_.py | 2 +- capa/features/extractors/viv/helpers.py | 2 +- capa/features/extractors/viv/indirect_calls.py | 2 +- capa/features/extractors/viv/insn.py | 2 +- capa/features/file.py | 2 +- capa/features/freeze/__init__.py | 2 +- capa/features/freeze/features.py | 2 +- capa/features/insn.py | 2 +- capa/ghidra/capa_explorer.py | 2 +- capa/helpers.py | 2 +- capa/ida/helpers.py | 2 +- capa/ida/plugin/__init__.py | 2 +- capa/ida/plugin/capa_explorer.py | 2 +- capa/ida/plugin/form.py | 2 +- capa/ida/plugin/hooks.py | 2 +- capa/ida/plugin/icon.py | 2 +- capa/ida/plugin/item.py | 2 +- capa/ida/plugin/model.py | 2 +- capa/ida/plugin/proxy.py | 2 +- capa/ida/plugin/view.py | 2 +- capa/loader.py | 2 +- capa/main.py | 2 +- capa/optimizer.py | 2 +- capa/perf.py | 2 +- capa/render/default.py | 2 +- capa/render/json.py | 2 +- capa/render/result_document.py | 2 +- capa/render/utils.py | 2 +- capa/render/verbose.py | 2 +- capa/render/vverbose.py | 2 +- capa/version.py | 2 +- scripts/bulk-process.py | 4 ++-- scripts/capa2yara.py | 2 +- scripts/capa_as_library.py | 2 +- scripts/capafmt.py | 2 +- scripts/detect-elf-os.py | 2 +- scripts/import-to-bn.py | 2 +- scripts/import-to-ida.py | 2 +- scripts/lint.py | 2 +- scripts/match-function-id.py | 2 +- scripts/profile-memory.py | 2 +- scripts/profile-time.py | 2 +- scripts/setup-linter-dependencies.py | 2 +- scripts/show-capabilities-by-function.py | 4 ++-- scripts/show-features.py | 2 +- tests/fixtures.py | 2 +- tests/test_dnfile_features.py | 2 +- tests/test_dotnetfile_features.py | 2 +- tests/test_engine.py | 2 +- tests/test_fmt.py | 2 +- tests/test_function_id.py | 2 +- tests/test_helpers.py | 2 +- tests/test_ida_features.py | 2 +- tests/test_main.py | 2 +- tests/test_match.py | 2 +- tests/test_optimizer.py | 2 +- tests/test_os_detection.py | 2 +- tests/test_pefile_features.py | 2 +- tests/test_render.py | 2 +- tests/test_result_document.py | 2 +- tests/test_rules.py | 2 +- tests/test_rules_insn_scope.py | 2 +- tests/test_scripts.py | 2 +- tests/test_viv_features.py | 2 +- 100 files changed, 102 insertions(+), 102 deletions(-) diff --git a/LICENSE.txt b/LICENSE.txt index 861a3e4fd..6a1de7cf8 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -187,7 +187,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright (C) 2023 Mandiant, Inc. + Copyright (C) 2020 Mandiant, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/capa/engine.py b/capa/engine.py index 7e6d66f29..ee103866c 100644 --- a/capa/engine.py +++ b/capa/engine.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/exceptions.py b/capa/exceptions.py index 58af3bef3..0c900d72c 100644 --- a/capa/exceptions.py +++ b/capa/exceptions.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2022 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/features/address.py b/capa/features/address.py index 0edf4cec2..e589c0a1c 100644 --- a/capa/features/address.py +++ b/capa/features/address.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2022 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/features/basicblock.py b/capa/features/basicblock.py index 5d768ea21..09f1b26d8 100644 --- a/capa/features/basicblock.py +++ b/capa/features/basicblock.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/features/com/__init__.py b/capa/features/com/__init__.py index a799f5105..4b4edd041 100644 --- a/capa/features/com/__init__.py +++ b/capa/features/com/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2024 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/features/com/classes.py b/capa/features/com/classes.py index 4a2c20e78..f517821f8 100644 --- a/capa/features/com/classes.py +++ b/capa/features/com/classes.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2024 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/features/com/interfaces.py b/capa/features/com/interfaces.py index 94ee94d32..b2b9a9044 100644 --- a/capa/features/com/interfaces.py +++ b/capa/features/com/interfaces.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2024 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/features/common.py b/capa/features/common.py index b6527625f..5cbe684db 100644 --- a/capa/features/common.py +++ b/capa/features/common.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2021 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/features/extractors/base_extractor.py b/capa/features/extractors/base_extractor.py index 6252d7470..34f671268 100644 --- a/capa/features/extractors/base_extractor.py +++ b/capa/features/extractors/base_extractor.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2021 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/features/extractors/common.py b/capa/features/extractors/common.py index bf5a3e7b4..ab25c00da 100644 --- a/capa/features/extractors/common.py +++ b/capa/features/extractors/common.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2021 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/features/extractors/dnfile/extractor.py b/capa/features/extractors/dnfile/extractor.py index f1430fbde..fae20db36 100644 --- a/capa/features/extractors/dnfile/extractor.py +++ b/capa/features/extractors/dnfile/extractor.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2022 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/features/extractors/dnfile/file.py b/capa/features/extractors/dnfile/file.py index 8ab2cc38f..47f63ca05 100644 --- a/capa/features/extractors/dnfile/file.py +++ b/capa/features/extractors/dnfile/file.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2022 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/features/extractors/dnfile/function.py b/capa/features/extractors/dnfile/function.py index 32069ed3f..ed1bdf8a0 100644 --- a/capa/features/extractors/dnfile/function.py +++ b/capa/features/extractors/dnfile/function.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2022 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/features/extractors/dnfile/helpers.py b/capa/features/extractors/dnfile/helpers.py index e4bdfa011..811568497 100644 --- a/capa/features/extractors/dnfile/helpers.py +++ b/capa/features/extractors/dnfile/helpers.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2022 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/features/extractors/dnfile/insn.py b/capa/features/extractors/dnfile/insn.py index bdaf7a3ac..e6e9f9406 100644 --- a/capa/features/extractors/dnfile/insn.py +++ b/capa/features/extractors/dnfile/insn.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2022 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/features/extractors/dnfile/types.py b/capa/features/extractors/dnfile/types.py index 4afcc81e1..12aac5d61 100644 --- a/capa/features/extractors/dnfile/types.py +++ b/capa/features/extractors/dnfile/types.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2022 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/features/extractors/dotnetfile.py b/capa/features/extractors/dotnetfile.py index 4c9b41507..ca94b26b5 100644 --- a/capa/features/extractors/dotnetfile.py +++ b/capa/features/extractors/dotnetfile.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2022 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/features/extractors/elf.py b/capa/features/extractors/elf.py index 1e50ca2f7..6c99b171a 100644 --- a/capa/features/extractors/elf.py +++ b/capa/features/extractors/elf.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2021 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/features/extractors/elffile.py b/capa/features/extractors/elffile.py index 5881c0358..9dac99838 100644 --- a/capa/features/extractors/elffile.py +++ b/capa/features/extractors/elffile.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2021 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/features/extractors/helpers.py b/capa/features/extractors/helpers.py index c4d4acb6f..541a6eae5 100644 --- a/capa/features/extractors/helpers.py +++ b/capa/features/extractors/helpers.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/features/extractors/ida/basicblock.py b/capa/features/extractors/ida/basicblock.py index 817901321..88a1247ea 100644 --- a/capa/features/extractors/ida/basicblock.py +++ b/capa/features/extractors/ida/basicblock.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/features/extractors/ida/extractor.py b/capa/features/extractors/ida/extractor.py index e73db2ad7..806ef8e78 100644 --- a/capa/features/extractors/ida/extractor.py +++ b/capa/features/extractors/ida/extractor.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2021 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/features/extractors/ida/file.py b/capa/features/extractors/ida/file.py index 24f9528fd..8e53d2a84 100644 --- a/capa/features/extractors/ida/file.py +++ b/capa/features/extractors/ida/file.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/features/extractors/ida/function.py b/capa/features/extractors/ida/function.py index 54a72a6bb..cb4d63290 100644 --- a/capa/features/extractors/ida/function.py +++ b/capa/features/extractors/ida/function.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/features/extractors/ida/global_.py b/capa/features/extractors/ida/global_.py index 17f37bc4c..047bfd0ad 100644 --- a/capa/features/extractors/ida/global_.py +++ b/capa/features/extractors/ida/global_.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2021 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/features/extractors/ida/helpers.py b/capa/features/extractors/ida/helpers.py index ad57371c8..e2553e828 100644 --- a/capa/features/extractors/ida/helpers.py +++ b/capa/features/extractors/ida/helpers.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/features/extractors/ida/insn.py b/capa/features/extractors/ida/insn.py index cb6c89ac9..e031b7a59 100644 --- a/capa/features/extractors/ida/insn.py +++ b/capa/features/extractors/ida/insn.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/features/extractors/loops.py b/capa/features/extractors/loops.py index 26202011c..96ddb2d93 100644 --- a/capa/features/extractors/loops.py +++ b/capa/features/extractors/loops.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/features/extractors/null.py b/capa/features/extractors/null.py index 37bd914c9..a0dd9104d 100644 --- a/capa/features/extractors/null.py +++ b/capa/features/extractors/null.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2022 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/features/extractors/pefile.py b/capa/features/extractors/pefile.py index abd917c07..1ae56378c 100644 --- a/capa/features/extractors/pefile.py +++ b/capa/features/extractors/pefile.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2021 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/features/extractors/strings.py b/capa/features/extractors/strings.py index 5f563b1c3..3596e49d8 100644 --- a/capa/features/extractors/strings.py +++ b/capa/features/extractors/strings.py @@ -1,6 +1,6 @@ # strings code from FLOSS, https://github.com/mandiant/flare-floss # -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/features/extractors/viv/basicblock.py b/capa/features/extractors/viv/basicblock.py index 0a276ee1d..2e450fb69 100644 --- a/capa/features/extractors/viv/basicblock.py +++ b/capa/features/extractors/viv/basicblock.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/features/extractors/viv/extractor.py b/capa/features/extractors/viv/extractor.py index 86b905c02..001e9e35a 100644 --- a/capa/features/extractors/viv/extractor.py +++ b/capa/features/extractors/viv/extractor.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2021 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/features/extractors/viv/file.py b/capa/features/extractors/viv/file.py index 52d56accd..2fc09841b 100644 --- a/capa/features/extractors/viv/file.py +++ b/capa/features/extractors/viv/file.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/features/extractors/viv/function.py b/capa/features/extractors/viv/function.py index b018b34bb..ab1dcb429 100644 --- a/capa/features/extractors/viv/function.py +++ b/capa/features/extractors/viv/function.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/features/extractors/viv/global_.py b/capa/features/extractors/viv/global_.py index 1b2042373..39ee79bb2 100644 --- a/capa/features/extractors/viv/global_.py +++ b/capa/features/extractors/viv/global_.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2021 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/features/extractors/viv/helpers.py b/capa/features/extractors/viv/helpers.py index 662704afa..a7554ac1b 100644 --- a/capa/features/extractors/viv/helpers.py +++ b/capa/features/extractors/viv/helpers.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/features/extractors/viv/indirect_calls.py b/capa/features/extractors/viv/indirect_calls.py index 71c63172f..d39f08c91 100644 --- a/capa/features/extractors/viv/indirect_calls.py +++ b/capa/features/extractors/viv/indirect_calls.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/features/extractors/viv/insn.py b/capa/features/extractors/viv/insn.py index 7b88dd2de..f57ef4bc1 100644 --- a/capa/features/extractors/viv/insn.py +++ b/capa/features/extractors/viv/insn.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/features/file.py b/capa/features/file.py index 46a6b65f2..735464c6e 100644 --- a/capa/features/file.py +++ b/capa/features/file.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/features/freeze/__init__.py b/capa/features/freeze/__init__.py index 44d40cd19..7f1f319a6 100644 --- a/capa/features/freeze/__init__.py +++ b/capa/features/freeze/__init__.py @@ -1,7 +1,7 @@ """ capa freeze file format: `| capa0000 | + zlib(utf-8(json(...)))` -Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +Copyright (C) 2022 Mandiant, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/features/freeze/features.py b/capa/features/freeze/features.py index dd0b1f2ff..dde5d9cde 100644 --- a/capa/features/freeze/features.py +++ b/capa/features/freeze/features.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2022 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/features/insn.py b/capa/features/insn.py index 062882dbb..f4be23c87 100644 --- a/capa/features/insn.py +++ b/capa/features/insn.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/ghidra/capa_explorer.py b/capa/ghidra/capa_explorer.py index 5c2ff9362..e0b2cf19a 100644 --- a/capa/ghidra/capa_explorer.py +++ b/capa/ghidra/capa_explorer.py @@ -2,7 +2,7 @@ # @author Colton Gabertan (gabertan.colton@gmail.com) # @category Python 3.capa -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2024 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/helpers.py b/capa/helpers.py index ecf1b3200..77380c7ed 100644 --- a/capa/helpers.py +++ b/capa/helpers.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/ida/helpers.py b/capa/ida/helpers.py index 90ce525eb..02046ecf1 100644 --- a/capa/ida/helpers.py +++ b/capa/ida/helpers.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2021 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/ida/plugin/__init__.py b/capa/ida/plugin/__init__.py index 789a1e1c4..a24e7d38f 100644 --- a/capa/ida/plugin/__init__.py +++ b/capa/ida/plugin/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/ida/plugin/capa_explorer.py b/capa/ida/plugin/capa_explorer.py index a34bd08d6..5514aec27 100644 --- a/capa/ida/plugin/capa_explorer.py +++ b/capa/ida/plugin/capa_explorer.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/ida/plugin/form.py b/capa/ida/plugin/form.py index f62191864..0aee6cea2 100644 --- a/capa/ida/plugin/form.py +++ b/capa/ida/plugin/form.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/ida/plugin/hooks.py b/capa/ida/plugin/hooks.py index fdbbe8e40..2f978e74b 100644 --- a/capa/ida/plugin/hooks.py +++ b/capa/ida/plugin/hooks.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/ida/plugin/icon.py b/capa/ida/plugin/icon.py index 76b42cd29..b201bf141 100644 --- a/capa/ida/plugin/icon.py +++ b/capa/ida/plugin/icon.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/ida/plugin/item.py b/capa/ida/plugin/item.py index 17259f61c..b2be1c141 100644 --- a/capa/ida/plugin/item.py +++ b/capa/ida/plugin/item.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/ida/plugin/model.py b/capa/ida/plugin/model.py index dad4d1e69..c3b41670c 100644 --- a/capa/ida/plugin/model.py +++ b/capa/ida/plugin/model.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/ida/plugin/proxy.py b/capa/ida/plugin/proxy.py index 0c8b8d2c4..e67147bda 100644 --- a/capa/ida/plugin/proxy.py +++ b/capa/ida/plugin/proxy.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/ida/plugin/view.py b/capa/ida/plugin/view.py index b76f4e5ad..017beeb57 100644 --- a/capa/ida/plugin/view.py +++ b/capa/ida/plugin/view.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/loader.py b/capa/loader.py index 024091e01..3d6089969 100644 --- a/capa/loader.py +++ b/capa/loader.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2024 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/main.py b/capa/main.py index 16d6d3cba..c10a8256b 100644 --- a/capa/main.py +++ b/capa/main.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 """ -Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/optimizer.py b/capa/optimizer.py index 0ebee8444..cba505b87 100644 --- a/capa/optimizer.py +++ b/capa/optimizer.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2021 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/perf.py b/capa/perf.py index 7358c5f98..2dcdb4603 100644 --- a/capa/perf.py +++ b/capa/perf.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2021 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/render/default.py b/capa/render/default.py index cf387a5dc..2e5064740 100644 --- a/capa/render/default.py +++ b/capa/render/default.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/render/json.py b/capa/render/json.py index dcd535fe9..5aedec6ff 100644 --- a/capa/render/json.py +++ b/capa/render/json.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2021 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/render/result_document.py b/capa/render/result_document.py index ce95245e0..0dcd9dd15 100644 --- a/capa/render/result_document.py +++ b/capa/render/result_document.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2021 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/render/utils.py b/capa/render/utils.py index 642b45a3b..c292186e7 100644 --- a/capa/render/utils.py +++ b/capa/render/utils.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/render/verbose.py b/capa/render/verbose.py index 44024acf4..076ad2b13 100644 --- a/capa/render/verbose.py +++ b/capa/render/verbose.py @@ -14,7 +14,7 @@ 0x10003415 0x10003797 -Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/render/vverbose.py b/capa/render/vverbose.py index 3498d24b8..ac1674672 100644 --- a/capa/render/vverbose.py +++ b/capa/render/vverbose.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/capa/version.py b/capa/version.py index cfd66ebbb..06bdc4aee 100644 --- a/capa/version.py +++ b/capa/version.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/scripts/bulk-process.py b/scripts/bulk-process.py index 0cb315035..ad977a76b 100644 --- a/scripts/bulk-process.py +++ b/scripts/bulk-process.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt @@ -54,7 +54,7 @@ parallelism factor --no-mp disable subprocesses -Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/scripts/capa2yara.py b/scripts/capa2yara.py index b1adb3625..91eecdd9c 100644 --- a/scripts/capa2yara.py +++ b/scripts/capa2yara.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2021 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/scripts/capa_as_library.py b/scripts/capa_as_library.py index cc3228f9f..bb1c2102a 100644 --- a/scripts/capa_as_library.py +++ b/scripts/capa_as_library.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/scripts/capafmt.py b/scripts/capafmt.py index be46b2ade..4baf445b6 100644 --- a/scripts/capafmt.py +++ b/scripts/capafmt.py @@ -6,7 +6,7 @@ $ python capafmt.py -i foo.yml -Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/scripts/detect-elf-os.py b/scripts/detect-elf-os.py index 2dfd86b76..a45a6fe15 100644 --- a/scripts/detect-elf-os.py +++ b/scripts/detect-elf-os.py @@ -1,6 +1,6 @@ #!/usr/bin/env python2 """ -Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +Copyright (C) 2021 Mandiant, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/scripts/import-to-bn.py b/scripts/import-to-bn.py index 74293f743..7fefcd2fb 100644 --- a/scripts/import-to-bn.py +++ b/scripts/import-to-bn.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/scripts/import-to-ida.py b/scripts/import-to-ida.py index 3c6533047..6dd1fb63b 100644 --- a/scripts/import-to-ida.py +++ b/scripts/import-to-ida.py @@ -20,7 +20,7 @@ This script will verify that the report matches the workspace. Check the output window for any errors, and/or the summary of changes. -Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/scripts/lint.py b/scripts/lint.py index fa85bf2db..ad9b79906 100644 --- a/scripts/lint.py +++ b/scripts/lint.py @@ -5,7 +5,7 @@ $ python scripts/lint.py rules/ -Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/scripts/match-function-id.py b/scripts/match-function-id.py index 7896e24b2..800d1cadd 100644 --- a/scripts/match-function-id.py +++ b/scripts/match-function-id.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 """ -Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +Copyright (C) 2021 Mandiant, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/scripts/profile-memory.py b/scripts/profile-memory.py index b958eac0f..556deff53 100644 --- a/scripts/profile-memory.py +++ b/scripts/profile-memory.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2021 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/scripts/profile-time.py b/scripts/profile-time.py index dd0107c10..cc60686cb 100644 --- a/scripts/profile-time.py +++ b/scripts/profile-time.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2021 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/scripts/setup-linter-dependencies.py b/scripts/setup-linter-dependencies.py index 09a5feef2..b4ae3fd1f 100644 --- a/scripts/setup-linter-dependencies.py +++ b/scripts/setup-linter-dependencies.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2022 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/scripts/show-capabilities-by-function.py b/scripts/show-capabilities-by-function.py index 5a1c0ea1c..3375c9044 100644 --- a/scripts/show-capabilities-by-function.py +++ b/scripts/show-capabilities-by-function.py @@ -1,5 +1,5 @@ #!/usr/bin/env python2 -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt @@ -47,7 +47,7 @@ - connect TCP socket ... -Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/scripts/show-features.py b/scripts/show-features.py index d70c6815b..9813a26dd 100644 --- a/scripts/show-features.py +++ b/scripts/show-features.py @@ -1,6 +1,6 @@ #!/usr/bin/env python2 """ -Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/tests/fixtures.py b/tests/fixtures.py index ce21d7db1..531043861 100644 --- a/tests/fixtures.py +++ b/tests/fixtures.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/tests/test_dnfile_features.py b/tests/test_dnfile_features.py index d5448766f..8afedc3a1 100644 --- a/tests/test_dnfile_features.py +++ b/tests/test_dnfile_features.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2022 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/tests/test_dotnetfile_features.py b/tests/test_dotnetfile_features.py index c1dfcf460..e8a602a8f 100644 --- a/tests/test_dotnetfile_features.py +++ b/tests/test_dotnetfile_features.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2022 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/tests/test_engine.py b/tests/test_engine.py index f8c626db3..785896a3c 100644 --- a/tests/test_engine.py +++ b/tests/test_engine.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/tests/test_fmt.py b/tests/test_fmt.py index 8688db988..75368a41b 100644 --- a/tests/test_fmt.py +++ b/tests/test_fmt.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/tests/test_function_id.py b/tests/test_function_id.py index bc1773473..3af6f9633 100644 --- a/tests/test_function_id.py +++ b/tests/test_function_id.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2021 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/tests/test_helpers.py b/tests/test_helpers.py index 56a511b67..3f3fc9325 100644 --- a/tests/test_helpers.py +++ b/tests/test_helpers.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/tests/test_ida_features.py b/tests/test_ida_features.py index 52b3a6a7d..ea55faf9f 100644 --- a/tests/test_ida_features.py +++ b/tests/test_ida_features.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/tests/test_main.py b/tests/test_main.py index 2ee7e7da2..197bca6f9 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/tests/test_match.py b/tests/test_match.py index 8c348098f..07af33d78 100644 --- a/tests/test_match.py +++ b/tests/test_match.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2021 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/tests/test_optimizer.py b/tests/test_optimizer.py index 68afc52c4..b49194e1e 100644 --- a/tests/test_optimizer.py +++ b/tests/test_optimizer.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2021 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/tests/test_os_detection.py b/tests/test_os_detection.py index a650165dd..0902ab55d 100644 --- a/tests/test_os_detection.py +++ b/tests/test_os_detection.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2022 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/tests/test_pefile_features.py b/tests/test_pefile_features.py index cb19b468a..b3ea91d25 100644 --- a/tests/test_pefile_features.py +++ b/tests/test_pefile_features.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2021 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/tests/test_render.py b/tests/test_render.py index 60d62149e..a4ef014d8 100644 --- a/tests/test_render.py +++ b/tests/test_render.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2021 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/tests/test_result_document.py b/tests/test_result_document.py index 10f022d94..769709fa4 100644 --- a/tests/test_result_document.py +++ b/tests/test_result_document.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2022 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/tests/test_rules.py b/tests/test_rules.py index 15fc27c74..dc04f3f00 100644 --- a/tests/test_rules.py +++ b/tests/test_rules.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/tests/test_rules_insn_scope.py b/tests/test_rules_insn_scope.py index 5dbef6f47..af928bb43 100644 --- a/tests/test_rules_insn_scope.py +++ b/tests/test_rules_insn_scope.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2022 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/tests/test_scripts.py b/tests/test_scripts.py index 0075f5600..77a4e77c0 100644 --- a/tests/test_scripts.py +++ b/tests/test_scripts.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2021 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt diff --git a/tests/test_viv_features.py b/tests/test_viv_features.py index b63f0dc61..ca26f6934 100644 --- a/tests/test_viv_features.py +++ b/tests/test_viv_features.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Mandiant, Inc. All Rights Reserved. +# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt From 246b473eb8d7ea066f9668f982a1915797a914ac Mon Sep 17 00:00:00 2001 From: Pratik Mohapatra Date: Wed, 13 Mar 2024 01:41:24 +0530 Subject: [PATCH 2/2] updating regex to account for linter violation --- .github/flake8.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/flake8.ini b/.github/flake8.ini index 6426764fb..afd1a6f9a 100644 --- a/.github/flake8.ini +++ b/.github/flake8.ini @@ -40,4 +40,4 @@ per-file-ignores = copyright-check = True copyright-min-file-size = 1 -copyright-regexp = Copyright \(C\) 2023 Mandiant, Inc. All Rights Reserved. \ No newline at end of file +copyright-regexp = Copyright \(C\) \d{4} Mandiant, Inc. All Rights Reserved. \ No newline at end of file