mirror of
https://github.com/shadow1ng/fscan.git
synced 2025-05-08 19:56:30 +00: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…
x
Reference in New Issue
Block a user