Tricks
Normal Trick:
1. Assign eval to a variable
From: eval(code…);
To: var x = eval(code…); document.write(x);
2. Replace document.write() with alert()
From: document.write(code…);
To: alert(code…);
3. Replace eval() with document.write()
From: eval(code…);
To: document.write(code…);
4. Wrap code with alert()
No comments:
Post a Comment