From 80fcd9c5cf22c511dc3643d496d80700b3cf2129 Mon Sep 17 00:00:00 2001 From: ValdikSS Date: Sat, 25 Dec 2021 11:16:52 +0300 Subject: [PATCH] Replace required/optional brackets in the readme --- README.md | 25 ++++++++++++++----------- src/goodbyedpi.c | 22 +++++++++++----------- 2 files changed, 25 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index 1cbe511..ed545ef 100644 --- a/README.md +++ b/README.md @@ -17,26 +17,29 @@ Usage: goodbyedpi.exe [OPTION...] -r replace Host with hoSt -s remove space between host header and its value -m mix Host header case (test.com -> tEsT.cOm) - -f [value] set HTTP fragmentation to value - -k [value] enable HTTP persistent (keep-alive) fragmentation and set it to value + -f set HTTP fragmentation to value + -k enable HTTP persistent (keep-alive) fragmentation and set it to value -n do not wait for first segment ACK when -k is enabled - -e [value] set HTTPS fragmentation to value + -e set HTTPS fragmentation to value -a additional space between Method and Request-URI (enables -s, may break sites) -w try to find and parse HTTP traffic on all processed ports (not only on port 80) - --port [value] additional TCP port to perform fragmentation on (and HTTP tricks with -w) - --ip-id [value] handle additional IP ID (decimal, drop redirects and TCP RSTs with this ID). + --port additional TCP port to perform fragmentation on (and HTTP tricks with -w) + --ip-id handle additional IP ID (decimal, drop redirects and TCP RSTs with this ID). This option can be supplied multiple times. - --dns-addr [value] redirect UDP DNS requests to the supplied IP address (experimental) - --dns-port [value] redirect UDP DNS requests to the supplied port (53 by default) - --dnsv6-addr [value] redirect UDPv6 DNS requests to the supplied IPv6 address (experimental) - --dnsv6-port [value] redirect UDPv6 DNS requests to the supplied port (53 by default) + --dns-addr redirect UDP DNS requests to the supplied IP address (experimental) + --dns-port redirect UDP DNS requests to the supplied port (53 by default) + --dnsv6-addr redirect UDPv6 DNS requests to the supplied IPv6 address (experimental) + --dnsv6-port redirect UDPv6 DNS requests to the supplied port (53 by default) --dns-verb print verbose DNS redirection messages - --blacklist [txtfile] perform HTTP tricks only to host names and subdomains from + --blacklist perform HTTP tricks only to host names and subdomains from supplied text file. This option can be supplied multiple times. - --set-ttl [value] activate Fake Request Mode and send it with supplied TTL value. + --set-ttl activate Fake Request Mode and send it with supplied TTL value. DANGEROUS! May break websites in unexpected ways. Use with care. + --auto-ttl [decttl] activate Fake Request Mode, automatically detect TTL and decrease + it from standard 64 or 128 by decttl (128/64 - TTL - 2 by default). --wrong-chksum activate Fake Request Mode and send it with incorrect TCP checksum. May not work in a VM or with some routers, but is safer than set-ttl. + --wrong-seq activate Fake Request Mode and send it with TCP SEQ/ACK in the past. --native-frag fragment (split) the packets by sending them in smaller packets, without shrinking the Window Size. Works faster (does not slow down the connection) and better. diff --git a/src/goodbyedpi.c b/src/goodbyedpi.c index e468182..c895f56 100644 --- a/src/goodbyedpi.c +++ b/src/goodbyedpi.c @@ -719,21 +719,21 @@ int main(int argc, char *argv[]) { " -s remove space between host header and its value\n" " -a additional space between Method and Request-URI (enables -s, may break sites)\n" " -m mix Host header case (test.com -> tEsT.cOm)\n" - " -f [value] set HTTP fragmentation to value\n" - " -k [value] enable HTTP persistent (keep-alive) fragmentation and set it to value\n" + " -f set HTTP fragmentation to value\n" + " -k enable HTTP persistent (keep-alive) fragmentation and set it to value\n" " -n do not wait for first segment ACK when -k is enabled\n" - " -e [value] set HTTPS fragmentation to value\n" + " -e set HTTPS fragmentation to value\n" " -w try to find and parse HTTP traffic on all processed ports (not only on port 80)\n" - " --port [value] additional TCP port to perform fragmentation on (and HTTP tricks with -w)\n" - " --ip-id [value] handle additional IP ID (decimal, drop redirects and TCP RSTs with this ID).\n" - " --dns-addr [value] redirect UDPv4 DNS requests to the supplied IPv4 address (experimental)\n" - " --dns-port [value] redirect UDPv4 DNS requests to the supplied port (53 by default)\n" - " --dnsv6-addr [value] redirect UDPv6 DNS requests to the supplied IPv6 address (experimental)\n" - " --dnsv6-port [value] redirect UDPv6 DNS requests to the supplied port (53 by default)\n" + " --port additional TCP port to perform fragmentation on (and HTTP tricks with -w)\n" + " --ip-id handle additional IP ID (decimal, drop redirects and TCP RSTs with this ID).\n" + " --dns-addr redirect UDPv4 DNS requests to the supplied IPv4 address (experimental)\n" + " --dns-port redirect UDPv4 DNS requests to the supplied port (53 by default)\n" + " --dnsv6-addr redirect UDPv6 DNS requests to the supplied IPv6 address (experimental)\n" + " --dnsv6-port redirect UDPv6 DNS requests to the supplied port (53 by default)\n" " --dns-verb print verbose DNS redirection messages\n" - " --blacklist [txtfile] perform HTTP tricks only to host names and subdomains from\n" + " --blacklist perform HTTP tricks only to host names and subdomains from\n" " supplied text file. This option can be supplied multiple times.\n" - " --set-ttl [value] activate Fake Request Mode and send it with supplied TTL value.\n" + " --set-ttl activate Fake Request Mode and send it with supplied TTL value.\n" " DANGEROUS! May break websites in unexpected ways. Use with care.\n" " --auto-ttl [decttl] activate Fake Request Mode, automatically detect TTL and decrease\n" " it from standard 64 or 128 by decttl (128/64 - TTL - 2 by default).\n"