On 2017-01-25 04:03, Blake Merriam wrote:
Hello.
I'm trying to figure out how to use this python app: http://wfuzz.org/
There is the following domain: games.skillz.com/games/ that has many
numbered sub directories.
Example:
http://games.skillz.com/game/2314
http://games.skillz.com/game/942
I want to find all the numbered sub directories. Number with no static
page
redirect to games.skillz.com/list/ but not all games are listed there.
So I
want to use wfuzz to "web crawl" the directories. Hope this makes
sense.
Grateful for any help that can be offered!!
Hello Blake,
Do you have to use wfuzz to do this?
A simpler approach would be simply to do a HEAD request for all URLs
from http://games.skillz.com/game/1 to (say)
http://games.skillz.com/game/9999. All the ones which are valid games
will give you http 200 while the others will give you a http 302. If you
find (say) 10 which are consecutively redirecting, then you can assume
that you've reached the upper limit beyond which there are no more
games.
Thanks.
_______________________________________________
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers