dwisiswant0 / wadl-dumper

Dump all available paths and/or endpoints on WADL file.
MIT License
90 stars 15 forks source link

Error! Can't parse WADL file. #23

Closed Sicks3c closed 3 years ago

Sicks3c commented 3 years ago

Describe the bug

This bugs occurs when the target has insecure SSL

To Reproduce

wadl-dumper -i "https://customerevents.us-east-1.internal.dradis.netflix.com/application.wadl?detail=true" -b

Expected behavior

Output all the possible paths in the wadl directory

Screenshots

screenshot

Environment (please complete the following information):

Additional context Add any other context about the problem here. Full output log is probably a helpful thing to add here.

dwisiswant0 commented 3 years ago

Hi, @Sicks3c. Sometimes, it happened because the dependencies can't parse response from URL. Try to download first then run wadl-dumper. Workaround:

  1. wget http://url/file.wadl, then run dumper
  2. wadl-dumper -i file.wadl
Sicks3c commented 3 years ago

Hi @dwisiswant0

Thank you for fast reply When I use the file method I only get the paths not the full url here

Instead of here

Regards

dwisiswant0 commented 3 years ago

Hi @dwisiswant0

Thank you for fast reply When I use the file method I only get the paths not the full url here

Instead of here

Regards

Yea that because you don't use -b flag to print with base URL prefix. But it all depends on the source origin WADL file, some add the base URL directly or just an endpoint. For example if the 2nd URL (like your image) you download - and execute it like your first proof, the result will be same as your second proof (CMIIW).

Feel free to reopen this issue if you have more questions. 🙂