add gzip to exec bigbrother for sites and fix passphase print in site creator
This commit is contained in:
		
							parent
							
								
									d0291c2fb3
								
							
						
					
					
						commit
						2bc14b5c63
					
				
					 2 changed files with 3 additions and 1 deletions
				
			
		|  | @ -45,9 +45,11 @@ def block_exec(event, info): | |||
|     """Prevent arbitrary code execution in eval/exec and log it.""" | ||||
|     # because libraries have stupid amounts of compile/exec/eval, | ||||
|     # We have to use a whitelist where it can be tolerated | ||||
|     # Generally better than nothing, not a silver bullet | ||||
|     whitelisted_code = [ | ||||
|                         'netrc.py', | ||||
|                         'shlex.py', | ||||
|                         'gzip.py', | ||||
|                         '<werkzeug routing>', | ||||
|                         'werkzeug/test.py', | ||||
|                         'multiprocessing/popen_fork.py', | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue