1
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:
XhstormR 2021-05-07 10:40:43 +08:00
parent d8d92d5689
commit b23d438822

View File

@ -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 {