Skip to content

BuiVanDuc/ExploitDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

APIs to documents

# API Description
1 GET: /browse Get all exploit database
2 GET: /webapps Get all Web Application Exploits
3 GET: /local Get all parts from a document
4 GET: /dos Get all Denial of Service and PoC Exploits
5 GET: /shellcode Get list all platfoms
6 GET: /papers Get list all papers
7 GET: /google-hacking-database Get Google hacking Database
GET: /exploit/?{ebd_id} Get detail a exploit DB
GET: /author/?{edb_id} Get detail a exploit DB
GET: /platform/?{platform_id} Get list all of a platform
GET: /raw/?{raw_id} Get content of a EDB
GET: /browse/?order_by=date&order=desc&pg=?{number_of_page} filter date theo danh sach desc
GET: /browse/?order_by=date&order=asc&pg=?{number_of_page} filter date theo danh sach asc
GET: /browse/?order_by=applicaiton&order=asc&pg=?{number_of_page} filter app theo danh sach asc
GET: /browse/?order_by=applicaiton&order=desc&pg=?{number_of_page} filter app theo danh sach desc
GET: /browse/?order_by=title&order=desc&pg=?{number_of_page} filter title theo danh sach desc
GET: /browse/?order_by=title&order=asc&pg=?{number_of_page} filter title theo danh sach asc
GET: /browse/?order_by=platform&order=asc&pg=?{number_of_page} filter platform theo danh sach aesc
GET: /browse/?order_by=platform&order=desc&pg=?{number_of_page} filter platform theo danh sach desc
GET: /browse/?order_by=author&order=desc&pg=?{number_of_page} filter author theo danh sach desc
GET: /browse/?order_by=author&order=aesc&pg=?{number_of_page} filter author theo danh sach aesc

1. Get all topics

Request

GET: /doc_topics/topics?limit=x&offset=y

Response
  • Success
    200 OK
{
  "count": 6,
  "next": null,
  "previous": null,
  "results": [
    {
      "id": 1,
      "name": {
        "vi": "Đại số - Giải tích",
        "en": "Algebra"
      },
      "description": "10, 11, 12",
      "photo": ""
    },
    {
      "id": 2,
      "name": {
        "vi": "Hình học",
        "en": "Geometry"
      },
      "description": "10, 11, 12",
      "photo": ""
    },
    {
      "id": 3,
      "name": {
        "vi": "Vật lý",
        "en": "Physics"
      },
      "description": "10, 11, 12",
      "photo": ""
    },
    {
      "id": 4,
      "name": {
        "vi": "Hóa học",
        "en": "Chemistry"
      },
      "description": "10, 11, 12",
      "photo": ""
    },
    {
      "id": 5,
      "name": {
        "vi": "Tiếng Anh",
        "en": "English"
      },
      "description": "10, 11, 12",
      "photo": ""
    },
    {
      "id": 6,
      "name": {
        "vi": "Sinh học",
        "en": "Biology"
      },
      "description": "10, 11, 12",
      "photo": ""
    }
  ]
}

2. Get all documents in a topic

Request

GET: /doc_topics/{topic_id}/documents?limit=x&offset=y

Response
  • Success
    200 OK
{
  "count": 1,
  "next": null,
  "previous": null,
  "results": [
    {
      "id": 1,
      "add_date": "2016-12-16T07:00:42.477796Z",
      "update_date": "2016-12-16T07:00:42.477796Z",
      "name": "Chuyên đề 01 Bất đẳng thức Cauchy",
      "description": "Chuyên đề 01 Bất đẳng thức Cauchy",
      "tag": "cauchy",
      "author": "Lê Văn Thuần"
    }
  ]
}

3. Get all parts from a document

Request

GET: /doc_topics/documents/{doc_id}?limit=x&offset=y

Response
  • Success
    200 OK
{
  "count": 4,
  "next": null,
  "previous": null,
  "results": [
    {
      "id": 1,
      "content": "<span class=\"question\">Trong không gian Oxyz cho A(1;0;2) và đường thẳng d có phương trình (d): $$\\dfrac{x-1}{1} = \\dfrac{y}{1} = \\dfrac{z+1}{2}$$$$f(n) = \\begin{cases} \\frac{n}{2}, & \\text{if } n\\text{ is even} \\\\ 3n+1, & \\text{if } n\\text{ is odd} \\end{cases}$$</span><p class=\"answer\">$$\\text{D Khong co ket qua } n\\text{ is even}$$<i>Viết phương trình đường thẳng \\(\\Delta\\) qua A, vuông góc và cắt (d)</i>$$A. \\dfrac{x - 1}{1} = \\dfrac{y}{1} = \\dfrac{z - 2}{2}$$ $$B. \\dfrac{x - 1}{1} = \\dfrac{y}{1} = \\dfrac{z - 2}{-1}$$$$C. \\dfrac{x - 1}{2} = \\dfrac{y}{2} = \\dfrac{z - 2}{1}$$$$D. \\dfrac{x - 1}{1} = \\dfrac{y}{-3}= \\dfrac{z - 2}{1}$$</p>"
    },
    {
      "id": 2,
      "content": "<span class=\"question\">Trong không gian Oxyz cho A(1;0;2) và đường thẳng d có phương trình (d): $$\\dfrac{x-1}{1} = \\dfrac{y}{1} = \\dfrac{z+1}{2}$$</span><p class=\"answer\"><i>Viết phương trình đường thẳng \\(\\Delta\\) qua A, vuông góc và cắt (d)</i>$$A. \\dfrac{x - 1}{1} = \\dfrac{y}{1} = \\dfrac{z - 2}{2}$$ $$B. \\dfrac{x - 1}{1} = \\dfrac{y}{1} = \\dfrac{z - 2}{-1}$$$$C. \\dfrac{x - 1}{2} = \\dfrac{y}{2} = \\dfrac{z - 2}{1}$$$$D. \\dfrac{x - 1}{1} = \\dfrac{y}{-3}= \\dfrac{z - 2}{1}$$</p>"
    },
    {
      "id": 3,
      "content": "<span class=\"question\">Trong không gian Oxyz cho mặt cầu (S) tâm I(2;1;1) và mặt phẳng (P): 2x + y + 2z + 2 = 0. Biết \\((P)\\cap (S)\\) theo giao tuyến là đường tròn có bán kính bằng 1. </span><p class=\"answer\"><i>Viết phương trình (S): </i>$$A. (S):{{(x + 2)}^{2}}+{{(y + 1)}^{2}}+{{(z + 1)}^{2}}=8$$ $$B. (S):{{(x + 2)}^{2}}+{{(y + 1)}^{2}}+{{(z + 1)}^{2}}=10$$$$C. (S):{{(x - 2)}^{2}}+{{(y - 1)}^{2}}+{{(z - 1)}^{2}}=8$$$$D. (S):{{(x - 2)}^{2}}+{{(y - 1)}^{2}}+{{(z - 1)}^{2}}=10$$</p>"
    },
    {
      "id": 4,
      "content": "<span class=\"question\">Trong không gian với hệ tọa độ Oxyz cho đường thẳng \\(\\Delta:\\dfrac{x-10}{5} = \\dfrac{y-2}{1} = \\dfrac{z+2}{1}\\) <br />và mặt phẳng $$(P): 10x + 2y +mz +11 = 0$$.</span><p class=\"answer\"><i>Tìm m để (P)\\(\\bot \\Delta \\):</i>$$A. m = -2$$$$B. m = 2  $$$$C. m = -52$$$$D. m = 52 $$</p>"
    }
  ]
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published