mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-04 04:30:05 +00:00
🚸 [agent v0.3.3] 优化多行及带参命令执行
This commit is contained in:
@@ -4,6 +4,7 @@ import (
|
||||
"crypto/md5"
|
||||
"encoding/hex"
|
||||
"math/rand"
|
||||
"os"
|
||||
"time"
|
||||
"unsafe"
|
||||
)
|
||||
@@ -40,3 +41,7 @@ func MD5(plantext string) string {
|
||||
hash.Write([]byte(plantext))
|
||||
return hex.EncodeToString(hash.Sum(nil))
|
||||
}
|
||||
|
||||
func IsWindows() bool {
|
||||
return os.PathSeparator == '\\' && os.PathListSeparator == ';'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user