orf / xcat

XPath injection tool
https://xcat.readthedocs.org/
MIT License
367 stars 74 forks source link

Adding `run console` and `run simple` command #10

Closed HoLyVieR closed 9 years ago

HoLyVieR commented 9 years ago

I improved the parallelism of the application so that it can retrieve the content faster on server that have a slow response time, but can take a good amount of load. Since this can create a lot of concurrent request, I have also added an option (--limit) that lets you specify the maximum amount of concurrent request.

The run console command let's you navigate inside the XML document with an interactive shell. The run simple command works the same way as run retrieve except that it queries less information and only output the structure of the document. I have added the documentation of those commands in the docs/ folder.

Let me know what you think of it.

orf commented 9 years ago

This is amazing! Thank you for this contribution, I'm just waiting for some time to look it over properly before merging it. Adding parallel requests is something I wanted to retroactively add but I guess I forgot, and the console mode is an awesome feature.

orf commented 9 years ago

I've merged this and have re-worked it a little bit as part of the CLI redesign. Just wanted to say thanks again for this, the new commands are a great addition and work really well.

HoLyVieR commented 9 years ago

Nice ! :+1: