AnonSec Shell
Server IP : 199.79.62.161  /  Your IP : 216.73.216.245   [ Reverse IP ]
Web Server : Microsoft-IIS/10.0
System : Windows NT MDUS-PP-WB12 10.0 build 20348 (Windows Server 2022) AMD64
User : IWPD_5096(nirmaowd) ( 0)
PHP Version : 8.3.30
Disable Function : NONE
Domains : 0 Domains
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  D:/INETPUB/VHOSTS/nirmalamatha.edu.in/ponnuguruvayurappan.org/Admin/javascript/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : D:/INETPUB/VHOSTS/nirmalamatha.edu.in/ponnuguruvayurappan.org/Admin/javascript/Compose_sms_in_v3.js

var contacts,groups;function setmessage(strMsgid,strCatid){var strLength;document.getElementById('txt_msg').value=document.getElementById(strMsgid).innerHTML.toString().replace("&","&");strLength=document.getElementById('txt_msg').value.length;document.getElementById('txt_count').value=strLength;window.document.getElementById('hf_msg').value=strCatid+'-'+strMsgid;}
function loadcontacts(){var obj=document.getElementById("txt_mobileno");if(obj!=null)obj.focus();var success=function(t){var resptext=t.responseText;var contactslist=resptext.split(':');resptext=resptext.replace(':',',');var oTextbox=new AutoSuggestControl(document.getElementById("txt_mobileno"),new StateSuggestions(resptext));groups=contactslist[1];contacts=contactslist[0];}
var failure=function(t){return false;}
var url='getcontactlist.aspx?id='+Math.random();var postdata="t="+Math.random();var myAjax=new Ajax.Request(url,{method:'get',postBody:postdata,onSuccess:success,onFailure:failure});var thetime=new Date();var nhours=thetime.getHours();loadtemplates(1);if(document.getElementById('s0')){initsnow();}
disableyesno(false);}
var strMsg,finalvalue;finalvalue='';function checkmsgform(){var mobilenumber=document.getElementById('txt_mobileno').value;var message=document.getElementById('txt_msg').value;if(mobilenumber==''){window.alert("Please enter the Mobile Number !!");document.getElementById('txt_mobileno').focus();return false;}
if(!formatnumber()){finalvalue='';document.getElementById('txt_mobileno').focus();return false;}
if(message==''){window.alert("Please enter your SMS message !!");document.getElementById('txt_msg').focus();return false;}
var i = document.getElementById('txt_msg').value.indexOf("<");
    var j = document.getElementById('txt_msg').value.indexOf(">");
    if(i > 0) {
    document.getElementById('txt_msg').value = document.getElementById('txt_msg').value.replace(/</g," ");
    document.getElementById('txt_msg').value = document.getElementById('txt_msg').value.replace(/>/g," ");
    }
var strLength=document.getElementById('txt_msg').value.length;document.getElementById('txt_count').value=strLength;disableyesno(true);document.getElementById('act_mnos').value=finalvalue;}
function disableyesno(truefalse){if(truefalse){document.getElementById("txtHint").innerHTML='Sending SMS Please Wait.....';document.getElementById("txtHint").style.display="block";document.getElementById("btnclear").disabled=true;document.getElementById("btnsendsms").disabled=true;document.getElementById("txt_mobileno").style.color='gray';document.getElementById("txt_msg").style.color='gray';}else{document.getElementById('txtHint').innerHTML='';document.getElementById('txtHint').style.display='none';document.getElementById('btnclear').disabled=false;document.getElementById('btnsendsms').disabled=false;document.getElementById('txt_mobileno').style.color=null;document.getElementById('txt_msg').style.color=null;}}
var charCount = 0;
function alertMsgLength() {
    var strLength;
    var strMsg;
    if (charCount == 0) {
        if (document.getElementById("isAdFree")) {
            charCount = document.getElementById("isAdFree").value;
            if (charCount =='' || isNaN(charCount) || charCount != 148 ) {
                charCount = 160;    
            }
        } else {
            charCount = 160;
        }
    }
    document.getElementById("txtHint").style.display = "none";
    if(document.getElementById('txt_msg').value.length > charCount) {
        strMsg=document.getElementById('txt_msg').value;
        document.getElementById('txt_msg').value = strMsg.substring(0, charCount);
        document.getElementById('txt_msg').focus();
        return false;
    }
    strLength = document.getElementById('txt_msg').value.length;
    document.getElementById('txt_count').value = charCount - strLength +' characters left ';
}
function ClearTextFields(){document.getElementById("txtHint").style.display="none";document.getElementById('frmcompose').reset();document.getElementById('txt_mobileno').value='';document.getElementById('txt_msg').value='';document.getElementById('txt_mobileno').focus();document.getElementById('hf_msg').value='';return false;}
function formatnumber(){finalvalue='';var strtotalnumbers=trimAll(document.getElementById('txt_mobileno').value);var arrmobiles=new Array();var mno,i,j,grouppresent,contactpresent;arrmobiles=strtotalnumbers.split(',');grouppresent=false;contactpresent=false;if(arrmobiles.length>10){alert('Cannot send More than 10 SMS at a time');return false;}
for(x=0;x<arrmobiles.length;x++){mno=trimAll(arrmobiles[x].toString());mno=mno.toLowerCase();if(groups==null||(','+groups+',').toLowerCase().search(","+mno+",")==-1){if(grouppresent){alert('Send SMS to either contacts or group.');return false;};if(contacts.indexOf(mno)==-1){if(!validatemobilenumber(mno)){return false;}}else{i=mno.indexOf('<');j=mno.indexOf('>');if(i>0){mno=mno.substring(i+1,j);if(!validatemobilenumber(mno)){return false;}}
else{if(!validatemobilenumber(mno)){return false;}}}
contactpresent=true;if(mno.length==10&&mno.indexOf('9')==0)
mno='91'+mno;}else{if(grouppresent){alert('Send SMS to one group Only');return false;}
if(contactpresent){alert('Send SMS to either contacts or group.');return false;}
grouppresent=true;}
finalvalue+=mno+',';}
return true;}
function displayText(){var n;n=document.getElementById("hf").value;var postdata="no="+n;var x;var success=function(t){x=t.responseText.split("|");document.getElementById("hf").value=x[0];document.getElementById('p2').innerHTML=x[1]+'<a href="faqs.aspx">read more...</a>';document.getElementById('p2').style.visibility="visible";}
var failure=function(t){document.getElementById('p2').innerHTML='Cannot connect to www.160by2.com. Please try later!';return false;}
var url='getText.aspx';var myAjax=new Ajax.Request(url,{method:'get',postBody:postdata,onSuccess:success,onFailure:failure});return false;}

Anon7 - 2022
AnonSec Team