Skip to content

Commit

Permalink
Add sitemap
Browse files Browse the repository at this point in the history
  • Loading branch information
hahwul committed Jun 28, 2024
1 parent 21b3eb7 commit 8fa2213
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions lib/caido/helpers/sitemap.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# frozen_string_literal: true

module Caido
# Instance class
class Instance
def sitemap_entiry(id)
query("query{
sitemapEntry(id: \"#{id}\"){
id
label
kind
parentId
request{
id
host
method
query
length
port
isTls
fileExtension
source
alteration
edited
createdAt
raw
response{
id
statusCode
length
roundtripTime
edited
raw
}
}
}
}")['sitemapEntry']
end
end
end

0 comments on commit 8fa2213

Please sign in to comment.