Semgrep: JavaScript browser security concat bypass not detected
github.com
github.com
One only has to think of how content filters on school computers leads to people learning about VPNs, DNS, proxies, etc. to know that humans tend to be most creative when they are faced with stupid/unreasonable restrictions.
I kid you not: was able to access local network drives with tests on them, never abused it though.
Opening any office program, navigating to the Visual Basic macro editor environment, and using the file open dialog would execute any binary with no issue though!
As a kid not knowing much about computers I thought that was so cool. I managed to "hack" and bypass the login. What a piece of shit software that thing was.
Yeah, but only for small part of population. Overwhelming majority of students of schools with filters grow up with zero knowledge of any of those.
I worked around it with:
var method = ["T", "E", "G"];
method.reverse();
xhr.open(method.join())
still not sure whether to be proud or disgusted with that trick :)Rule #1: if it's stupid and it works, it's not stupid.