[hackerspaces] sending SMS message over usb?

Bryan Bishop kanzure at gmail.com
Wed Nov 28 16:48:19 CET 2012


On Wed, Nov 28, 2012 at 9:39 AM, Yigit Ozkan <yigitozkan2804 at gmail.com>wrote:

> i've got a Samsung Galaxy S5830 (
> http://www.gsmarena.com/samsung_galaxy_ace_s5830-3724.php) and I'm
> looking for a way to send SMS messages with it using Python. The script
> will run on the computer. Is this possible?
>

Well, you can always go blackhat....

https://github.com/thomascannon/android-sms-spoof

But more seriously, if you have the android sdk installed and the phone
connected by USB:

adb shell am start -a android.intent.action.SENDTO -d sms:CCXXXXXXXXXX --es
sms_body "SMS BODY GOES HERE" --ez exit_on_sent true
adb shell input keyevent 22
adb shell input keyevent 66

You could also just use the normal permissions an Android app can request,
like for sending sms.

- Bryan
http://heybryan.org/
1 512 203 0507
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hackerspaces.org/pipermail/discuss/attachments/20121128/89b35742/attachment.html>


More information about the Discuss mailing list