server

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllScan

func GetAllScan(c *gin.Context)

GetAllScan return all scans

func GetRecord

func GetRecord(c *gin.Context)

GetRecord get record detail by record ID

func GetRecords

func GetRecords(c *gin.Context)

GetRecords get record by scan ID

func GetSignSummary

func GetSignSummary(c *gin.Context)

GetSignSummary return signature stat

func GetSigns

func GetSigns(c *gin.Context)

GetSigns return signature record

func GetStats

func GetStats(c *gin.Context)

GetStats return stat data

func InitRouter

func InitRouter(options libs.Options, result chan libs.Record)

InitRouter start point of api server

func ParseRaw

func ParseRaw(c *gin.Context)

ParseRaw Get Raw Burp Request in base64 encode

func Ping

func Ping(c *gin.Context)

Ping testing authenticated connection

func ReceiveRequest

func ReceiveRequest(result chan libs.Record) gin.HandlerFunc

ReceiveRequest is handler to got request from Burp

func SetBurpCollab

func SetBurpCollab(c *gin.Context)

SetBurpCollab setup Burp

func UpdateDefaultSign

func UpdateDefaultSign(c *gin.Context)

UpdateDefaultSign geet record by scan

Types

type RequestData

type RequestData struct {
	RawReq string `json:"req"`
	RawRes string `json:"res"`
	URL    string `json:"url"`
}

RequestData struct for recive request from burp

type SignConfig

type SignConfig struct {
	Value string `json:"sign"`
}

SignConfig config

type User

type User struct {
	UserName string
	Role     string
	Email    string
	IsAdmin  bool
}

User struct

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL