{"action":"closed","issue":{"url":"https://api.github.com/repos/evilsocket/bettercap-proxy-modules/issues/12","labels_url":"https://api.github.com/repos/evilsocket/bettercap-proxy-modules/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/evilsocket/bettercap-proxy-modules/issues/12/comments","events_url":"https://api.github.com/repos/evilsocket/bettercap-proxy-modules/issues/12/events","html_url":"https://github.com/evilsocket/bettercap-proxy-modules/issues/12","id":101197704,"number":12,"title":"MITM injects html, but javascript doesn't execute?","user":{"login":"jackendra","id":4206424,"avatar_url":"https://avatars.githubusercontent.com/u/4206424?v=3","gravatar_id":"","url":"https://api.github.com/users/jackendra","html_url":"https://github.com/jackendra","followers_url":"https://api.github.com/users/jackendra/followers","following_url":"https://api.github.com/users/jackendra/following{/other_user}","gists_url":"https://api.github.com/users/jackendra/gists{/gist_id}","starred_url":"https://api.github.com/users/jackendra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackendra/subscriptions","organizations_url":"https://api.github.com/users/jackendra/orgs","repos_url":"https://api.github.com/users/jackendra/repos","events_url":"https://api.github.com/users/jackendra/events{/privacy}","received_events_url":"https://api.github.com/users/jackendra/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-15T18:33:38Z","updated_at":"2015-08-15T19:25:29Z","closed_at":"2015-08-15T19:25:29Z","body":"Bettercap does say it is \"Injecting into ***\"\r\n\r\nThe command I use is :\r\n\"bettercap --httpd --http-path=/root/Desktop/file.js --proxy --proxy-module=/root/Desktop/custom_inject.rb\"\r\nI checked with a few different devices and browsers, but even if it successfuly injects the code, it seems like the js file is not executed.\r\n\r\nMy JS file contains:\r\n<script>alert(\"hello?\");</script>\r\n\r\nAm I doing anything wrong?"}}