mirror of
https://github.com/0dayCTF/reverse-shell-generator.git
synced 2024-12-19 19:36:10 +00:00
Merge pull request #132 from AyhamAl-Ali/fix/self-xss
⚒ Fix Self-XSS #131
This commit is contained in:
commit
758efce7de
@ -115,7 +115,7 @@ const fixedEncodeURIComponent = function (str) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const rsg = {
|
const rsg = {
|
||||||
ip: query.get('ip') || localStorage.getItem('ip') || '10.10.10.10',
|
ip: (query.get('ip') || localStorage.getItem('ip') || '10.10.10.10').replace(/[^a-zA-Z0-9.\-]/g, ''),
|
||||||
port: query.get('port') || localStorage.getItem('port') || 9001,
|
port: query.get('port') || localStorage.getItem('port') || 9001,
|
||||||
payload: query.get('payload') || localStorage.getItem('payload') || 'windows/x64/meterpreter/reverse_tcp',
|
payload: query.get('payload') || localStorage.getItem('payload') || 'windows/x64/meterpreter/reverse_tcp',
|
||||||
payload: query.get('type') || localStorage.getItem('type') || 'cmd-curl',
|
payload: query.get('type') || localStorage.getItem('type') || 'cmd-curl',
|
||||||
|
Loading…
Reference in New Issue
Block a user