Commit graph

10 commits

Author SHA1 Message Date
Ana Maria Martinez Gomez
ab07022ff3
[copyright + license] Fix headers
Replace the header from source code files using the following script:
```Python
for dir_path, dir_names, file_names in os.walk("flare-floss"):
    for file_name in file_names:
        try:
            file_path = f"{dir_path}/{file_name}"
            f = open(file_path, "rb+")
            content = f.read()
            m = re.search(OLD_HEADER, content)
            if not m:
                continue
            print(f"{file_path}: {m.group('year')}")
            content = content.replace(m.group(0), NEW_HEADER % m.group("year"))
            f.seek(0)
            f.write(content)
        except:
            continue
```

Some files had the copyright headers inside a `"""` comment and needed
manual changes before applying the script.

The old header had the confusing sentence `All rights reserved`, which
does not make sense for an open source license. Replace the header by
the default Google header that corrects this issue and keep floss
consistent with other Google projects.
2025-01-14 17:52:22 +01:00
Aayush Goel
73020a427b
bump-pydantic from 1.10.9 to 2.6.0 (#954)
* bump-pydantic
2024-03-19 08:23:33 +01:00
ooprathamm
be8771c8c7
Adds tightstrings to render/scripts (#665)
* Adds tightstrings to render/scripts

* removes unused ts_len

* removes ss_len,ts_len and uses len() wherever required

---------

Co-authored-by: Pratham Chauhan <Prathamchauhan2002@gmail.com>
2023-03-23 09:02:20 +01:00
Moritz
e518c47c99
doc: update copyright header (#539)
* doc: update copyright header

* doc: update year
2022-05-17 09:43:21 +02:00
Moritz Raabe
de915fbbff unify lower case hex formatting 2022-03-18 20:29:35 +01:00
Moritz Raabe
8c59808ae6 s/fireeye/mandiant/ 2021-09-29 16:50:38 +02:00
William Ballenthin
99698d0d85 move code to floss.results module 2021-08-02 09:14:52 -06:00
William Ballenthin
4b04a2cfb0 scripts: x64: don't sanitized json data 2021-07-22 15:37:29 -06:00
William Ballenthin
3cb0527a2b scripts: binja: use b64 serialization
ref: #401
2021-07-22 15:33:04 -06:00
William Ballenthin
5f6647b768 scripts: add render-binja-import-script.py
closes #393
2021-07-22 08:50:46 -06:00