diff --git a/src/fakepackets.h b/src/fakepackets.h index ec633eb..60de5ac 100644 --- a/src/fakepackets.h +++ b/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); diff --git a/src/goodbyedpi.c b/src/goodbyedpi.c index 6f3ab8b..a10c34b 100644 --- a/src/goodbyedpi.c +++ b/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;