https://github.com/natuworkguy/inlyse-api-fetcher
A simple bash program that gets analysis data from Inlyse as JSON
https://github.com/natuworkguy/inlyse-api-fetcher
Last synced: about 2 months ago
JSON representation
A simple bash program that gets analysis data from Inlyse as JSON
- Host: GitHub
- URL: https://github.com/natuworkguy/inlyse-api-fetcher
- Owner: Natuworkguy
- License: apache-2.0
- Created: 2024-11-06T01:05:28.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-06T02:09:19.000Z (over 1 year ago)
- Last Synced: 2024-11-06T02:19:52.666Z (over 1 year ago)
- Language: Shell
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# Inlyse API Fetcher
This is a simple Bash script that allows you to fetch malware analysis data from the Inlyse API. By providing your API key and analysis ID, the script retrieves detailed analysis results.
## Features
- Fetch malware analysis using a specified analysis ID from Inlyse's API.
- Command-line interface with options for providing API key and analysis ID.
- Displays usage information and help text when needed.
## Prerequisites
- `curl` must be installed on your machine.
## Usage
```bash
./inlyse_api_fetcher.sh -k [API_KEY] -a [ANALYSIS_ID]
```
### Options
- `-k, --api-key`: Provide your Inlyse API key.
- `-a, --analysis-id`: Enter the analysis ID to fetch the report.
- `-h, --help`: Display help information.
### Example
```bash
./inlyse_api_fetcher.sh -k your_api_key -a analysis_id
```
This will fetch and display the malware analysis report for the given `ANALYSIS_ID`.
## Error Handling
- If no API key or analysis ID is provided, the script will exit with an error message.
- If unknown options are used, it will display usage information.
## License
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:
```
http://www.apache.org/licenses/LICENSE-2.0
```
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.