rapid7/metasploit-framework — pull request #3052 by jvennix-r7 (2014-03-03 02:52:12+00:00)
Title: Fixes nil error in BrowserExploitServer

RM #8762

I also removed the synchronous AJAX POST of the gathered metadata. An extra request here adds some unnecessary overhead which is annoying on mobile connections. Instead I do an actual form POST, which the plugin immediately redirects to the exploit GET URL.

Verification:
- [ ] Run any module that uses BES, visit it in your (applicable) browser
- [ ] the module should serve the exploit
- [ ] refresh the exploit page in your browser
- [ ] you should not receive the exploit again
- [ ] `rerun` the module, and refresh it in your browser
- [ ] the module should serve the exploit again
- [ ] refresh the exploit page in your browser
- [ ] you should not receive the exploit again