Broken: wrath of Dillinger

This commit is contained in:
kayos@tcp.direct 2022-01-31 03:08:08 -08:00
parent 721e08994c
commit 12ad017b39
Signed by: kayos
GPG Key ID: 4B841471B4BEE979

@ -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
}
}