KhadainJHIN
V2EX  ›  Django

Django 如何实现调用 sqlmapapi 的功能?

  •  1
     
  •   KhadainJHIN · Apr 27, 2017 · 4075 views
    This topic created in 3334 days ago, the information mentioned may be changed or developed.

    sqlmapapi -s 服务端
    sqlmapapi -c 客户端

    用户方法 ---- @get(“/task/new ”)

    @get(“/task//delete ”) 管理函数

    @get(“/admin//list ”)

    @get(“/admin//flush ”) 核心交互函数

    @get(“/option//list ”)

    @post(“/option//get ”)

    @post(“/option//set ”)

    @post(“/scan//start ”)

    @get(“/scan//stop ”)

    @get(“/scan//kill ”)

    @get(“/scan//status ”)

    @get(“/scan//data ”)

    @get(“/scan//log//”)

    @get(“/scan//log ”)

    @get(“/download///”) ----

    何如在 django 中实现 sqlmapapi 的调用?接受 json 数据,并且将 json 存入数据库,然后 views 从数据库中读取结果,卡在了如何在 django 中实现-c/-s 的功能上,求指点

    2 replies    2017-04-28 14:16:36 +08:00
    notes
        1
    notes  
       Apr 27, 2017
    - 你需要
    - requests
    KhadainJHIN
        2
    KhadainJHIN  
    OP
       Apr 28, 2017
    @notes
    谢谢,requests 写在 django 的哪个部分呢,是需要单独写一个脚本嘛?第一次使用 django 写安全测试,有很多不懂得地方
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   880 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 20:38 · PVG 04:38 · LAX 13:38 · JFK 16:38
    ♥ Do have faith in what you're doing.