You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to issue requests for each directory in a path? For example, let's say we want to look for /.git/config in each directory for the URL http://foo.com/dir1/dir2/test.html. That would result in three requests:
GET http://foo.com/dir1/dir2/.git/config GET http://foo.com/dir1/.git/config GET http://foo.com/.git/config
The text was updated successfully, but these errors were encountered:
BuffaloWill
changed the title
Replacing URL in check
Issuing requests each directory in a URL
Jun 12, 2023
BuffaloWill
changed the title
Issuing requests each directory in a URL
Issuing requests to each directory in a URL
Jun 12, 2023
the way you could do this is using the given request then logic and then using request.url to build the path. As the crawler finds all the URLs / directories as you describe you could then append /.git/config/ etc.
Is there a way to issue requests for each directory in a path? For example, let's say we want to look for
/.git/config
in each directory for the URLhttp://foo.com/dir1/dir2/test.html
. That would result in three requests:GET http://foo.com/dir1/dir2/.git/config
GET http://foo.com/dir1/.git/config
GET http://foo.com/.git/config
The text was updated successfully, but these errors were encountered: