mirror of
https://github.com/shadow1ng/fscan.git
synced 2025-07-15 05:42:35 +08:00
webtitle update
This commit is contained in:
parent
4f3ff608ab
commit
f5c9667f91
@ -141,7 +141,7 @@ func geturl(info *common.HostInfo, flag int, CheckData []WebScan.CheckDatas) (er
|
||||
return err, "", CheckData
|
||||
}
|
||||
if flag != 2 {
|
||||
re := regexp.MustCompile("(?im)<title>(.*)</title>")
|
||||
re := regexp.MustCompile("(?ims)<title>(.*)</title>")
|
||||
find := re.FindSubmatch(body)
|
||||
if len(find) > 1 {
|
||||
text = find[1]
|
||||
|
Loading…
Reference in New Issue
Block a user