Skip to content

Commit

Permalink
Update SearchEngine.java
Browse files Browse the repository at this point in the history
  • Loading branch information
bit4woo committed Jul 23, 2024
1 parent 7dc84b8 commit 710f1a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/InternetSearch/SearchEngine.java
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@ else if (engine.equalsIgnoreCase(FOFA)) {
} else if(type.equals(SearchType.Subnet)) {
value = String.format("ip=\"%s\"", value);
} else if (type.equals(SearchType.Title)) {
value = String.format("title=\"%s\"", value);
//查询title时,使用=有大量误报,使用==进行更严格的匹配。大小写敏感的,字符串完全相同
value = String.format("title==\"%s\"", value);
} else if (type.equals(SearchType.IconHash)) {
value = String.format("icon_hash=\"%s\"", value);
}else if(type.equals(SearchType.Server)) {
Expand Down

0 comments on commit 710f1a2

Please sign in to comment.