mirror of
https://github.com/shadow1ng/fscan.git
synced 2026-09-25 04:31:52 +08:00
简化输出格式
This commit is contained in:
@@ -92,8 +92,8 @@ var (
|
||||
|
||||
// LocalInfoScan 本地信息收集主函数
|
||||
func LocalInfoScan(info *Common.HostInfo) (err error) {
|
||||
Common.LogInfo("开始本地信息收集...")
|
||||
|
||||
Common.LogBase("开始本地信息收集...")
|
||||
|
||||
// 获取用户主目录
|
||||
home, err := os.UserHomeDir()
|
||||
if err != nil {
|
||||
@@ -107,7 +107,7 @@ func LocalInfoScan(info *Common.HostInfo) (err error) {
|
||||
// 根据规则搜索敏感文件
|
||||
searchSensitiveFiles()
|
||||
|
||||
Common.LogInfo("本地信息收集完成")
|
||||
Common.LogBase("本地信息收集完成")
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -253,7 +253,7 @@ func geturl(info *Common.HostInfo, flag int, CheckData []WebScan.CheckDatas) (er
|
||||
if reurl != "" {
|
||||
logMsg += fmt.Sprintf(" 重定向地址: %s", reurl)
|
||||
}
|
||||
Common.LogSuccess(logMsg)
|
||||
Common.LogInfo(logMsg)
|
||||
}
|
||||
|
||||
// 返回结果
|
||||
|
||||
Reference in New Issue
Block a user