mirror of
https://github.com/NebulaServices/Nebula.git
synced 2025-05-17 13:30:00 -04:00
Make AES more random
This commit is contained in:
parent
89064c7e15
commit
5ed9819c4f
2 changed files with 5 additions and 2 deletions
|
@ -14,7 +14,10 @@ export function Home() {
|
||||||
"/go/" +
|
"/go/" +
|
||||||
encodeURIComponent(
|
encodeURIComponent(
|
||||||
//@ts-ignore
|
//@ts-ignore
|
||||||
enc(inputValue, "295E1389FED4F2187D992178A53F9").substring(10)
|
enc(
|
||||||
|
inputValue,
|
||||||
|
window.location.origin.slice(8) + navigator.userAgent
|
||||||
|
).substring(10)
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ export function ProxyFrame(props: { url: string }) {
|
||||||
//@ts-ignore
|
//@ts-ignore
|
||||||
let decodedUrl = dec(
|
let decodedUrl = dec(
|
||||||
"U2FsdGVkX1" + decodeURIComponent(props.url),
|
"U2FsdGVkX1" + decodeURIComponent(props.url),
|
||||||
"295E1389FED4F2187D992178A53F9"
|
window.location.origin.slice(8) + navigator.userAgent
|
||||||
);
|
);
|
||||||
//attempt to convert to a valid url
|
//attempt to convert to a valid url
|
||||||
decodedUrl = searchUtil(decodedUrl, searchEngine);
|
decodedUrl = searchUtil(decodedUrl, searchEngine);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue