medved/data/config.yaml

72 lines
1.3 KiB
YAML
Raw Normal View History

---
dsl_version: 1
core:
2018-04-02 22:41:10 +00:00
services:
- random_ip
- rq_executor
2018-04-02 22:41:10 +00:00
pipelines:
- ftp
2018-04-02 22:41:10 +00:00
services:
rq_executor:
package: lib.exeq.Executor
service: RQExecutor
storage: pool
2018-04-02 22:41:10 +00:00
redis:
host: "127.0.0.1"
random_ip:
package: lib.plugin.base.lib.IP
service: RandomIP
storage: ftp_source
2018-04-02 22:41:10 +00:00
storage:
pool:
package: lib.plugin.base.lib.Mongo
service: MongoStorage
size: 0
2018-04-02 22:41:10 +00:00
db: "medved"
coll: 'pool'
ftp_source:
2018-04-02 22:41:10 +00:00
package: lib.plugin.base.lib.Mongo
service: MongoStorage
size: 500
db: "medved"
coll: 'ftp_source'
2018-04-02 22:41:10 +00:00
pipelines:
ftp:
source: ftp_source
2018-04-02 22:41:10 +00:00
steps:
- task: ftp_scan
priority: low
multiple: 100
- task: ftp_connect
priority: normal
if:
steps.ftp_scan: true
- task: ftp_list_files
priority: high
if:
steps.ftp_connect: true
2018-04-02 22:41:10 +00:00
tasks:
ftp_scan:
package: lib.plugin.iscan.tasks.common
service: MasScanTask
ports:
- 21
2018-04-02 22:41:10 +00:00
ftp_connect:
package: lib.plugin.iscan.tasks.ftp
service: FTPConnectTask
2018-04-02 22:41:10 +00:00
logins: data/ftp/logins.txt
passwords: data/ftp/passwords.txt
bruteforce: true
timeout: 15
ftp_list_files:
package: lib.plugin.iscan.tasks.ftp
service: FTPListFilesTask
logging:
Storage: INFO