maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   SMS Bomber on Sailfish OS (https://talk.maemo.org/showthread.php?t=99662)

HtheB 2017-08-02 22:22

SMS Bomber on Sailfish OS
 
Is there any native app for Sailfish OS to be able to send a lot of messages at once to the same person?

Schturman 2017-08-03 00:19

Re: SMS Bomber on Sailfish OS?
 
Quote:

Originally Posted by HtheB (Post 1531914)
Is there any native app for Sailfish OS to be able to send a lot of messages at once to the same person?

Hi. You really don't like someone :D
You can create simple script for this...
1. Create file named "bombsms.sh" in /home/nemo.
2. Add this content:
Code:

#!/bin/bash

set -x
dconf write /desktop/bombsms/count 0
while true
do
if [[ $(dconf read /desktop/bombsms/count) == 5 ]]; then
break
else
dbus-send --system --print-reply --dest=org.ofono /ril_0 org.ofono.MessageManager.SendMessage string:PHONE string:"BANANA!!!"
dconf write /desktop/bombsms/count $(($(dconf read /desktop/bombsms/count)+1))
sleep 2
fi
done

3. Do some changes and save them:
PHONE - change to number of person in international or local format.
5 - change to number of sms's you want to send, but REMEMBER -> you pay for each sms!!!
sleep 2 - change to prefered interval in seconds between sms's.
BANANA!!! - change to your own text.
4. Give permission:
Code:

chmod 4755 /home/nemo/bombsms.sh
5. Run script as USER (nemo):
Code:

/home/nemo/bombsms.sh
6. This sms's not shown in Messages app.

Enjoy :D

HtheB 2017-08-03 05:49

Re: SMS Bomber on Sailfish OS?
 
Thank you very much!
No, my provider has unlimited data, but after the first 5GB, I need to send a text message that will give me another free 1GB extra, and if that is also been used, I can send another message to get another 1GB (I can go on forever for free)
They have done this to prevent abuse of the unlimited data.

But I found out that I don't have to wait to use the first 5GB at all. I can send like 50 messages directly, and get 50GB :D


Now all I need is a .desktop file

Schturman 2017-08-03 06:11

Re: SMS Bomber on Sailfish OS?
 
Hhhaaa, ok. How to create .desktop file you know :)
Good luck :)

HtheB 2017-08-03 09:10

Re: SMS Bomber on Sailfish OS?
 
1 Attachment(s)
for the users that wants a .desktop file, you can get the attached icon and use this for the desktop file (name de file to smsbomber.desktop and move it to "/usr/share/applications/":

Code:

[Desktop Entry]
Name=SMS Bomber
Comment=SMS Bomber script by Schturman
Exec=/home/nemo/smsbomber.sh
Icon=/home/nemo/smsbomber.png
Terminal=false
Type=Application


Schturman 2017-08-03 17:57

Re: SMS Bomber on Sailfish OS
 
Ufff, it taken my thoughts... I think I will create simple app for this with setting (qml) :D

Schturman 2017-08-04 07:34

Re: SMS Bomber on Sailfish OS
 
2 Attachment(s)
Hehh.... :D

n950 2017-08-04 07:59

Re: SMS Bomber on Sailfish OS
 
Quote:

Originally Posted by Schturman (Post 1532026)
Hehh.... :D

Hi,
Can you share application please?
It's nice.
Thank you
You do a good work.

Schturman 2017-08-04 08:38

Re: SMS Bomber on Sailfish OS
 
Quote:

Originally Posted by n950 (Post 1532029)
Hi,
Can you share application please?
It's nice.
Thank you
You do a good work.

Soon on openrepos... I need to do some tests and package it :)

HtheB 2017-08-04 09:52

Re: SMS Bomber on Sailfish OS
 
Quote:

Originally Posted by Schturman (Post 1532033)
Soon on openrepos... I need to do some tests and package it :)

Maybe you should add a checkbox with "I have unlimited SMS Plan" so that will enable a higher quantity of sms's (So I can send 500 instead of 15 :p ).


All times are GMT. The time now is 02:17.

vBulletin® Version 3.8.8