concept vulnerable Tomcat server in category security
appears as: vulnerable Tomcat server

This is an excerpt from Manning's book The Art of Network Penetration Testing.
On a real engagement you might not know right away if this is a Windows host, so you should typically run the whoami command first. This command is recognized in Windows, Linux and Unix operating systems and the output of the command can be used to clearly determine what operating system your target is running. In this case, the vulnerable Tomcat server is running Windows, so you’ll leverage Windows based attacks for this system.