WARID Gateway Exposed! [Send SMS to any network]
-
- Naik
- Posts: 53
- Joined: Wed Jan 04, 2006 3:51 pm
- Location: Quetta, Pakistan
- Contact:
Msgs not getting delivered
Sms from warid script are not getting delivered.. Has anyone facing same problem??
hi masuad
hi masuad,
the warid script is not working any more. It failed to login. One thing that i have noticed is that base url is changed and the new one is
https://members.waridtel.com/cgi-bin/warid/dev1/warid/
After updating, script logged in to the warid site successfully but message sending still fails.
Any help?
Thanks
the warid script is not working any more. It failed to login. One thing that i have noticed is that base url is changed and the new one is
https://members.waridtel.com/cgi-bin/warid/dev1/warid/
After updating, script logged in to the warid site successfully but message sending still fails.
Any help?
Thanks
-
- Company Havaldaar Major
- Posts: 195
- Joined: Fri Feb 04, 2005 7:21 pm
- Location: Lahore, PK
- Contact:
this web site is not opening..
http://securitycoders.com/sms/warid2.php
also post here new script if u have any?
http://securitycoders.com/sms/warid2.php
also post here new script if u have any?
Re: hi masuad
same here.. i did the same thing.. but was not able to send any sms.. it logged in with the new link but was unable to send sms... wht is to be changed now?oni wrote:hi masuad,
the warid script is not working any more. It failed to login. One thing that i have noticed is that base url is changed and the new one is
https://members.waridtel.com/cgi-bin/warid/dev1/warid/
After updating, script logged in to the warid site successfully but message sending still fails.
Any help?
Thanks
here is the source code of waridtel member page web2sms.
Code: Select all
<SCRIPT language="JavaScript">
var MAX_COUNT = 160;
function openAddressBook()
{
window.open("T3/jsp/addressbook/select_contact.jsp?BV_SessionID=@@@@2011739857.1214954446@@@@&BV_EngineID=cccgadeehmgegifcflgcefkdffhdfgh.0&programId=39767", "addressBookWind", "width=550,height=300, menubar='No', location='No'")
}
function validateForm() {
//alert("program ID : "+document.smsform.programId.value);
if(document.smsform.textarea.value == "") {
alert("Please enter the message to be sent");
document.smsform.textarea.focus();
return false;
}
if(document.smsform.recipientnumber.value.length == "") {
if(document.smsform.numbersadd.length == "") {
alert("Please enter phone number of the recipient");
document.smsform.recipientnumber.focus();
return false;
}
} else if (isNaN(document.smsform.recipientnumber.value)) {
document.smsform.recipientnumber.focus();
alert("Enter a number ");
return false;
}
if(document.smsform.numbersadd.length == 0 ) {
if(document.smsform.recipientnumber.value.length < 7 ) {
alert("Invalid Number");
document.smsform.recipientnumber.focus();
return false;
}
} else {
var listLength = document.smsform.numbersadd.length;
for(i=0;i<listLength;i++) {
document.smsform.numbersadd.options[i].selected = true;
}
}
if (document.smsform.textarea.value.length > MAX_COUNT ) {
alert("Too much data in the text area ("+document.smsform.T1.value+" characters).\nYour message should not exceed "+MAX_COUNT+" characters.");
return false;
}
return true;
}
function addtolist() {
var receiptno = ""+document.smsform.ndc.value+document.smsform.recipientnumber.value;
var numberstart = receiptno.substring(0,2);
var len = receiptno.length;
var maxLength =5;
if(document.smsform.recipientnumber.value == "" ) {
//alert("Enter a number to add");
document.smsform.recipientnumber.focus();
return false;
} else if(isNaN(document.smsform.recipientnumber.value)) {
alert("Enter a valid Phone number");
document.smsform.recipientnumber.focus();
return false;
}
else {
var number = ""+document.smsform.ndc.value+document.smsform.recipientnumber.value;
var countryCode = document.smsform.countrycode.value;
//number = countryCode+number;
list = document.smsform.numbersadd; //sendSMS.reclist
var listLength = list.length;
if ( (listLength+1) > maxLength)
{
alert("Cannot send SMS message to more than " +maxLength+ " recipients");
return false;
}
if(receiptno.length < 10)
{
alert("Phone number should be atleast 7 digits long ");
document.smsform.recipientnumber.focus();
return false;
}
// for sorting, targetIndex is where should we insert the number at
var targetIndex = listLength;
for( var i = listLength - 1; i >= 0; i-- ) {
if( list.options[i].text == ("0"+document.smsform.ndc.value + "-"+document.smsform.recipientnumber.value) ) {
alert( "Number ("+list.options[i].text+") already exists!" );
return;
}
if( list.options[i].text > number ) {
targetIndex = i;
}
}
for(var i = listLength -1; i >= targetIndex; i--) {
list.options[i+1] = new Option( list.options[i].text );
}
list.options[targetIndex] = new Option(number);
list.options[targetIndex].value="92" + number;
list.options[targetIndex].text="0"+document.smsform.ndc.value + "-"+document.smsform.recipientnumber.value;
document.smsform.recipientnumber.value = '';
}
document.smsform.recipientnumber.focus();
return true;
}
function addFromAddressBook(msisdn) {
var receiptno = msisdn;
var numberstart = receiptno.substring(0,2);
var len = receiptno.length;
var maxLength =5;
var number = msisdn;
var countryCode = document.smsform.countrycode.value;
list = document.smsform.numbersadd; //sendSMS.reclist
var listLength = list.length;
if ( (listLength+1) > maxLength)
{
alert("Cannot send SMS message to more than " +maxLength+ " receipients");
return false;
}
if(receiptno.length < 7)
{
alert("Phone number should be atleast 7 digits long ");
document.smsform.recipientnumber.focus();
return false;
}
// for sorting, targetIndex is where should we insert the number at
var targetIndex = listLength;
for( var i = listLength - 1; i >= 0; i-- ) {
if( list.options[i].text == ("0"+number.substring(0,3) + "-"+number.substring(3,number.length) )) {
alert( "Number ("+list.options[i].text+") already exists!" );
return;
}
if( list.options[i].text > number ) {
targetIndex = i;
}
}
for(var i = listLength -1; i >= targetIndex; i--) {
list.options[i+1] = new Option( list.options[i].text );
}
list.options[targetIndex] = new Option(number);
list.options[targetIndex].value="92" + number;
list.options[targetIndex].text="0"+number.substring(0,3) + "-"+number.substring(3,number.length);
document.smsform.recipientnumber.value = '';
document.smsform.recipientnumber.focus();
return true;
}
function removeselected() {
if(document.smsform.numbersadd.selectedIndex < 0) {
alert( "Select a Phone number" );
} else {
var options = document.smsform.numbersadd.options;
for( var i = options.length - 1; i >= 0; i-- ) {
if( options[ i ].selected ) {
options[ i ] = null;
}
}
return false;
}
}
function countCharacters() {
setTimeout("countCharactersCall()", 10);
}
var msgSize=0;
function countCharactersCall() {
//msgSize = MAX_COUNT - document.smsform.textarea.value.length ;
document.smsform.T1.value=MAX_COUNT - document.smsform.textarea.value.length ;
if (document.smsform.T1.value < 0) {
document.smsform.textarea.value = document.smsform.textarea.value.substring(0, MAX_COUNT);
alert("Your message cannot exceed more than 160 characters");
document.smsform.T1.value = 0;
}
}
function addPhoneNumbers(string)
{
document.smsform.mobilelist.value=string;
var separator = ',';
var stringArray = string.split(separator);
var length=5;
var existingNumbers=string.split(document.smsform.numbersadd);
list = document.smsform.numbersadd;
if((list.length+stringArray.length)>6)
{
alert("Cannot send SMS message to more than 5 receipients.");
length=5-list.length;
}
else{length=stringArray.length-1;
}
for (var i=0; i < length; i++)
{
addFromAddressBook(stringArray[i]);
}
}
</SCRIPT>
<table border="0" width="95%" id="table1" cellspacing="0" cellpadding="0" align="center">
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td background="/images/search_bg.jpg" colspan="2" height="27"><font face="Verdana" size="5" color="#FF0000">Web To SMS</font></td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2" height="20">
<table border="0" width="100%" cellspacing="0" cellpadding="0" height="89" align="center">
<tr>
<td height="2" align="left">
<font face="Verdana" size="1" color="#595959">Send unlimited short messages to other Warid numbers from our free Web-to-SMS service. Broadcast your messages to upto 5 Warid numbers at a time.</font></td>
</tr>
<tr>
<td width="701"> </td>
</tr>
<form name="smsform" method="post" onSubmit="return validateForm();">
<input type=hidden name="BV_SessionID" value="@@@@2011739857.1214954446@@@@">
<input type=hidden name="BV_EngineID" value="cccgadeehmgegifcflgcefkdffhdfgh.0">
<input type="hidden" name="mobilelist" value="">
<input type="hidden" name="programId" value="39767">
<input type="hidden" name="countrycode" value="92">
<tr>
<td width="701" align="left">
<table border="0" width="500" height="167" cellspacing="0" cellpadding="0" id="table27" bgcolor="#FEF9E7">
<tr>
<td width="200" valign="bottom"><font face="Verdana" size="1" color="red">Mobile Number</font></td>
<td width="250" colspan=2></td>
</tr>
<tr>
<td>
<select name="ndc">
)
<option value="321">321</option>
)
<option value="322">322</option>
)
<option value="323">323</option>
)
<option value="331">331</option>
)
<option value="332">332</option>
)
<option value="333">333</option>
)
<option value="334">334</option>
)
<option value="343">343</option>
)
<option value="344">344</option>
)
<option value="345">345</option>
)
<option value="346">346</option>
)
<option value="300">300</option>
)
<option value="301">301</option>
)
<option value="302">302</option>
)
<option value="306">306</option>
)
<option value="307">307</option>
)
<option value="308">308</option>
)
<option value="303">303</option>
)
<option value="313">313</option>
)
<option value="314">314</option>
)
<option value="364">364</option>
</select>
<input type="text" name="recipientnumber" maxlength="7" style="width:97">
<input type="button" value="Add" name="Connect0" class="waridbutton" onclick="javascritp:addtolist()">
</td>
<td align="right" colspan=2><input type="button" value="Send SMS From My Address Book" name="Connect0" class="waridbutton" style="width:300" onClick="openAddressBook();"></td>
</tr>
<tr height="20">
<td valign="bottom"><font face="Verdana" size="1" color="red">Recipients</font></td>
<td valign="bottom"><font face="Verdana" size="1" color="red">Message Text</font></td>
<td align=right valign="bottom"><font face="Verdana" size="1" color="red">Characters Left </font><input type="text" name="T1" value="160" style="width:30px"></td>
</tr>
<tr>
<td valign="top" >
<select name="numbersadd" size="6" style="width:180" multiple>
</select>
</select></td>
<td valign="top" colspan=2>
<textarea rows="6" name="textarea" cols="56" onkeydown="countCharacters();"></textarea></td>
</tr>
<tr>
<td height="25"><input type="button" value="Remove Selected" name="Connect0" class="waridbutton" style="width:180" onclick="JavaScript:removeselected()"></td>
<td align="right" colspan=2><input type="submit" value="Send Message" name="Connect0" class="waridbutton" style="width:300"></td>
</tr>
<tr>
<td colspan=3 align="right" style="border-left-style: solid; border-left-width: 1px; border-bottom-style: solid; border-bottom-width: 1px"></td>
</tr>
<tr>
<td valign="top"></td>
<td colspan=2 align="right" style="border-left-style: solid; border-left-width: 1px; border-bottom-style: solid; border-bottom-width: 1px"></td>
</tr>
</table>
</td>
</tr>
<input type=hidden name="fromPage" value="web2sms">
</form>
</table>
</td>
</tr>
<tr>
<td colspan="2" height="25" valign="top"> </td>
</tr>
</table>
<Script>
</script>
code
something is wrong in submitting the data...
login works by changing base url
http://www.sajid.biz/sms/sms.txt
but still error in sending message
login works by changing base url
http://www.sajid.biz/sms/sms.txt
but still error in sending message