mirror of
https://github.com/0dayCTF/reverse-shell-generator.git
synced 2024-12-18 19:06:09 +00:00
removed file extension
This commit is contained in:
parent
9fe49aa96c
commit
6a680afd74
@ -66,7 +66,7 @@ document.querySelector(".download-listener").addEventListener("click", () => {
|
|||||||
var element = document.createElement('a');
|
var element = document.createElement('a');
|
||||||
const rawLink = RawLink.generate(rsg);
|
const rawLink = RawLink.generate(rsg);
|
||||||
element.setAttribute('href', rawLink);
|
element.setAttribute('href', rawLink);
|
||||||
element.setAttribute('download', rsg.getSelectedCommandName() + '.txt');
|
element.setAttribute('download', rsg.getSelectedCommandName());
|
||||||
document.body.appendChild(element);
|
document.body.appendChild(element);
|
||||||
element.click();
|
element.click();
|
||||||
document.body.removeChild(element);
|
document.body.removeChild(element);
|
||||||
|
Loading…
Reference in New Issue
Block a user