
XSS Shield is basically a UserScript which disables javascript insertions that may have happened. For example, if you turned on html, then something this would prevent would be:
ShadyGuy wrote:
[htmladd]<button onload="while (true) {window.alert('SomeShadyTextHere');}">Click here for awesomeness</button>[/htmladd]
But XSS can come in many shapes and sizes. It might even come as a like button.
ShadyGuy wrote:
Something really helpful here.
[likebtn]http://scratch.mit.edu/forums/viewtopic.php?tid=1234" onmousedown="while (true) {window.alert('Haha! Gotcha! Some more shady text here.')}[/likebtn]
[likecount]http://scratch.mit.edu/viewtopic.php?tid=1234[/likecount]
There are two versions:
Lite Version
Disables load, unload, and mouse events on flagged elements (images and links.) Recommended if installing an insecure script.
Download Here: http://www.cfagency.org/xssshield_lite.user.js
Full Version
Disables all javascript events on all elements. Recommended if you are enabling HTML.
Download Here: http://www.cfagency.org/xssshield.user.js
Last edited by GeonoTRON2000 (2012-04-15 21:55:50)
Offline
zippynk wrote:
Well you could still do...
[ htmladd]
< /html>
[ /htmladd]
perhaps you should have it censor < /html> except for on the last line?
Good idea.
Offline
GeonoTRON2000 wrote:
zippynk wrote:
Well you could still do...
[ htmladd]
< /html>
[ /htmladd]
perhaps you should have it censor < /html> except for on the last line?Good idea.
[htmladd]
</body>
[/htmladd]
The amount of things people can do is enormous.
Offline
[htmladd]
<div style="display:none;">
[/htmladd]
Offline
Ok, I added the censoring to the script, it may not work, though... It's a little feeble. It's only in the full version.
Last edited by GeonoTRON2000 (2012-04-16 10:27:41)
Offline
veggieman001 wrote:
[htmladd]
<div style="display:none;">
[/htmladd]
Lol... that does nothing but hide itself. I tried it.
Offline
GeonoTRON2000 wrote:
Ok, I added the censoring to the script, it may not work, though... It's a little feeble. It's only in the full version.
I need a way to get and set the whole document's html (including the html tags.)
Right now I have in mind for getting, and XMLHttpRequest to self, and for setting, document.write. Any suggestions?
Offline
GeonoTRON2000 wrote:
I found how for getting. For setting, I'll use document.write.
Aw, forget it. Removing these does more harm than good. When you turn on HTML, you expect the forum to become a website. Enjoy the lack of disguised rick-roll links and endless strings of alert boxes.
Offline
GeonoTRON2000 wrote:
GeonoTRON2000 wrote:
I found how for getting. For setting, I'll use document.write.
Aw, forget it. Removing these does more harm than good. When you turn on HTML, you expect the forum to become a website. Enjoy the lack of disguised rick-roll links and endless strings of alert boxes.
And to go along with rick rolls, we have the Rick Roller!!!!
Offline