Comments (2)
So the only thing that comes to mind for checking if the first file is non-JSON/config file is trying to open it as JSON and if it fails assume its a target to analyze. If that's acceptable I can work on a pull for this one.
from surfactant.
That's probably a decent option... maybe paired with checking to see if the file name ends in .json?
from surfactant.
Related Issues (20)
- Determine install prefix based on rpaths?
- fresh install crash on log_level HOT 4
- 'ContextEntry' object has no attribute 'sha256' HOT 3
- Consider switching to ruff for pre-commit checks HOT 1
- Update .gitignore for vscode HOT 1
- Add EditorConfig file to communicate default settings to IDEs
- Merging content from *_additional_metadata.json files into the main BOM HOT 6
- Typo in surfactantplugin_binary2strings.py "sha256hash is sha25hash"
- Diffing Between SBOMs HOT 3
- Fuzzing Hash Plugin HOT 6
- Potential container path bug on Windows with no UUID being present HOT 1
- Consider supporting protobom input/output format (or internal?)
- Read in files once. HOT 1
- Performance improvements for large filesystems HOT 8
- id_hex.py should catch UnicodeDecodeError HOT 1
- JSON schema for validation HOT 2
- Add --version option
- CycloneDX Error HOT 1
- CVE Binary Tool plugin HOT 2
- SPDX output_format causes exception HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from surfactant.