This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # License: MIT | |
| import sys | |
| import mmap | |
| import hashlib | |
| import struct | |
| # MD5 hashes from https://datomatic.no-intro.org | |
| # Headerless, as header is changed from non-AC releases. | |
| known_roms = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import tarfile | |
| def _block_patched(self, count): | |
| if count < 0: | |
| raise tarfile.InvalidHeaderError("invalid offset") | |
| return _block_patched._orig_block(self, count) | |
| _block_patched._orig_block = tarfile.TarInfo._block | |
| tarfile.TarInfo._block = _block_patched |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import pathlib | |
| # Avoid insecure segments in link names. | |
| # 'tar' is a tarfile open for reading. | |
| for member in tar.getmembers(): | |
| if member.linkname and '..' in pathlib.Path(member.linkname).parts: | |
| raise OSError("Tarfile with insecure segment ('..') in linkname") | |
| # Now safe to extract members with the data filter. | |
| tar.extractall(filter="data") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import hashlib | |
| import os | |
| import re | |
| # List of treasure names by regional name. | |
| # Index in the list is their ID. 0=US, 1=JP, 2=PAL | |
| # Key items are regionless and stored in another part | |
| # of Pikmin 2 saves, so they get their own IDs. | |
| TREASURE_IDS = [ | |
| ["Rubber Ugly", "Rubber Ugly", "Rubber Ugly"], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Package | Version | Ecosystem | |
|---|---|---|---|
| python | 3.10.12 | binary | |
| adduser | 3.118ubuntu5 | deb | |
| apt | 2.4.11 | deb | |
| asymptote | 2.78+ds-2 | deb | |
| base-files | 12ubuntu4.4 | deb | |
| base-passwd | 3.5.52build1 | deb | |
| bash | 5.1-6ubuntu1 | deb | |
| biber | 2.17-2 | deb | |
| bsdutils | 1:2.37.2-4ubuntu3 | deb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Simple script for constructing small XAR files. | |
| License: CC0-1.0 | |
| """ | |
| import datetime | |
| import gzip | |
| import hashlib | |
| import io | |
| import struct |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # MIT License | |
| # | |
| # Copyright (c) 2023 Seth Michael Larson | |
| # | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy | |
| # of this software and associated documentation files (the "Software"), to deal | |
| # in the Software without restriction, including without limitation the rights | |
| # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| # copies of the Software, and to permit persons to whom the Software is | |
| # furnished to do so, subject to the following conditions: |
Watch all the informational videos from the CNA onboarding documentation. Approximately an hour of content about the program, becoming a CNA, assigning CVE IDs, and creating CVE records. Slides are available on the website.
- CVE Program Overview (5 minutes)
- Becoming a CNA (15 minutes)
- Assigning CVE IDs (26 minutes)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$id": "https://spec.openapis.org/oas/3.1/schema/2022-10-07", | |
| "$schema": "https://json-schema.org/draft/2020-12/schema", | |
| "description": "The description of OpenAPI v3.1.x documents without schema validation, as defined by https://spec.openapis.org/oas/v3.1.0", | |
| "type": "object", | |
| "properties": { | |
| "$schema": { | |
| "type": "string" | |
| }, | |
| "openapi": { |
NewerOlder