forked from gaulliath/operative-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
web_archive.go
38 lines (31 loc) · 880 Bytes
/
web_archive.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package web_archive
import "github.com/Oni-kuki/operative-framework/session"
type WebArchiveModule struct {
session.SessionModule
sess *session.Session `json:"-"`
Stream session.Stream `json:"-"`
}
func (module *WebArchiveModule) Name() string {
return "web.archive"
}
func (module *WebArchiveModule) Author() string {
return "Tristan Granier"
}
func (module *WebArchiveModule) Description() string {
return "Search possible archive on site web"
}
func (module *WebArchiveModule) GetType() []string {
return []string{
session.T_TARGET_WEBSITE,
}
}
func (module *WebArchiveModule) GetInformation() session.ModuleInformation {
information := session.ModuleInformation{
Name: module.Name(),
Description: module.Description(),
Author: module.Author(),
Type: module.GetType(),
Parameters: module.Parameters,
}
return information
}