Skip to content

Commit

Permalink
🐞 fix(reverse_check): fix ceye.io dnslog
Browse files Browse the repository at this point in the history
  • Loading branch information
WAY29 committed Feb 8, 2023
1 parent 9acf290 commit a0fef6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/xray/cel/implementation.go
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ func reverseCheck(r *structs.Reverse, timeout int64) bool {
}
content, _ := requests.GetRespBody(resp)

if resp.StatusCode == 200 && len(content) > 0 && !bytes.Contains(content, []byte(sub)) { // api返回结果不为空
if resp.StatusCode == 200 && len(content) > 0 && bytes.Contains(content, []byte(sub)) { // api返回结果不为空
utils.DebugF("Got reverse dnslog from %s", r.Domain)
return true
}
Expand Down

0 comments on commit a0fef6a

Please sign in to comment.