1
mirror of https://github.com/rapid7/metasploit-payloads synced 2025-04-06 01:16:37 +02:00

fix java/android download speed

This commit is contained in:
Tim W 2018-07-06 18:56:54 +08:00
parent 18ed237c1d
commit ecb83e5760

@ -165,7 +165,7 @@ public class Channel {
public void run() { public void run() {
try { try {
byte[] buffer = new byte[4096]; byte[] buffer = new byte[1024*1024];
int len; int len;
while ((len = stream.read(buffer)) != -1) { while ((len = stream.read(buffer)) != -1) {
if (len == 0) if (len == 0)