@jvazquez-r7 we are trying to follow any redirects that may occur from what the user enters into the RHOST datastore. For example if you enter pentestgeek.com this address will resolve to www.pentestgeek.com through a 300 redirect. This code is to follow that redirect