Skip to content

Commit

Permalink
[-]删除冗余代码
Browse files Browse the repository at this point in the history
  • Loading branch information
lcvvvv committed Apr 11, 2022
1 parent 281c1f5 commit dbc21b8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion get-appbanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ func getAppBanner(url *urlparse.URL, tcpBanner *TcpBanner) *AppBanner {
r.Protocol = "unknown"
r.SetInfo("MaybeProtocolIs :" + GuessProtocol(r.Port))
r.AppDigest = "ResponseIsEmpty"
//return nil
}

if r.StatusCode == ERROR_NOT_SUCH_HOST {
Expand Down
1 change: 0 additions & 1 deletion lib/shttp/shttp.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import (

var (
UserAgents = []string{
"Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)",
"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; AcooBrowser; .NET CLR 1.1.4322; .NET CLR 2.0.50727)",
"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; Acoo Browser; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506)",
"Mozilla/4.0 (compatible; MSIE 7.0; AOL 9.5; AOLBuild 4337.35; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)",
Expand Down

0 comments on commit dbc21b8

Please sign in to comment.