https://github.com/strazzere/microengine-eicar
https://github.com/strazzere/microengine-eicar
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/strazzere/microengine-eicar
- Owner: strazzere
- Created: 2018-06-28T19:15:15.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-28T19:19:52.000Z (over 7 years ago)
- Last Synced: 2025-02-09T22:41:15.582Z (11 months ago)
- Language: Go
- Size: 9.77 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# microengine-eicar
A sample microengine capable of identifying "malintent" in the EICAR test file (and nothing else).
tutorial-eicar instructs the user on building this engine on top of microengine-scratch.
## Usage
Follow the instructions on wiki to launch polyswarmd or execute the following:
```
$ ./scripts/compose.sh
```
### Run the eicar.go loally
If you want to run the eicar.go locally,
then, you need to install the go component dependencies:
```
$ ./scripts/run_engine.sh
```
It installs the dependencies and runs the `eicar.go`
### Post bounty
In order to post bounty, first, you need to upload the artifacts
```
$ curl -s -F file=@[artifact_path] http://localhost:31337/artifacts
```
Then, you get the [hash] as console output.
```
$ curl -s -H 'Content-Type: application/json' -d '{"amount": "62500000000000000", "uri": "[hash]", "duration": 10}' http://localhost:31337/bounties?account=[address]"
```