MCPcopy Create free account
hub / github.com/TideSec/GoBypassAV / writecertfromdisk

Function writecertfromdisk

SignThief/main.go:24–27  ·  view source on GitHub ↗
(outputloc string, inputloc string, cert string)

Source from the content-addressed store, hash-verified

22}
23
24func writecertfromdisk(outputloc string, inputloc string, cert string) {
25 certfile, _ := ioutil.ReadFile(cert)
26 appendcert(outputloc, inputloc, certfile)
27}
28
29func writecertfromexe(outputloc string, inputloc string, certfileloc string) {
30 certfile := getcert(certfileloc)

Callers

nothing calls this directly

Calls 1

appendcertFunction · 0.85

Tested by

no test coverage detected