Skip to content

OWASP/D4N155

 
 

Repository files navigation

D4N155

made-with-bash GPLv3 license

API project of D4N155

See test app: d4n155.herokuapp.com/

PROTOCOL PATH FUNCTION EXAMPLE
GET /make/:word Operations localhost/make/moscou%201918
GET /domain/:domain Get all urls of Domain localhost/domain/nmap.org
GET /domain/:number-limit:url Get wordlist localhost/domain/30?url=https://nmap.org

Run local

git clone https://github.com/owasp/D4N155.git
git checkout api
docker-compose up

Response

All response is JSON format.

localhost/make/

{
"helpus": "Its OWASP D4N155 project for API, see: https://github.com/OWASP/D4N155, branch: api",
"result":
  {
    "data": ["<PARAm>1", "..."],
    "length": 40,
    "wordlist":{
      "length": 40,
      "url": "http:https://ix.io/2cEW\n"
    }
  }
}
  • result
    • result.data: Result of wordlist limit 500 :(
    • result.length: Length of wordlist returned in result.data
    • result.wordlist:
      • result.wordlist.length: Length of complete wordlist
      • result.wordlist.url: Link of wordlist

localhost/domain/scanme.nmap.org

{
  "helpus":"Its OWASP D4N155 project for API, see: https://github.com/OWASP/D4N155, branch: api",
  "result":{
    "data":["scanme.nmap.org","..."],
    "length":4
  }
}
  • result
    • result.data: Result of domains
    • result.length: Number of domains

localhost/domain/500?url=https://jul10l1r4.github.io

{
  "helpus":"Its OWASP D4N155 project for API, see: https://github.com/OWASP/D4N155, branch: api",
  "result":{
    "data":["mEDIUM/vAULcYBERsEC1","..."],
    "length":500,
    "wordlist":{
      "length":48132,
      "url":"http:https://ix.io/2bx9\n"
    }
  }
}
  • result
    • result.data: Result of wordlist limit 500 :(
    • result.length: Length of wordlist returned in result.data
    • result.wordlist:
      • result.wordlist.length: Length of complete wordlist
      • result.wordlist.url: Link of wordlist

API-CLIENT