The original author of this script is pentestmonkey@pentestmonkey.net. Thanks to him for this great work.