mirror of https://github.com/daffainfo/nuclei.git
adding missing comments
parent
5d699cdde0
commit
0a6b84639b
|
@ -18,6 +18,7 @@ type Page struct {
|
|||
History []HistoryData
|
||||
}
|
||||
|
||||
// HistoryData contains the page request/response pairs
|
||||
type HistoryData struct {
|
||||
RawRequest string
|
||||
RawResponse string
|
||||
|
@ -89,6 +90,7 @@ func (p *Page) URL() string {
|
|||
return info.URL
|
||||
}
|
||||
|
||||
// DumpHistory returns the full page navigation history
|
||||
func (p *Page) DumpHistory() string {
|
||||
var historyDump strings.Builder
|
||||
for _, historyData := range p.History {
|
||||
|
|
Loading…
Reference in New Issue