<gh_stars>0
import time

class define:
    GREEN       = "\033[32m"
    RED         = "\033[0;31m"
    BLUE        = "\033[94m"
    ORANGE      = "\033[33m"
    host        = "https://127.0.0.1:3443/"     #端口后面一定要加/
    api_key     = ""                            #替换此处apikey
    api_header  = {'X-Auth':api_key,'content-type':'application/json'}
    filename    = 'out/%s.xlsx' % time.strftime("%Y-%m-%d-%H-%M", time.localtime(time.time()))
    awvs_scan_rule = {
                "full": "11111111-1111-1111-1111-111111111111",
                "highrisk": "11111111-1111-1111-1111-111111111112",
                "XSS": "11111111-1111-1111-1111-111111111116",
                "SQL": "11111111-1111-1111-1111-111111111113",
                "Weakpass": "<PASSWORD>",
                "crawlonly": "11111111-1111-1111-1111-111111111117"
                    }
    banner = '''

                             __..--.._
      .....              .--~  .....  `.
    .":    "`-..  .    .' ..-'"    :". `
    ` `._ ` _.'`"(     `-"'`._ ' _.' '
         ~~~      `.          ~~~
                  .'
                 /
                (
                 ^---'

    [*] Author:dacAIniao@重明安全
    [*] Web:chmsec.com
    '''
    usage = '''
    Usage: 
        python3 Acunitix12-Scan-Agent.py [options]

    Options:
        -f  filename     Read the file and add the target to the awvs
        -o               Output all the vulnerability information to XLSX 
        -d               Delete all targets
    '''

import time

class define:
    GREEN       = "\033[32m"
    RED         = "\033[0;31m"
    BLUE        = "\033[94m"
    ORANGE      = "\033[33m"
    host        = "https://127.0.0.1:3443/"     #端口后面一定要加/
    api_key     = ""                            #替换此处apikey
    api_header  = {'X-Auth':api_key,'content-type':'application/json'}
    filename    = 'out/%s.xlsx' % time.strftime("%Y-%m-%d-%H-%M", time.localtime(time.time()))
    awvs_scan_rule = {
                "full": "11111111-1111-1111-1111-111111111111",
                "highrisk": "11111111-1111-1111-1111-111111111112",
                "XSS": "11111111-1111-1111-1111-111111111116",
                "SQL": "11111111-1111-1111-1111-111111111113",
                "Weakpass": "<PASSWORD>",
                "crawlonly": "11111111-1111-1111-1111-111111111117"
                    }
    banner = '''

                             __..--.._
      .....              .--~  .....  `.
    .":    "`-..  .    .' ..-'"    :". `
    ` `._ ` _.'`"(     `-"'`._ ' _.' '
         ~~~      `.          ~~~
                  .'
                 /
                (
                 ^---'

    [*] Author:dacAIniao@重明安全
    [*] Web:chmsec.com
    '''
    usage = '''
    Usage: 
        python3 Acunitix12-Scan-Agent.py [options]

    Options:
        -f  filename     Read the file and add the target to the awvs
        -o               Output all the vulnerability information to XLSX 
        -d               Delete all targets
    '''
#端口后面一定要加/ #替换此处apikey __..--.._       .....              .--~  .....  `.     .":    "`-..  .    .' ..-'"    :". `     ` `._ ` _.'`"(     `-"'`._ ' _.' '          ~~~      `.          ~~~                   .'                  /                 (                  ^---'      [*] Author:dacAIniao@重明安全     [*] Web:chmsec.com Usage:          python3 Acunitix12-Scan-Agent.py [options]      Options:         -f  filename     Read the file and add the target to the awvs         -o               Output all the vulnerability information to XLSX          -d               Delete all targets