ShellBanner
System:Linux MiraNet 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686
Software:Apache. PHP/5.3.6-13ubuntu3.10
ID:uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
Safe Mode:OFF
Open_Basedir:OFF
Freespace:24.4 GB of 70.42 GB (34.65%)
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON
Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,

/ http/ guitar.1/ components/ com_contushdvideoshare/ js/ - drwxr-xr-x

Directory:
Viewing file:     membervalidator.js (9.27 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
function profilevalidate()
{
     if(document.getElementById("username").value=="")
    {
        alert("Please Enter Your User Name");
        document.getElementById("username").focus();
        return false;
    }
     if(document.getElementById("email").value=="")
    {
        alert("Please Enter Your Email");
        document.getElementById("email").focus();
        return false;
    }
     if(document.getElementById("email").value!="")
    {
        if(checkemail(document.getElementById("email").value)==false)
        {
            document.getElementById("email").value="";
            document.getElementById("email").focus();
            return false
        }
    }
    if(document.getElementById("firstname").value=="")
    {
        alert("Please Enter Your First Name");
        document.getElementById("firstname").focus();
        return false;
    }

    if(document.getElementById("lastname").value=="")
    {
        alert("Please Enter Your Last Name");
        document.getElementById("lastname").focus();
        return false;
    }
    if(document.getElementById("password").value=="")
    {
        alert("Please Enter Your Password");
        document.getElementById("password").focus();
        return false;
    }
    if(document.getElementById("password").value!="")
    {
        if(document.getElementById("password").value.length<6)
        {
            alert("Please Provide Minimum Of 6 Chars For Password");
            document.getElementById("password").focus();
            return false;
        }
    }
    if(document.getElementById("confirmpwd").value=="")
    {
        alert("Please Enter your Confirm Password");
        document.getElementById("confirmpwd").focus();
        return false;
    }
    if(document.getElementById("confirmpwd").value!="")
    {
        if(document.getElementById("confirmpwd").value.length<6)
        {
            alert("Please Enter Minimum Of 6 Chars For Confirm Password");
            document.getElementById("confirmpwd").focus();
            return false;
        }
    }



    if((document.getElementById("password").value!="") && (document.getElementById("confirmpwd").value!=""))
    {
        if(document.getElementById("password").value != document.getElementById("confirmpwd").value)
        {

            alert("Passwords do not match");
            document.getElementById("confirmpwd").focus();
            document.getElementById("confirmpwd").value="";
            document.getElementById("password").focus();
            document.getElementById("password").value="";
            return false;
        }
    }
     if(document.getElementById("txtcaptcha").value=="")
    {
        alert("Please Enter The Security Code");
        document.getElementById("txtcaptcha").focus();
        return false;
    }
    return true;
}
function checkemail(str)
{
    var filter=/^.+@.+\..{2,3}$/

    if (filter.test(str))
        testresults=true
    else {
        alert("Please Enter Valid Email Address!")
        testresults=false
    }
    return (testresults)
}

function memberlogin()
{
    if(document.getElementById("username1").value=="")
    {
        alert("Please Enter Your User Name");
        document.getElementById("username1").focus();
        return false;
    }
//    if(document.getElementById("username1").value!="")
//    {
//        if(checklogin(document.getElementById("username1").value)==false)
//        {
//            document.getElementById("username1").value="";
//            document.getElementById("username1").focus();
//            document.getElementById("password1").value="";
//            return false
//        }
//
//
//    }
    if(document.getElementById("password1").value=="")
    {
        alert("Please Enter Your Password");
        document.getElementById("password1").focus();
        return false;
    }
    if(document.getElementById("password1").value!="")
    {
        if(document.getElementById("password1").value.length<6)
        {
            alert("Please Provide Minimum Of 6 Chars For Password");
            document.getElementById("password1").focus();
            return false;
        }
    }
    return true;
}

function checklogin(str)
{
    var filter=/^.+@.+\..{2,3}$/

    if (filter.test(str))
        testresults=true
    else {
        alert("Please Enter Valid Username!")
      
        testresults=false
    }
    return (testresults)
}

function videoupload()
{

if(document.getElementById("filetype2").checked==true)
    {
        if(document.getElementById("title").value=="")
    {
        alert("Please Enter Your Video Title");
        document.getElementById("title").focus();
        return false;
    }
    if(document.getElementById("tagname").value=="")
    {
        alert("Please Select the category");
        document.getElementById("title").focus();
        return false;
    }
        if(document.getElementById("Youtubeurl").value=="" || document.getElementById("Youtubeurl").value==" ")
    {
        alert("Please Enter the Video URL");
        document.getElementById("Youtubeurl").focus();
        return false;
    }
     else
     {
     
        var theurl=document.getElementById("Youtubeurl").value;
        var tomatch= /http:\/\/[A-Za-z0-9\.-]{3,}\.[A-Za-z]{3}/
         if (tomatch.test(theurl))
         {
                     return;
         }
         else
         {
             alert("URL invalid. Try again.");
             document.getElementById("Youtubeurl").focus();
             return false;
         }
    }
 
    }

    if(document.getElementById("ffmpeg").value=="" && document.getElementById("seltype").value==2)
    {
        alert("Please Select Upload Video");
        document.getElementById("ffmpeg").focus();
        return false;
    }


    if(document.getElementById("normalvideoformval").value=="" && document.getElementById("seltype").value==1)
    {
        alert("Please Select Upload Video");
        document.getElementById("normalvideoformval").focus();
        return false;
    }

     if(document.getElementById("thumbimageformval").value=="" && document.getElementById("seltype").value==1)
    {
        alert("Please Select Thumb Image");
        document.getElementById("thumbimageformval").focus();
        return false;
    }
    if(document.getElementById("title").value=="")
    {
        alert("Please Enter Your Video Title");
        document.getElementById("title").focus();
        return false;
    }
 
     if(document.getElementById("tagname").value=="")
    {
        alert("Please Enter Video Category");
        document.getElementById("tagname").focus();
        return false;
    }

   
    


//     if(document.getElementById("sub_id").value=='0')
//    {
//        alert("Please Select Video Subcategory");
//        document.getElementById("sub_id").focus();
//        return false;
//    }
    return true;
}

function videoupload1()
{

    if(document.getElementById("url").value=="")
    {
        alert("Please Enter Youtube Url");
        document.getElementById("url").focus();
        return false;
    }
     if(document.getElementById("url").value!="")
    {
        if(validate_youtube_url(document.getElementById("url").value)==false)
        {
            document.getElementById("url").value="";
            document.getElementById("url").focus();
            return false;
        }

    }
    
    return true;
}

function validate_youtube_url(str,protocol)
{
    if(!protocol && protocol != ''){
        protocol = '(http://)|(http://www.)|(www.)';
    }
    protocol = protocol.replace(/\//g, '\/', protocol).replace(/\./g, '\.');
    protocol = (protocol != '') ? '^(' + protocol + ')' : protocol;
    
    match_exp1 = new RegExp(protocol + 'youtube\.com\/(.+)(v=.+)', 'gi');
    match_exp2 = new RegExp(protocol + '(.*?)blip\.tv\/file\/[0-9]+/');
    match_exp3 = new RegExp(protocol + 'metacafe\.com\/watch\/(.*?)\/(.*?)\//');
    match_exp4 = new RegExp(protocol + 'google\.com\/videoplay\?docid=[^&]+/');
    var matches1 = match_exp1.exec(str);
    var matches2 = match_exp2.exec(str);
    var matches3 = match_exp3.exec(str);
    var matches4 = match_exp4.exec(str);
    var matches5 = match_exp5.exec(str);
    if(matches1==null){
        alert("Invalid Youtube Url");
        testvalue=false;
    }else{
        if(matches1!=null)
        {
                matchesf=matches1;
        }
        else if(matches2!=null)
        {
                matchesf=matches2;
        }
        else if(matches3!=null)
        {
                matchesf=matches3;
        }
        else if(matches4!=null)
        {
                matchesf=matches4;
        }
        else if(matches5!=null)
        {
                matchesf=matches5;
        }
//        var qs = matchesf[matchesf.length-1].split('&');
//        var vid = false;
//        for(i=0; i<qs.length; i++){
//            var x = qs[i].split('=');
//            if(x[0] == 'v' && x[1]){
//                vid = x[1];
                testvalue=true;
//            }else{
//                alert("Missing ID");
//                testvalue=false;
//            }
//        }
//        return (testvalue);
    }
    return (testvalue);
}
Command:
Quick Commands:
Upload:
[OK] Max size: 100MB
PHP Filesystem: <@ Ú
Search File:
regexp
Create File:
Overwrite [OK]
View File:
Mass Defacement:
[+] Main Directory: [+] Defacement Url:
LmfaoX Shell - Private Build [BETA] - v0.1 -; Generated: 0.2987 seconds