mirror of
				https://github.com/drwetter/testssl.sh.git
				synced 2025-11-04 07:45:27 +01:00 
			
		
		
		
	@@ -17196,10 +17196,10 @@ EOF
 | 
				
			|||||||
maketempf() {
 | 
					maketempf() {
 | 
				
			||||||
     TEMPDIR=$(mktemp -d /tmp/testssl.XXXXXX)
 | 
					     TEMPDIR=$(mktemp -d /tmp/testssl.XXXXXX)
 | 
				
			||||||
     if [[ $? -ne 0 ]]; then
 | 
					     if [[ $? -ne 0 ]]; then
 | 
				
			||||||
          # for e.g. devices where we can't write to /tmp:
 | 
					          # For e.g. devices where we can't write to /tmp we chose $PWD but we can't
 | 
				
			||||||
          if [[ $PWD =~ \  ]]; then
 | 
					          # allow every char as we haven't quoted all strings depending on it, see #1445
 | 
				
			||||||
               # We can't allow this as we haven't quoted all strings depending on it, see #1445
 | 
					          if [[ $PWD =~ ^[A-Za-z0-9\.,-/_]+$ ]]; then
 | 
				
			||||||
               fatal "\$PWD contains a blank: \"$PWD\"" $ERR_FCREATE
 | 
					               fatal "\$PWD contains illegal chars: \"$PWD\"" $ERR_FCREATE
 | 
				
			||||||
          fi
 | 
					          fi
 | 
				
			||||||
          TEMPDIR=$(mktemp -d "PWD/testssl.XXXXXX") || exit $ERR_FCREATE
 | 
					          TEMPDIR=$(mktemp -d "PWD/testssl.XXXXXX") || exit $ERR_FCREATE
 | 
				
			||||||
     fi
 | 
					     fi
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user