#
# Copyright (c) 2006-2016 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
beef:
    module:
        cross_origin_scanner_cors:
            enable: true
            category: "Network"
            name: "Cross-Origin Scanner (CORS)"
            description: "Scan an IP range for web servers which allow cross-origin requests using CORS. The HTTP response is returned to BeEF.<br/><br/>Note: set the IP address range to 'common' to scan a list of common LAN addresses."
            authors: ["bcoles"]
            # http://caniuse.com/cors
            target:
                working: ["ALL"]
                not_working:
                    # CORS is partially supported on IE 8 & 9
                    IE:
                        min_ver: 6
                        max_ver: 7
                    O:
                        min_ver: 1
                        max_ver: 11
                    C:
                        min_ver: 1
                        max_ver: 3
                    S:
                        min_ver: 1
                        max_ver: 3
                    F:
                        min_ver: 1
                        max_ver: 3
