Documentation ¶
Index ¶
Constants ¶
View Source
const ( CodeURIAcquire = 600 FieldURI = "URI" FieldMessage = "Message" FieldTargetRepoURI = "Target-Repo-URI" FieldFilename = "Filename" FieldSize = "Size" FieldSHA256Hash = "SHA256-Hash" )
Protocol: see https://justi.cz/security/2019/01/22/apt-rce.html See also the output of `apt-get -o Debug::pkgAcquire::Worker=1 update`
View Source
const ( MediaTypeApplicationXBinary = "application/x-binary" MediaTypeApplicationOctetStream = "application/octet-stream" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Method ¶
type Method struct {
// contains filtered or unexported fields
}
func (*Method) Run ¶
Run is based on https://github.com/cloudflare/apt-transport-cloudflared/blob/96e1417f9c54/apt/method.go#L77-L108
Click to show internal directories.
Click to hide internal directories.