Broken: wrath of Dillinger
This commit is contained in:
parent
721e08994c
commit
12ad017b39
@ -24,11 +24,6 @@ import (
|
||||
"github.com/prologic/bitcask"
|
||||
"github.com/rs/zerolog/log"
|
||||
|
||||
structs "protomolecule/src/eros/structs"
|
||||
"github.com/labstack/echo/middleware"
|
||||
"github.com/labstack/echo"
|
||||
"net/http"
|
||||
"fmt"
|
||||
|
||||
)
|
||||
|
||||
@ -261,7 +256,7 @@ func Backup(path string) error {
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
/*
|
||||
// Hypnosis - retrieve new exploits/attacks from a remote http repository
|
||||
func Hypnosis(repo string) {
|
||||
|
||||
@ -357,7 +352,7 @@ func FinalizeExploit(bigidea Exploit) *Exploit {
|
||||
bigidea.mu = &sync.RWMutex{}
|
||||
return &bigidea
|
||||
}
|
||||
|
||||
*/
|
||||
// Known - check if an exploit is present in the database
|
||||
func Known(Addr string) bool {
|
||||
if DB["exploits"].Has([]byte(Addr)) {
|
||||
@ -381,4 +376,4 @@ func Flashback(Addr string) (Exploit, error) {
|
||||
|
||||
json.Unmarshal(bytes, &member)
|
||||
return member, err
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user