mirror of
https://github.com/shadow1ng/fscan.git
synced 2025-07-13 21:02:44 +08:00
refactor: 增加约束编译
This commit is contained in:
parent
ef70395d7d
commit
0954492540
@ -1,3 +1,5 @@
|
|||||||
|
//go:build windows
|
||||||
|
|
||||||
package Plugins
|
package Plugins
|
||||||
|
|
||||||
import (
|
import (
|
||||||
@ -385,8 +387,8 @@ func (d *DomainInfo) GetAdminGroups() (map[string][]string, error) {
|
|||||||
// 获取委派信息
|
// 获取委派信息
|
||||||
func (d *DomainInfo) GetDelegation() (map[string][]string, error) {
|
func (d *DomainInfo) GetDelegation() (map[string][]string, error) {
|
||||||
delegationQueries := map[string]string{
|
delegationQueries := map[string]string{
|
||||||
"非约束委派": "(&(objectCategory=computer)(userAccountControl:1.2.840.113556.1.4.803:=524288))",
|
"非约束委派": "(&(objectCategory=computer)(userAccountControl:1.2.840.113556.1.4.803:=524288))",
|
||||||
"约束委派": "(msDS-AllowedToDelegateTo=*)",
|
"约束委派": "(msDS-AllowedToDelegateTo=*)",
|
||||||
"基于资源的约束委派": "(msDS-AllowedToActOnBehalfOfOtherIdentity=*)",
|
"基于资源的约束委派": "(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
|
package Plugins
|
||||||
|
|
||||||
import (
|
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