docs_exploit_demo/lib.rs
1// Example I found online that doesn't log
2// This example isn't https but this would still work under https
3#![doc(html_logo_url = "http://www.danasoft.com/vipersig.jpg")]
4
5// favicon could potentially be used too
6//#![doc(html_favicon_url = "http://example.org/malicious.png")]
7
8/*!
9Source: https://github.com/AlexApps99/docs-exploit-demo
10
11
12<script>alert("This isn't very safe...");</script>
13*/