https://github.com/dweinstein/analysis-runner
https://github.com/dweinstein/analysis-runner
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dweinstein/analysis-runner
- Owner: dweinstein
- Created: 2015-04-21T01:54:44.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-11-10T19:11:20.000Z (about 9 years ago)
- Last Synced: 2025-05-03T14:40:47.969Z (9 months ago)
- Language: Shell
- Size: 7.81 KB
- Stars: 11
- Watchers: 3
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SYNOPSIS
A runner script for downloading a target file, running a target tool, and handling the result in a flexible manner. This is done as a shell script so that it can be run in pretty much any environment, in particular almost any type of Docker container.
One example includes:
- [androguard-manifest](https://github.com/dweinstein/dockerfile-androguard-manifest)
# USAGE
## required env TOOL or $1
The analysis tool to run (with some specific required parameters) and pass the input file to for processing.
## Option i
`-i ` specifies where to get the input, `val` can be a path to a file or a URL.
## Optional o
`-o ` specifies what to do with the result. If not supplied, the output will just go to stdout/stderr. If a URL is supplied the output will be POST'd to that URL on successful analysis.
## CONTENT_TYPE
The content-type for HTTP POST
## Rest
Arguments after `--` in the parameters are passed along to the analysis tool when it runs. This is mostly useful for the docker container use case.