Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dwisiswant0/wadl-dumper
Dump all available paths and/or endpoints on WADL file.
https://github.com/dwisiswant0/wadl-dumper
bugbounty bugbounty-tool bugbountytips go golang wadl xml xml-parser
Last synced: about 2 months ago
JSON representation
Dump all available paths and/or endpoints on WADL file.
- Host: GitHub
- URL: https://github.com/dwisiswant0/wadl-dumper
- Owner: dwisiswant0
- License: mit
- Created: 2020-08-29T11:58:52.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-07-29T22:19:42.000Z (5 months ago)
- Last Synced: 2024-08-03T16:08:45.239Z (4 months ago)
- Topics: bugbounty, bugbounty-tool, bugbountytips, go, golang, wadl, xml, xml-parser
- Language: Go
- Homepage:
- Size: 39.1 KB
- Stars: 87
- Watchers: 2
- Forks: 15
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-api-security - wadl-dumper
- awesome-hacking-lists - dwisiswant0/wadl-dumper - Dump all available paths and/or endpoints on WADL file. (Go)
README
# wadl-dumper
Dump all available paths and/ endpoints on WADL file.
## Installation
- Download a prebuilt binary from [releases page](https://github.com/dwisiswant0/wadl-dumper/releases/latest), unpack and run! or
- If you have go1.13+ compiler installed: `go get github.com/dwisiswant0/wadl-dumper`## Usage
It's very simple!
```console
$ wadl-dumper -i https://domain.tld/application.wadl
```### Flags
```
Usage:
wadl-dumper -i http://domain.tld/application.wadl [options...]
wadl-dumper -i /path/to/wadl.xml --show-base -r "-alert(1)-"Options:
-i, --input URL/path to WADL file
-b, --show-base Add base URL to paths
-r, --replace Replace all placeholder with given value
-h, --help Show its help text
```### Show Base URL
By default, `wadl-dumper` doesn't add a base URL to each paths, use `-b/--show-base` flag to add it.
```console
$ wadl-dumper -i https://beacon.netflix.com/application.wadl -b
http://nmtracking.netflix.com/users/customerevents
http://nmtracking.netflix.com/nm
http://nmtracking.netflix.com/tracking
http://nmtracking.netflix.com/itracking
http://nmtracking.netflix.com/track
http://nmtracking.netflix.com/{subResources:.*}
http://nmtracking.netflix.com/users
http://nmtracking.netflix.com/presentationtracking
```### Replace Placeholder
You can also replace all **{placeholder}** values in each paths with `-r/--replace` flag.
```console
$ wadl-dumper -i https://tw.bid.yahoo.com/api/application.wadl -b -r "-alert(1)-"
http://auc-papi.bid.yahoo.com:4080/api/api/-alert(1)-
http://auc-papi.bid.yahoo.com:4080/api/campaigns/-alert(1)-
http://auc-papi.bid.yahoo.com:4080/api/escrows/-alert(1)-
http://auc-papi.bid.yahoo.com:4080/api/p2ppListing/-alert(1)-
http://auc-papi.bid.yahoo.com:4080/api/channels/-alert(1)-
http://auc-papi.bid.yahoo.com:4080/api/channels/-alert(1)-/readInfo
http://auc-papi.bid.yahoo.com:4080/api/channels/-alert(1)-/members
http://auc-papi.bid.yahoo.com:4080/api/users/-alert(1)-/qnas
http://auc-papi.bid.yahoo.com:4080/api/users/-alert(1)-
http://auc-papi.bid.yahoo.com:4080/api/users/-alert(1)-/ranking
http://auc-papi.bid.yahoo.com:4080/api/users/-alert(1)-/rating
...
```## Supporting Materials/References
- [Leveraging Exposed WADL XML in Burp Suite](https://www.nopsec.com/leveraging-exposed-wadl-xml-in-burp-suite/)
## License
`wadl-dumper` is released under MIT. See `LICENSE`.