mmm interesting, I think if WARHOST is used this exploit is going to always fail later:

```
		# wait for the data to be sent
		print_status("Waiting for the server to request the WAR archive....")
		waited = 0
		while (not @war_sent)
			select(nil, nil, nil, 1)
			waited += 1
			if (waited > 30)
				fail_with(Exploit::Failure::Unknown, 'Server did not request WAR archive -- Maybe it cant connect back to us?')
			end
		end

```

I'm going to do some tests but I guess there is something weird when using the WARHOST option, maybe I'm forgetting something atm.