Add TODO to drop prividges to avoid escalation
This commit is contained in:
parent
45d95c2619
commit
a801ac49c7
@ -216,6 +216,8 @@ func (p ProviderConfig) Authenticate(t *OAuth2Token) error {
|
|||||||
if !replacedURL {
|
if !replacedURL {
|
||||||
c = append(c, baseURL)
|
c = append(c, baseURL)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//TODO Drop privileges
|
||||||
cmd := exec.Command(c[0], c[1:]...)
|
cmd := exec.Command(c[0], c[1:]...)
|
||||||
cmd.Run()
|
cmd.Run()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user