mirror of
				https://github.com/drwetter/testssl.sh.git
				synced 2025-11-04 07:45:27 +01:00 
			
		
		
		
	instantiate BASICAUTH variable
This commit is contained in:
		@@ -204,6 +204,7 @@ SNEAKY=${SNEAKY:-false}                 # is the referer and useragent we leave
 | 
				
			|||||||
QUIET=${QUIET:-false}                   # don't output the banner. By doing this you acknowledge usage term appearing in the banner
 | 
					QUIET=${QUIET:-false}                   # don't output the banner. By doing this you acknowledge usage term appearing in the banner
 | 
				
			||||||
SSL_NATIVE=${SSL_NATIVE:-false}         # we do per default bash sockets where possible "true": switch back to "openssl native"
 | 
					SSL_NATIVE=${SSL_NATIVE:-false}         # we do per default bash sockets where possible "true": switch back to "openssl native"
 | 
				
			||||||
ASSUME_HTTP=${ASSUME_HTTP:-false}       # in seldom cases (WAF, old servers, grumpy SSL) service detection fails. "True" enforces HTTP checks
 | 
					ASSUME_HTTP=${ASSUME_HTTP:-false}       # in seldom cases (WAF, old servers, grumpy SSL) service detection fails. "True" enforces HTTP checks
 | 
				
			||||||
 | 
					BASICAUTH=${BASICAUTH:-""}              # HTTP basic auth credentials can be set here like user:pass
 | 
				
			||||||
BUGS=${BUGS:-""}                        # -bugs option from openssl, needed for some BIG IP F5
 | 
					BUGS=${BUGS:-""}                        # -bugs option from openssl, needed for some BIG IP F5
 | 
				
			||||||
WARNINGS=${WARNINGS:-""}                # can be either off or batch
 | 
					WARNINGS=${WARNINGS:-""}                # can be either off or batch
 | 
				
			||||||
DEBUG=${DEBUG:-0}                       # 1: normal output the files in /tmp/ are kept for further debugging purposes
 | 
					DEBUG=${DEBUG:-0}                       # 1: normal output the files in /tmp/ are kept for further debugging purposes
 | 
				
			||||||
@@ -17310,6 +17311,7 @@ HAS_SED_E: $HAS_SED_E
 | 
				
			|||||||
SHOW_EACH_C: $SHOW_EACH_C
 | 
					SHOW_EACH_C: $SHOW_EACH_C
 | 
				
			||||||
SSL_NATIVE: $SSL_NATIVE
 | 
					SSL_NATIVE: $SSL_NATIVE
 | 
				
			||||||
ASSUME_HTTP $ASSUME_HTTP
 | 
					ASSUME_HTTP $ASSUME_HTTP
 | 
				
			||||||
 | 
					BASICAUTH: $BASICAUTH
 | 
				
			||||||
SNEAKY: $SNEAKY
 | 
					SNEAKY: $SNEAKY
 | 
				
			||||||
OFFENSIVE: $OFFENSIVE
 | 
					OFFENSIVE: $OFFENSIVE
 | 
				
			||||||
PHONE_OUT: $PHONE_OUT
 | 
					PHONE_OUT: $PHONE_OUT
 | 
				
			||||||
@@ -19790,6 +19792,7 @@ parse_cmd_line() {
 | 
				
			|||||||
                    ;;
 | 
					                    ;;
 | 
				
			||||||
               --basicauth|--basicauth=*)
 | 
					               --basicauth|--basicauth=*)
 | 
				
			||||||
                   BASICAUTH="$(parse_opt_equal_sign "$1" "$2")"
 | 
					                   BASICAUTH="$(parse_opt_equal_sign "$1" "$2")"
 | 
				
			||||||
 | 
					                   [[ $? -eq 0 ]] && shift
 | 
				
			||||||
                   ;;
 | 
					                   ;;
 | 
				
			||||||
               (--) shift
 | 
					               (--) shift
 | 
				
			||||||
                    break
 | 
					                    break
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user