GithubHelp home page GithubHelp logo

acunetix-api's Introduction

acunetix-api

利用https://github.com/jenkinsci/acunetix-plugin/blob/master/src/main/java/com/acunetix/Engine.java

里面所提供的api改写而来

全局依赖于获取到的api-key

headers = {"X-Auth":apikey,"content-type": "application/json"}

1.添加任务

post  /api/v1/targets

data = {"address":url,"description":url,"criticality":"10"}

2.扫描任务

post /api/v1/scans

data = {"target_id":target_id,"profile_id":"11111111-1111-1111-1111-111111111111","schedule": {"disable": False,"start_date":None,"time_sensitive": False}}

target_id 为第一步添加任务返回的结果

3.获取任务概要

get /api/v1/scans

4.获取任务详情

get /api/v1/scans/+scan_id

5.生成报告

post /api/v1/reports

data = {"template_id":"11111111-1111-1111-1111-111111111111","source":{"list_type":"scans","id_list":[scan_id]}}

6.停止扫描

POST /scans/" + scanId + "/abort

7.删除扫描

DELETE /api/v1/scans/+scan_id

详情参考

http://0cx.cc/about_awvs11_api.jspx

acunetix-api's People

Contributors

0xa-saline avatar

Watchers

James Cloos avatar Cui lei avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.