2018-07-28 12:21:15 +00:00
|
|
|
---
|
|
|
|
dsl_version: 1
|
|
|
|
|
|
|
|
core:
|
2018-04-02 22:41:10 +00:00
|
|
|
services:
|
2018-08-02 02:12:12 +00:00
|
|
|
- random_ip
|
2018-07-28 12:21:15 +00:00
|
|
|
- rq_executor
|
2018-04-02 22:41:10 +00:00
|
|
|
pipelines:
|
2018-08-02 02:12:12 +00:00
|
|
|
- ftp
|
2018-04-02 22:41:10 +00:00
|
|
|
|
|
|
|
services:
|
|
|
|
rq_executor:
|
|
|
|
package: lib.exeq.Executor
|
|
|
|
service: RQExecutor
|
2018-08-02 02:12:12 +00:00
|
|
|
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
|
2018-08-02 02:12:12 +00:00
|
|
|
storage: ftp_source
|
2018-04-02 22:41:10 +00:00
|
|
|
|
|
|
|
storage:
|
|
|
|
pool:
|
|
|
|
package: lib.plugin.base.lib.Mongo
|
|
|
|
service: MongoStorage
|
2018-08-02 02:12:12 +00:00
|
|
|
size: 0
|
2018-04-02 22:41:10 +00:00
|
|
|
db: "medved"
|
|
|
|
coll: 'pool'
|
2018-08-02 02:12:12 +00:00
|
|
|
ftp_source:
|
2018-04-02 22:41:10 +00:00
|
|
|
package: lib.plugin.base.lib.Mongo
|
|
|
|
service: MongoStorage
|
|
|
|
size: 500
|
|
|
|
db: "medved"
|
2018-08-02 02:12:12 +00:00
|
|
|
coll: 'ftp_source'
|
2018-04-02 22:41:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
pipelines:
|
|
|
|
ftp:
|
2018-08-02 02:12:12 +00:00
|
|
|
source: ftp_source
|
2018-04-02 22:41:10 +00:00
|
|
|
steps:
|
2018-08-02 02:12:12 +00:00
|
|
|
- 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:
|
2018-08-02 02:12:12 +00:00
|
|
|
package: lib.plugin.iscan.tasks.common
|
|
|
|
service: MasScanTask
|
2018-07-28 12:21:15 +00:00
|
|
|
ports:
|
|
|
|
- 21
|
2018-04-02 22:41:10 +00:00
|
|
|
ftp_connect:
|
2018-08-02 02:12:12 +00:00
|
|
|
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:
|
2018-08-02 02:12:12 +00:00
|
|
|
package: lib.plugin.iscan.tasks.ftp
|
|
|
|
service: FTPListFilesTask
|
2018-07-28 12:21:15 +00:00
|
|
|
|
|
|
|
logging:
|
|
|
|
Storage: INFO
|