Skip to content

Commit 3d284ec

Browse files
Fix for Google Issue # 307.
1 parent 423ebda commit 3d284ec

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

configuration/esapi/ESAPI.properties

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -336,9 +336,16 @@ HttpUtilities.HttpSessionIdName=JSESSIONID
336336

337337
#===========================================================================
338338
# ESAPI Executor
339-
# CHECKME - Not sure what this is used for, but surely it should be made OS independent.
340-
Executor.WorkingDirectory=C:\\Windows\\Temp
341-
Executor.ApprovedExecutables=C:\\Windows\\System32\\cmd.exe,C:\\Windows\\System32\\runas.exe
339+
# CHECKME - This should be made OS independent. Don't use unsafe defaults.
340+
# # Examples only -- do NOT blindly copy!
341+
# For Windows:
342+
# Executor.WorkingDirectory=C:\\Windows\\Temp
343+
# Executor.ApprovedExecutables=C:\\Windows\\System32\\cmd.exe,C:\\Windows\\System32\\runas.exe
344+
# For *nux, MacOS:
345+
# Executor.WorkingDirectory=/tmp
346+
# Executor.ApprovedExecutables=/bin/bash
347+
Executor.WorkingDirectory=
348+
Executor.ApprovedExecutables=
342349

343350

344351
#===========================================================================

0 commit comments

Comments
 (0)