Make your own SMS sender in LINUX!!! [Warid, Telenor Added]

Discussion of programming on Linux, including shell scripting, perl, python, c/c++, mono, java. Whatever tickles your fancy.
Post Reply
dontrelyme
Cadet
Posts: 8
Joined: Mon Dec 26, 2005 2:03 am

Post by dontrelyme »

hi i want dat u have a look to this site
gnetsmsbot.tk

By using warid online gateway, he has done a great job.
If we add smsbot to our msn messenger than we can send msgs
to warid numbers.
If anyone can understand whts going on, thn plz share to all.
plz check the site and share whts the logic behind dat.

I cant do anything as i m not a programmer or Coder.
tnx
outhanger
Battalion Quarter Master Havaldaar
Posts: 214
Joined: Sun Apr 18, 2004 5:58 pm
Location: CEME, Pindi

Post by outhanger »

dontrelyme wrote:By using warid online gateway, he has done a great job.
Hmm, so when is masud giving us the details of this gateway.
Also my mobilink code stopped working. Anyone got the latest details on that?
"Where blasphemy is a crime, religious freedom does not exist." - Stallman to Musharraf
masud
Havaldaar
Posts: 108
Joined: Thu Aug 05, 2004 12:15 am
Location: Fremont, CA
Contact:

Post by masud »

Salamz!

sorry guys! bit busy in professional life :).

Exposing network stuff is easy/fun for me

outhanger wrote:
Hmm, so when is masud giving us the details of this gateway.
Also my mobilink code stopped working. Anyone got the latest details on that?
Comon! you don't have mobilink code :(. ok get it from here
http://www.geocities.com/xlx_silentplay ... bilinkv2.c

sorry for the free hosting but I am sure its not gona expire on any date. :).

WARID :::::
My friend and me *myself* using WARID for sending sms, Its simple not that hard one to expose , just need to put data using POST and thats all (smart ) :). BUTTTTTTT it requires a valid user to send sms.

I stored username and password in my C code it connects it self and send sms :). though I can't allow you to send sms using my number. hehehe

I will paste the code here tonight. It will ask for the username and password before sending sms. :).

NOTE: Any one can donate his/her username and password but not me:). I don't want my self to be in trouble. :)

:::: Coming Soon :::::::
1) Getting new email alerts on mobile. Its my lovely "Blue Berry" :).
[ support mailboxs: gmail, hotmail :) ]
2) Getting messengers text to your mobile . :) .
3) I wish I Have a Live system of my own , I should have launch all these services for free .:).

Take care
Allah Hafiz

Masood Mehmood
--SP--
hammadtariq
Lance Naik
Posts: 20
Joined: Mon Feb 20, 2006 7:00 pm

Post by hammadtariq »

Well masud I have downloaded both .c and .php versions of mobilink script and cheked them. I am using Windows Xp at home with php binaries installed and using IIS server, its giving me the error of unable to create socket and when I uploaded it on my server which is running on linux, it results back with unable to connect to socket: Ping time out...

Well, I have tried to ping to the IP given in the script and it seems to be dead!

Any updates?
I am de Game and de Game is Over!
s4salman
Cadet
Posts: 2
Joined: Thu Mar 23, 2006 2:25 pm

ufone sms php script

Post by s4salman »

Dear
can any one make the complate php script for sending sms ufone script.Means complate with form where users could put cell number,message and send it to the php script.
Kdaemon
Naib Subedar
Posts: 346
Joined: Sat Nov 30, 2002 12:22 pm
Location: Islamabad. GPS: LHR

Post by Kdaemon »

I'll try to fix old php sms sending code by tomorrow.
reg linux user #298274
Kdaemon
Naib Subedar
Posts: 346
Joined: Sat Nov 30, 2002 12:22 pm
Location: Islamabad. GPS: LHR

Post by Kdaemon »

Php mobilink sms sending code,
This file only contains functions, you can include this file and call send_sms with related parameters. You can tweak to map your requirements
reg linux user #298274
hammadtariq
Lance Naik
Posts: 20
Joined: Mon Feb 20, 2006 7:00 pm

