Avast


Avast SMS commands overview

http://www.avast.com/en-us/free-mobile-security#tab3

LOST

Sample: 2222 LOSTMarks the phone as LOST. This command initiates the same actions as a SIM card change, depending on the protection behavior settings.

FOUND

Sample: 2222 FOUNDMarks the phone as FOUND. This command disables the phone lock as well as the siren alarm.

LOCK

Sample: 2222 LOCKLock the mobile phone

UNLOCK

Sample: 2222 UNLOCKUnlock the mobile phone

MESSAGE

Sample: 2222 MESSAGE Give back my phone!Will display a message on the phone. Can be dismissed. Use LOCK and SET LOCKTEXT to display a sticky message

SIREN ON

Sample: 2222 SIREN ONTurn siren on

SIREN OFF

Sample: 2222 SIREN OFFTurn siren off

LOCATE

Sample: 2222 LOCATELocate the device

LOCATE

Sample: 2222 LOCATE 5Track the device continuously

LOCATE STOP

Sample: 2222 LOCATE STOPStop continous tracking

CALL [phone number]

Sample: 2222 CALLSample: 2222 CALL +43660333555If no phone number is given this command causes the phone to call you back. If you give the phone number the phone will call the given number

FORWARD SMS [phone number]

Sample: 2222 FORWARD SMSSample: 2222 FORWARD SMS +43660333555If no phone number is given, incoming SMS will silently be forwarded to the phone that sent the command. If a phone number is given, incoming SMS will be forwarded to the given phone number. This command overrides all previously issued SMS-forwarding-settings.
The forwarding can be cancelled by issuing theFORWARD SMS STOPcommand or by launching avast! Anti-Theft.

CC SMS [phone number]

Sample: 2222 CC SMSSample: 2222 CC SMS +43660333555Same as FORWARD SMS, but will not delete the SMS after forwarding which means that the forwarded SMS will still be delivered to the target phone (CC means carbon copy). This command overrides all previously issued SMS-forwarding-settings.
The forwarding can be cancelled by issuing theCC SMS STOPcommand or by launching avast! Anti-Theft.

CC CALLS [phone number]

Sample: 2222 CC CALLSSample: 2222 CC CALLS +43660222333By issuing this command you can request SMS notifications about incoming calls. The notifications will be sent to the phone that issued the command if no other phone number is given. This command overrides all previously issued call-forwarding-settings.
We did not implement direct forwarding of the calls as this works differently in the networks around the world. Also it is not possible to hide the forwarding settings from the thieves eyes reliably.
The forwarding can be cancelled by issuing theCC CALLS STOPcommand or by launching avast! Anti-Theft.

CC ALL [phone number]

Sample: 2222 CC ALLSample: 2222 CC ALL +43660222333Combines the CC SMS and the CC CALLS command. This command overrides all previously issued SMS- and call-forwarding- settings.
The forwarding can be cancelled by issuing theCC ALL STOPcommand or by launching avast! Anti-Theft.

WIPE

Sample: 2222 WIPEWipe all data from the phone

GET SMS

Sample: 2222 GET 10 SMSQuery SMS messages

GET INBOX SMS

Sample: 2222 GET 10 INBOX SMSQuery received SMS messages

GET SENT SMS

Sample: 2222 GET 10 SENT SMSQuery sent SMS messages

GET SMS FOR

Sample: 2222 GET 10 SMS FOR +43660333555Query SMS messages matching the phone number given

GET CONTACTS

Sample: 2222 GET CONTACTSQuery the contacts from the address book

GET LOG

Sample: 2222 GET LOG 10Query the call and SMS log

LAUNCH

Sample: 2222 LAUNCHLaunches avast! Anti-Theft user interface

CLOSE

Sample: 2222 CLOSECloses avast! Anti-Theft user interface

REBOOT

(only for rooted devices)Sample: 2222 REBOOTReboots the device

SET OWNER

Sample: 2222 SET OWNER Charles ChaplinWill change the device owner name

SET PASSWORD

Sample: 2222 SET PASSWORD 3333Will change the avast! password. You will need to provide a password of 4-6 digits

SET FRIEND 1

Sample: 2222 SET FRIEND 1 +43660122220192Will change the phone number of the first friend. Provide a valid mobile phone number

SET FRIEND 2

Sample: 2222 SET FRIEND 2 +43660122220192Will change the phone number of the second friend. Provide a valid mobile phone number

SET ONLYFRIENDS

Sample: 2222 SET ONLYFRIENDS 1Will change the SMS command authorization mode (0 = allow all numbers, 1 = allow only friend commands)

SET LOCKMODE

Sample: 2222 SET LOCKMODE 1Will change the phone lock protection behavior (0 = do not lock, 1 = auto lock)

SET SIRENMODE

Sample: 2222 SET SIRENMODE 1Will change the siren protection behavior (0 = no siren on lock, 1 = siren on lock)

SET APPLOCKMODE

Sample: 2222 SET APPLOCKMODE 1Will change the program manager or phone setting protection behavior (0 = no setting active, 1 = deny program manager, 2 = deny phone settings)

SET USBLOCKMODE

(only for rooted devices)Sample: 2222 SET USBLOCKMODE 1Will change the USB debugging access protection behavior (0 = do not lock USB debugging access, 1 = lock USB debugging access)

SET FORCEDATAMODE

(only for rooted devices)Sample: 2222 SET FORCEDATAMODE 1Will change the force data connection protection behavior (0 = do not force data connection, 1 = force data connection)

SET BATTERYSMSMODE

Sample: 2222 SET BATTERYSMSMODE 1Will change the low battery notification protection behavior (0 = do not notify on low battery, 1 = notify on low battery)

SET LOCKTEXT

Sample: 2222 SET LOCKTEXT Please call me back at +4313283483Will change the custom lock text

SET AUTOGPS

Sample: 2222 SET AUTOGPS 1Will enable or disable automatic enablement of GPS (0 = turn off, 1 = turn on)

SET WIPEMODE

Sample: 2222 SET WIPEMODE 1Will enable or disable thorough wipe (0 = turn off, 1 = turn on)

SET PROTECTION

Sample: 2222 SET PROTECTION 1Will enable or disable Anti-Theft protection (0 = turn off, 1 = turn on)
Caution: By using this command you will completely disable the Avast! Anti-Theft system thus rendering the Anti-Theft protection useless.

Implement own remote commands

Avast! Anti-Theft is able to launch any programs on the phone and pass data to the launched program.
SMS command:
Samples:
2222 at.domain.package.Activity Test will start the activity OR service at.domain.package.Activity and pass Test as an parameter to it.
2222 at.domain.package.Activity This is my command line will start the activity OR service at.domain.package.Activity and pass This is my command line as an parameter to it.
The activity or service needs to be positioned on the root of the package (sub-packages are NOT supported).
Data transfer is done via Intent:
Intent i = new Intent();
i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
i.putExtra("number", origNumber);
i.putExtra("cmd", data);
i.setComponent(cName);
This means you can then read (in your service or activity) the sender number in the String extra number and the command from the String extra cmd.
Anti-Theft always tries to start an Activity first, if none is found it tries to start a Service, if this fails it will reply with an error SMS.

Nenhum comentário: