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:
commit
62240eefed
@ -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