Post by hammadtariq »

I am recieving this error again, upon trying the new code too which is given by Kdaemon.

Code: Select all

Fatal error: Call to undefined function: socket_create() in c:\inetpub\wwwroot\web2sms\process.php on line 756
On pinging the IP given in the code, it returns with Request Timed Out too.
Please help out bhya...
I am de Game and de Game is Over!
ysajid
Lance Naik
Posts: 26
Joined: Thu Apr 07, 2005 2:57 pm

Post by ysajid »

Trying this code...


i got the following error
Warning: socket_connect() unable to connect [111]: Connection refused in /home/sajid/public_html/sms/mobsms.php on line 783

Warning: socket_write() unable to write to socket [32]: Broken pipe in /home/sajid/public_html/sms/mobsms.php on line 789


DL:
http://www.sajid.biz/sms/mobsms.tar.gz
Last edited by ysajid on Thu May 18, 2006 12:57 pm, edited 2 times in total.
masud
Havaldaar
Posts: 108
Joined: Thu Aug 05, 2004 12:15 am
Location: Fremont, CA
Contact:

Mobilink!

Post by masud »

AoA
Hi all. I tried mobilink website today and its not working so the problem seems to be on mobilink end. IF you find out chat.mobilibksms.com is working and my script not then please put a line here. I will try my best to come up with a good solution.

Mobilink restricted the usename length as well, it's approx 10 character now. And notification alert before any sms communication, looks good. :)

BTW: I will try to check mobilink website again and if I find out any kind of modification in sms protocol, I will update it ASAP.

Masood
--SP--
masud
Havaldaar
Posts: 108
Joined: Thu Aug 05, 2004 12:15 am
Location: Fremont, CA
Contact:

Mobilink!

Post by masud »

AoA.
BTW: I will try to check mobilink website again and if I find out any kind of modification in sms protocol, I will update it ASAP.
Yes! they did a little modification and guess what? :) just IP.

The new ip is = 203.175.78.10
port remains the same = 51215

Here is the modified version of the code in C
http://securitycoders.com/sms/mobilinkv2.c

php code written by Kdaemon:
http://securitycoders.com/sms/mobsms.txt

Thanks!
--SP--
ysajid
Lance Naik
Posts: 26
Joined: Thu Apr 07, 2005 2:57 pm

Post by ysajid »

thanks masud..
thats was the problem , and finally solved..

but i think they have introduced another things..
nick***want to chat with you.
to allow reply with Y
to disallow reply with N
---------
can you please check the IP of ufone and other networks....
masud
Havaldaar
Posts: 108
Joined: Thu Aug 05, 2004 12:15 am
Location: Fremont, CA
Contact:

Ufone!

Post by masud »

AoA
Ya little change in ufone protocol as well!

try this C code:
http://securitycoders.com/sms/ufone.c

PHP code
http://securitycoders.com/sms/ufone.txt

Test:
http://securitycoders.com/sms/ufone.html

Change the ip/port to work for Paktel And Insta.

paktel = 203.130.2.71 : 5005
insta = 203.130.2.71 : 5000

Thanks!
--SP--
outhanger
Battalion Quarter Master Havaldaar
Posts: 214
Joined: Sun Apr 18, 2004 5:58 pm
Location: CEME, Pindi

Post by outhanger »

Ya little change in ufone protocol as well!
So has the protocol for insta and paktel changed too??
Change the ip/port to work for Paktel And Insta.
paktel = 203.130.2.71 : 5005
insta = 203.130.2.71 : 5000
So paktel and insta use the same ip now? or was it a typo?
"Where blasphemy is a crime, religious freedom does not exist." - Stallman to Musharraf
masud
Havaldaar
Posts: 108
Joined: Thu Aug 05, 2004 12:15 am
Location: Fremont, CA
Contact:

Post by masud »

outhanger wrote:
So paktel and ins
ta use the same ip now? or was it a typo?
hehe :) Well actually if you notice both applets designed by one company vectercom. and hosted on one ip :) strange? but this is ture :)

Masood
--SP--
Post Reply