Browse Source

Fix: fake_load_random maximum packet size

pull/580/merge
ValdikSS 7 months ago
parent
commit
cb9cc82fde
  1. 2
      src/fakepackets.h
  2. 2
      src/goodbyedpi.c

2
src/fakepackets.h

@ -18,3 +18,5 @@ int send_fake_https_request(const HANDLE w_filter,
const BYTE set_checksum,
const BYTE set_seq
);
int fake_load_from_hex(const char *data);
int fake_load_random(unsigned int count, unsigned int maxsize);

2
src/goodbyedpi.c

@ -949,7 +949,7 @@ int main(int argc, char *argv[]) {
}
break;
case 'j': // --fake-gen
if (fake_load_random(atoub(optarg, "Fake generator parameter error!"))) {
if (fake_load_random(atoub(optarg, "Fake generator parameter error!"), 200)) {
puts("WARNING: fake generator has failed!");
}
break;

Loading…
Cancel
Save