This script establishes a null session with a Windows host, before running the standard net view command to list out the available shares. This technique will sometimes yield information that would be normally be denied without authentication