1
mirror of https://github.com/rapid7/metasploit-payloads synced 2025-01-02 11:36:22 +01:00

Land #488, fix HttpUserAgent on java/android

This commit is contained in:
Tim W 2021-05-10 11:11:41 +01:00
commit 62240eefed
No known key found for this signature in database
GPG Key ID: 217FBA50ABBAABEF

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 {