@@ -17193,7 +17193,7 @@ run_breach() {
1719317193 # Assemble the GET command with all available compressions and send them all, initially.
1719417194 # If the result is negative: we can just tell the finding and return. If it's
1719517195 # positive: We already have identified 1x compression
17196- get_command="GET $url HTTP/1.1\r\nHost: $NODE\r\nUser-Agent: $useragent\r\nReferer: $referer\r\nConnection: Close\r\nAccept-encoding: ${compressions// /,}\r\nAccept: text /*\r\n\r\n"
17196+ get_command="GET $url HTTP/1.1\r\nHost: $NODE\r\nUser-Agent: $useragent\r\nReferer: $referer\r\nConnection: Close\r\nAccept-encoding: ${compressions// /,}\r\nAccept: * /*\r\n\r\n"
1719717197 detected_compression=$(sub_breach_helper "$get_command")
1719817198 case "$detected_compression" in
1719917199 warn_stalled)
@@ -17216,7 +17216,7 @@ run_breach() {
1721617216 has_compression+=("$detected_compression:yes")
1721717217 compressions="${compressions//$detected_compression/}"
1721817218 for c in $compressions; do
17219- get_command="GET $url HTTP/1.1\r\nHost: $NODE\r\nUser-Agent: $useragent\r\nReferer: $referer\r\nConnection: Close\r\nAccept-encoding: ${c}\r\nAccept: text /*\r\n\r\n"
17219+ get_command="GET $url HTTP/1.1\r\nHost: $NODE\r\nUser-Agent: $useragent\r\nReferer: $referer\r\nConnection: Close\r\nAccept-encoding: ${c}\r\nAccept: * /*\r\n\r\n"
1722017220 detected_compression=$(sub_breach_helper "$get_command")
1722117221 if [[ $? -ne 0 ]]; then
1722217222 # This failure unlikely here. The initial request must have succeeded and this one then
@@ -21854,7 +21854,7 @@ determine_service() {
2185421854 if [[ -n "$REQHEADERS" ]]; then
2185521855 reqheader="$(join_by "\r\n" "${REQHEADERS[@]}")\r\n" #Add all required custom http headers to one string with newlines
2185621856 fi
21857- GET_REQ11="GET $URL_PATH HTTP/1.1\r\nHost: $NODE\r\nUser-Agent: $ua\r\n${basicauth_header}${reqheader}Accept-Encoding: identity\r\nAccept: text /*\r\nConnection: Close\r\n\r\n"
21857+ GET_REQ11="GET $URL_PATH HTTP/1.1\r\nHost: $NODE\r\nUser-Agent: $ua\r\n${basicauth_header}${reqheader}Accept-Encoding: identity\r\nAccept: * /*\r\nConnection: Close\r\n\r\n"
2185821858 determine_optimal_proto
2185921859 # returns always 0:
2186021860 service_detection $OPTIMAL_PROTO
0 commit comments