Skip to content

Commit 8ece530

Browse files
fix (typo): typo in scanner block logic
1 parent c906a4d commit 8ece530

File tree

1 file changed

+1
-1
lines changed
  • server/plugin/plg_security_scanner

1 file changed

+1
-1
lines changed

server/plugin/plg_security_scanner/index.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ func WelcomePackHandle(res http.ResponseWriter, req *http.Request) {
251251
http.Redirect(res, req, "geo:37.786971,-122.399677", 301)
252252
} else if r < 60 {
253253
res.Header().Set("Content-Type", "text/html")
254-
res.Write([]byte(`<html><sript>alert("WAZAAAA");</script></html>`))
254+
res.Write([]byte(`<html><script>alert("WAZAAAA");</script></html>`))
255255
} else if r < 65 {
256256
res.Header().Set("Content-Type", "text/html")
257257
res.Write([]byte(`<html><head><script>do { console.log("WAZAAAA"); } while(true);</script></head><body></body></html>`))

0 commit comments

Comments
 (0)