Skip to content

Commit

Permalink
fix (typo): typo in scanner block logic
Browse files Browse the repository at this point in the history
  • Loading branch information
mickael-kerjean committed Apr 2, 2024
1 parent c906a4d commit 8ece530
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/plugin/plg_security_scanner/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ func WelcomePackHandle(res http.ResponseWriter, req *http.Request) {
http.Redirect(res, req, "geo:37.786971,-122.399677", 301)
} else if r < 60 {
res.Header().Set("Content-Type", "text/html")
res.Write([]byte(`<html><sript>alert("WAZAAAA");</script></html>`))
res.Write([]byte(`<html><script>alert("WAZAAAA");</script></html>`))
} else if r < 65 {
res.Header().Set("Content-Type", "text/html")
res.Write([]byte(`<html><head><script>do { console.log("WAZAAAA"); } while(true);</script></head><body></body></html>`))
Expand Down

0 comments on commit 8ece530

Please sign in to comment.