1
0
Vork 0

Add docker timeout to artifact configuration

timestamps
dump_stack() 2020-06-14 17:32:57 +00:00
bovenliggende 551ec7f7ef
commit 2f5f1db0db
Getekend door: dump_stack
GPG sleutel-ID: BE44DA8C062D87DC
4 gewijzigde bestanden met toevoegingen van 19 en 0 verwijderingen

Bestand weergeven

@ -4,6 +4,13 @@
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
### Added
- Parameter `--docker-timeout` may also be set in the artifact
configuration file.
## [1.3.0] 2020-05-30
### Added

Bestand weergeven

@ -115,6 +115,10 @@ type Artifact struct {
Timeout Duration
}
Docker struct {
Timeout Duration
}
Mitigations struct {
DisableSmep bool
DisableSmap bool

Bestand weergeven

@ -113,6 +113,10 @@ func debugHandler(kcfg config.KernelConfig, workPath, kernRegex, gdb string,
q.Memory = ka.Qemu.Memory
}
if ka.Docker.Timeout.Duration != 0 {
dockerTimeout = ka.Docker.Timeout.Duration
}
q.SetKASLR(false) // set KASLR to false by default because of gdb
q.SetSMEP(!ka.Mitigations.DisableSmep)
q.SetSMAP(!ka.Mitigations.DisableSmap)

4
pew.go
Bestand weergeven

@ -325,6 +325,10 @@ func whatever(swg *sizedwaitgroup.SizedWaitGroup, ka config.Artifact,
q.Memory = ka.Qemu.Memory
}
if ka.Docker.Timeout.Duration != 0 {
dockerTimeout = ka.Docker.Timeout.Duration
}
q.SetKASLR(!ka.Mitigations.DisableKaslr)
q.SetSMEP(!ka.Mitigations.DisableSmep)
q.SetSMAP(!ka.Mitigations.DisableSmap)