Documentation ¶
Index ¶
- Variables
- func AddKeyboardEvents(w fyne.Window)
- func AddPointer(wx fyne.Window, ap fyne.App)
- func AddRouting()
- func Check(port int) (status bool, err error)
- func Commit(rw http.ResponseWriter, r *http.Request)
- func FyneError(err error)
- func GenericPage(rw http.ResponseWriter, r *http.Request)
- func GetPreferenceDBString() string
- func GetPreferenceDBStringtoURL()
- func HomeScreen() fyne.CanvasObject
- func OrgCheckListRoute(rw http.ResponseWriter, r *http.Request)
- func OrgToolOutput(rw http.ResponseWriter, r *http.Request)
- func SavePreferenceDBString(db string)
- func StartServer()
- func StartupWindow() fyne.CanvasObject
- func StopServer()
- func UI_INIT()
- func WebCheckList(rw http.ResponseWriter, r *http.Request)
- func WebToolOutput(rw http.ResponseWriter, r *http.Request)
- func WorkingSubdomain(rw http.ResponseWriter, r *http.Request)
- type CheckLists
- type CredPage
- type CredRow
- type EmptyContainer
- type NavPanel
- type OrgCheckList
- type Page
- type PanelObject
Constants ¶
This section is empty.
Variables ¶
var InterfaceIp binding.String = binding.NewString()
InterfaceIp : Bind to this Interface
var PathsforGenericPages map[string]string = map[string]string{
"in-scope": "In Scope",
"out-of-scope": "Out of Scope",
"not-accepted-vulns": "Not Accepted Vuls",
"active-subs": "Active Subs",
"all-subs": "All Subs",
"other-assets": "Other Assets",
"all-urls": "All URLs",
"active-urls": "Active URLs",
"notes": "Notes",
"findings": "Findings",
"uncertain": "Uncertain",
}
var Port binding.Int = binding.NewInt()
Port ...
var ServerAlive binding.Bool = binding.NewBool()
ServerAlive ...
Functions ¶
func Commit ¶
func Commit(rw http.ResponseWriter, r *http.Request)
Commit : This is used to commit changes to mongodb ,Handle Function Would be /commit
func GenericPage ¶
func GenericPage(rw http.ResponseWriter, r *http.Request)
GenericPage Handler : Handle Function Would be /page/pagename
func OrgCheckListRoute ¶
func OrgCheckListRoute(rw http.ResponseWriter, r *http.Request)
OrgCheckListRoute : List Organization CheckList Handle Function would be /org/checklist
func OrgToolOutput ¶
func OrgToolOutput(rw http.ResponseWriter, r *http.Request)
Org GET PUT Tool Output Handle Function would be /org/checklist_item_name
func WebCheckList ¶
func WebCheckList(rw http.ResponseWriter, r *http.Request)
WebCheckListList WebCheckList Handle Function would be /web/checklist
func WebToolOutput ¶
func WebToolOutput(rw http.ResponseWriter, r *http.Request)
WebToolOutput : CheckList GET PUT Tool Output Handle Function would be /web/subdomain/checklist_item_name
func WorkingSubdomain ¶
func WorkingSubdomain(rw http.ResponseWriter, r *http.Request)
WorkingSubdomain : Gets Current Working Subdomain Handle Function would be /web/working
Types ¶
type CheckLists ¶
type CheckLists struct { MyTrees map[string]*mytree.Mytree //Tree for each subdomain BtnName string //Panel Button Name ActiveSubs *Page //All subdomains page ActiveTreeIndex string //Current Active tree Organized binding.Bool //Organize data }
CheckLists : Web CheckLists Page
func (*CheckLists) GetButton ¶
func (c *CheckLists) GetButton() *mywidgets.CustomButton
GetButton ...
func (*CheckLists) GetDefaultCheckList ¶
func (c *CheckLists) GetDefaultCheckList() map[string][]string
GetDefaultCheckList ...
type CredPage ¶
type CredPage struct { HeaderText string `bson:"headername"` Heading *canvas.Text `bson:"-"` Rows []*CredRow `bson:"rows"` Holder *fyne.Container `bson:"-"` CollectionName string `bson:"-"` PanelName string `bson:"panelname"` }
CredPage ...
type CredRow ¶
type CredRow struct { Username string `bson:"username"` Password string `bson:"password"` Description string `bson:"description"` // contains filtered or unexported fields }
CredRow ...
type EmptyContainer ¶
type EmptyContainer struct { Pages []Page CheckList *CheckLists OrgCheckL *OrgCheckList Cont fyne.Container PeriodicSave bool //commit to db when page is changed }
EmptyContainer : Container Beside The Nav Panel
var E *EmptyContainer
E EmptyContainer New Instance
func (*EmptyContainer) GetPage ¶
func (e *EmptyContainer) GetPage(pagename string) (*Page, error)
GetPage : Get Page by Its Name
func (*EmptyContainer) SaveState ¶
func (e *EmptyContainer) SaveState()
SaveState : Commit Changes to DB
func (*EmptyContainer) Show ¶
func (e *EmptyContainer) Show(obj fyne.CanvasObject)
Show : Show This Object
type OrgCheckList ¶
OrgCheckList will be useful for organization/OSINT checklist
func (*OrgCheckList) GetButton ¶
func (o *OrgCheckList) GetButton() *mywidgets.CustomButton
GetButton ...
type Page ¶
type Page struct { HeaderText string `bson:"headername"` Heading *canvas.Text `bson:"-"` Entry *hugetext.HugeEntry `bson:"-"` CollectionName string `bson:"-"` Entrydata []string `bson:"data"` BtnName string `bson:"-"` PanelName string `bson:"panelname"` ShowLength bool `bson:"-"` }
Page ...
type PanelObject ¶
type PanelObject struct { Header string Objects []fyne.CanvasObject }
PanelObject ...