403Webshell
Server IP : 209.209.40.120  /  Your IP : 216.73.217.112
Web Server : Microsoft-IIS/10.0
System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586
User : NEWWWW$ ( 0)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/HostingSpaces/admin/sms4real.com/wwwroot/247sms/App_Code/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/HostingSpaces/admin/sms4real.com/wwwroot/247sms/App_Code/Sendsms.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;

/// <summary>
/// Summary description for Sendsms
/// </summary>
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
// To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. 
// [System.Web.Script.Services.ScriptService]
public class Sendsms : System.Web.Services.WebService {

    public Sendsms () {

        //Uncomment the following line if using designed components 
        //InitializeComponent(); 
    }

   private string getUsername( String Username, string pass){
       string response ="1" ;

       if (Username == "nosa")
           response = "0";
       return response;
   }

    [WebMethod]
    public string SendMessage(string username, string pass, string message, string sender, string phonenumber)
    {
        String response = "Message not sent";

        string result = getUsername(username, pass);

        if (result =="0" )
           response = "Message sent";

        return response;

    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit