mirror of
https://github.com/0dayCTF/reverse-shell-generator.git
synced 2024-12-18 10:56:10 +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');
|
||||
const rawLink = RawLink.generate(rsg);
|
||||
element.setAttribute('href', rawLink);
|
||||
element.setAttribute('download', rsg.getSelectedCommandName() + '.txt');
|
||||
element.setAttribute('download', rsg.getSelectedCommandName());
|
||||
document.body.appendChild(element);
|
||||
element.click();
|
||||
document.body.removeChild(element);
|
||||
|
Loading…
Reference in New Issue
Block a user