2018-07-28 12:21:15 +00:00
|
|
|
---
|
|
|
|
dsl_version: 1
|
|
|
|
|
|
|
|
core:
|
2018-04-02 22:41:10 +00:00
|
|
|
services:
|
2018-07-28 12:21:15 +00:00
|
|
|
- data_manager
|
|
|
|
# - zmq_listener
|
|
|
|
- rq_executor
|
2018-04-02 22:41:10 +00:00
|
|
|
pipelines:
|
|
|
|
- ftp
|
|
|
|
|
|
|
|
|
|
|
|
services:
|
|
|
|
data_manager:
|
|
|
|
package: lib.data.Manager
|
|
|
|
service: DataManager
|
|
|
|
data:
|
|
|
|
id: pool
|
|
|
|
sources:
|
2018-07-28 12:21:15 +00:00
|
|
|
- random_ip
|
2018-04-02 22:41:10 +00:00
|
|
|
feeds:
|
2018-07-28 12:21:15 +00:00
|
|
|
- test_telegram
|
2018-04-02 22:41:10 +00:00
|
|
|
zmq_listener:
|
|
|
|
package: lib.net.Listener
|
|
|
|
service: ZMQListener
|
|
|
|
data:
|
|
|
|
id: pool
|
|
|
|
listen: "0.0.0.0"
|
|
|
|
port: 12321
|
|
|
|
rq_executor:
|
|
|
|
package: lib.exeq.Executor
|
|
|
|
service: RQExecutor
|
|
|
|
data:
|
|
|
|
id: pool
|
|
|
|
redis:
|
|
|
|
host: "127.0.0.1"
|
|
|
|
|
|
|
|
|
|
|
|
sources:
|
|
|
|
random_ip:
|
|
|
|
package: lib.plugin.base.lib.IP
|
|
|
|
service: RandomIP
|
|
|
|
data:
|
|
|
|
id: random_ip
|
|
|
|
|
|
|
|
|
|
|
|
feeds:
|
|
|
|
test_telegram:
|
|
|
|
package: lib.plugin.base.lib.Telegram
|
|
|
|
service: TelegramFeed
|
|
|
|
data:
|
|
|
|
id: pool
|
|
|
|
token:
|
|
|
|
chats:
|
|
|
|
- id: good_evening
|
|
|
|
pipelines: [ftp, gopher]
|
|
|
|
filter:
|
|
|
|
clause: any-of
|
|
|
|
equal:
|
2018-07-28 12:21:15 +00:00
|
|
|
- ftp_list_files_status: success
|
|
|
|
- gopher_collect_status: success
|
2018-04-02 22:41:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
storage:
|
|
|
|
pool:
|
|
|
|
package: lib.plugin.base.lib.Mongo
|
|
|
|
service: MongoStorage
|
|
|
|
size: 40960
|
|
|
|
db: "medved"
|
|
|
|
coll: 'pool'
|
|
|
|
random_ip:
|
|
|
|
package: lib.plugin.base.lib.Mongo
|
|
|
|
service: MongoStorage
|
|
|
|
size: 500
|
|
|
|
db: "medved"
|
|
|
|
coll: 'randomipsource'
|
|
|
|
|
|
|
|
|
|
|
|
pipelines:
|
|
|
|
ftp:
|
|
|
|
steps:
|
2018-07-28 12:21:15 +00:00
|
|
|
- name: scan
|
|
|
|
package: lib.plugin.iscan.tasks.common
|
|
|
|
service: scan
|
|
|
|
multiple: 10
|
|
|
|
requires: []
|
|
|
|
- name: connect
|
|
|
|
package: lib.plugin.iscan.tasks.ftp
|
|
|
|
service: connect
|
|
|
|
multiple: False
|
|
|
|
requires:
|
|
|
|
- ftp_scan
|
|
|
|
- name: list_files
|
|
|
|
package: lib.plugin.iscan.tasks.ftp
|
|
|
|
service: list_files
|
|
|
|
multiple: False
|
|
|
|
requires:
|
|
|
|
- ftp_connect
|
2018-04-02 22:41:10 +00:00
|
|
|
|
|
|
|
tasks:
|
|
|
|
ftp_scan:
|
2018-07-28 12:21:15 +00:00
|
|
|
ports:
|
|
|
|
- 21
|
2018-04-02 22:41:10 +00:00
|
|
|
ftp_connect:
|
|
|
|
logins: data/ftp/logins.txt
|
|
|
|
passwords: data/ftp/passwords.txt
|
|
|
|
bruteforce: true
|
|
|
|
timeout: 15
|
|
|
|
ftp_list_files:
|
2018-07-28 12:21:15 +00:00
|
|
|
|
|
|
|
logging:
|
|
|
|
Storage: INFO
|