mirror of
https://github.com/rapid7/metasploit-payloads
synced 2024-11-20 14:39:22 +01:00
fix parameter sequence is incorrect
Signed-off-by: XhstormR <10527522+XhstormR@users.noreply.github.com>
This commit is contained in:
parent
d8d92d5689
commit
b23d438822
@ -253,7 +253,7 @@ public class HttpTransport extends Transport {
|
||||
|
||||
try {
|
||||
conn = this.targetUrl.openConnection();
|
||||
HttpConnection.addRequestHeaders(conn, userAgent, customHeaders);
|
||||
HttpConnection.addRequestHeaders(conn, customHeaders, userAgent);
|
||||
|
||||
if (this.targetUrl.getProtocol().equals("https")) {
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user