mirror of
https://github.com/rapid7/metasploit-payloads
synced 2025-03-18 15:14:10 +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 {
|
try {
|
||||||
conn = this.targetUrl.openConnection();
|
conn = this.targetUrl.openConnection();
|
||||||
HttpConnection.addRequestHeaders(conn, userAgent, customHeaders);
|
HttpConnection.addRequestHeaders(conn, customHeaders, userAgent);
|
||||||
|
|
||||||
if (this.targetUrl.getProtocol().equals("https")) {
|
if (this.targetUrl.getProtocol().equals("https")) {
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user