mirror of
https://github.com/shadow1ng/fscan.git
synced 2025-07-13 21:02:44 +08:00
Merge branch 'dev' of https://github.com/shadow1ng/fscan into dev
This commit is contained in:
commit
5e06a0b2b7
@ -1,3 +1,5 @@
|
||||
//go:build windows
|
||||
|
||||
package Plugins
|
||||
|
||||
import (
|
||||
@ -387,8 +389,8 @@ func (d *DomainInfo) GetAdminGroups() (map[string][]string, error) {
|
||||
// 获取委派信息
|
||||
func (d *DomainInfo) GetDelegation() (map[string][]string, error) {
|
||||
delegationQueries := map[string]string{
|
||||
"非约束委派": "(&(objectCategory=computer)(userAccountControl:1.2.840.113556.1.4.803:=524288))",
|
||||
"约束委派": "(msDS-AllowedToDelegateTo=*)",
|
||||
"非约束委派": "(&(objectCategory=computer)(userAccountControl:1.2.840.113556.1.4.803:=524288))",
|
||||
"约束委派": "(msDS-AllowedToDelegateTo=*)",
|
||||
"基于资源的约束委派": "(msDS-AllowedToActOnBehalfOfOtherIdentity=*)",
|
||||
}
|
||||
|
||||
|
9
Plugins/DCInfoUnix.go
Normal file
9
Plugins/DCInfoUnix.go
Normal file
@ -0,0 +1,9 @@
|
||||
//go:build !windows
|
||||
|
||||
package Plugins
|
||||
|
||||
import "github.com/shadow1ng/fscan/Common"
|
||||
|
||||
func DCInfoScan(info *Common.HostInfo) (err error) {
|
||||
return nil
|
||||
}
|
@ -1,3 +1,5 @@
|
||||
//go:build windows
|
||||
|
||||
package Plugins
|
||||
|
||||
import (
|
||||
|
9
Plugins/MiniDumpUnix.go
Normal file
9
Plugins/MiniDumpUnix.go
Normal file
@ -0,0 +1,9 @@
|
||||
//go:build !windows
|
||||
|
||||
package Plugins
|
||||
|
||||
import "github.com/shadow1ng/fscan/Common"
|
||||
|
||||
func MiniDump(info *Common.HostInfo) (err error) {
|
||||
return nil
|
||||
}
|
Loading…
Reference in New Issue
Block a user