mirror of
https://github.com/QuiteAFancyEmerald/Holy-Unblocker.git
synced 2025-05-14 20:30:02 -04:00
Switched to XOR urls on corrosion and updated references to proxies
This commit is contained in:
parent
961b4ad212
commit
630ddb51e2
21 changed files with 33 additions and 49 deletions
|
@ -28,10 +28,14 @@ function goToUrl(url, stealth, nolag) {
|
|||
* goProx.womginx("discord.com", true)
|
||||
*/
|
||||
|
||||
xor = (str) => {
|
||||
return encodeURIComponent(str.toString().split('').map((char, ind) => ind % 2 ? String.fromCharCode(char.charCodeAt() ^ 2) : char).join(''));
|
||||
}
|
||||
|
||||
goProx = {
|
||||
corrosion: function(url, stealth) {
|
||||
document.cookie = 'oldsmobile=badcar; expires=' + (Date.now() + 259200) + '; SameSite=Lax; domain=.' + getDomain() + '; path=/; Secure;';
|
||||
goToUrl("https://" + getDomain() + "/fetch/" + url, stealth);
|
||||
goToUrl("https://" + getDomain() + "/fetch/" + xor(url), stealth);
|
||||
},
|
||||
womginx: function(url, stealth) {
|
||||
document.cookie = 'wgauth=yes; expires=' + (Date.now() + 259200) + '; SameSite=None; domain=.' + getDomain() + '; path=/; Secure;';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue