diff options
-rwxr-xr-x | embed.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -37,7 +37,7 @@ if __name__ == "__main__": rf = getenv("HTTP_REFERER",None) if rf is not None: our_hn = urlparse(rf).hostname - if our_hn != correct_hn: + if our_hn != correct_hn and our_hn != "george.gh0.pw": print() print('<h1 style="color: red">no</h1><p>bad referer hostname</p>') sys.exit(0) |