()
| 556 | } |
| 557 | |
| 558 | func exportCurrentSD() { |
| 559 | if sd == nil { |
| 560 | updateLog("An object was not queried yet", "red") |
| 561 | return |
| 562 | } |
| 563 | |
| 564 | encodedSD := sd.Encode() |
| 565 | |
| 566 | exportMap := make(map[string]any) |
| 567 | exportMap["Query"] = object |
| 568 | exportMap["HexSD"] = encodedSD |
| 569 | |
| 570 | exportMap["ParsedDACL"] = parsedAces |
| 571 | |
| 572 | writeDataExport(exportMap, "sd", "security_descriptor") |
| 573 | } |
| 574 | |
| 575 | func daclPageKeyHandler(event *tcell.EventKey) *tcell.EventKey { |
| 576 | if event.Key() == tcell.KeyTab || event.Key() == tcell.KeyBacktab { |
no test coverage detected