!C99Shell v. 1.0 pre-release build #16!

Software: Apache/2.0.54 (Fedora). PHP/5.0.4 

uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 

uid=48(apache) gid=48(apache) groups=48(apache)
context=system_u:system_r:httpd_sys_script_t
 

Safe-mode: OFF (not secure)

/usr/libexec/webmin/authentic-theme/unauthenticated/js/codemirror/mode/soy/   drwxr-xr-x
Free 3.75 GB of 27.03 GB (13.86%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     soy.js (5.77 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
!function(t){"object"==typeof exports&&"object"==typeof module?t(require("../../lib/codemirror"),require("../htmlmixed/htmlmixed")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../htmlmixed/htmlmixed"],t):t(CodeMirror)}(function(t){"use strict";var e=["template","literal","msg","fallbackmsg","let","if","elseif","else","switch","case","default","foreach","ifempty","for","call","param","deltemplate","delcall","log"];t.defineMode("soy",function(a){function n(t){return t[t.length-1]}function s(t,e,a){if(t.sol()){for(var s=0;s<e.indent&&t.eat(/\s/);s++);if(s)return null}var i=t.string,l=a.exec(i.substr(t.pos));l&&(t.string=i.substr(0,t.pos+l.index));var r=t.hideFirstChars(e.indent,function(){var a=n(e.localStates);return a.mode.token(t,a.state)});return t.string=i,r}function i(t,e){for(;t;){if(t.element===e)return!0;t=t.next}return!1}function l(t,e){return{element:e,next:t}}function r(t,e,a){return i(t,e)?"variable-2":a?"variable":"variable-2 error"}function o(t){t.scopes&&(t.variables=t.scopes.element,t.scopes=t.scopes.next)}var c=t.getMode(a,"text/plain"),d={html:t.getMode(a,{name:"text/html",multilineTagIndentFactor:2,multilineTagIndentPastTag:!1}),attributes:c,text:c,uri:c,css:t.getMode(a,"text/css"),js:t.getMode(a,{name:"text/javascript",statementIndent:2*a.indentUnit})};return{startState:function(){return{kind:[],kindTag:[],soyState:[],templates:null,variables:l(null,"ij"),scopes:null,indent:0,quoteKind:null,localStates:[{mode:d.html,state:t.startState(d.html)}]}},copyState:function(e){return{tag:e.tag,kind:e.kind.concat([]),kindTag:e.kindTag.concat([]),soyState:e.soyState.concat([]),templates:e.templates,variables:e.variables,scopes:e.scopes,indent:e.indent,quoteKind:e.quoteKind,localStates:e.localStates.map(function(e){return{mode:e.mode,state:t.copyState(e.mode,e.state)}})}},token:function(i,c){var m;switch(n(c.soyState)){case"comment":if(i.match(/^.*?\*\//)?c.soyState.pop():i.skipToEnd(),!c.scopes)for(var m,u=/@param\??\s+(\S+)/g,p=i.current();m=u.exec(p);)c.variables=l(c.variables,m[1]);return"comment";case"string":var m=i.match(/^.*?(["']|\\[\s\S])/);return m?m[1]==c.quoteKind&&(c.quoteKind=null,c.soyState.pop()):i.skipToEnd(),"string"}if(i.match(/^\/\*/))return c.soyState.push("comment"),"comment";if(i.match(i.sol()||c.soyState.length&&"literal"!=n(c.soyState)?/^\s*\/\/.*/:/^\s+\/\/.*/))return"comment";switch(n(c.soyState)){case"templ-def":return(m=i.match(/^\.?([\w]+(?!\.[\w]+)*)/))?(c.templates=l(c.templates,m[1]),c.scopes=l(c.scopes,c.variables),c.soyState.pop(),"def"):(i.next(),null);case"templ-ref":return(m=i.match(/^\.?([\w]+)/))?(c.soyState.pop(),"."==m[0][0]?r(c.templates,m[1],!0):"variable"):(i.next(),null);case"param-def":return(m=i.match(/^\w+/))?(c.variables=l(c.variables,m[0]),c.soyState.pop(),c.soyState.push("param-type"),"def"):(i.next(),null);case"param-type":return"}"==i.peek()?(c.soyState.pop(),null):i.eatWhile(/^[\w]+/)?"variable-3":(i.next(),null);case"var-def":return(m=i.match(/^\$([\w]+)/))?(c.variables=l(c.variables,m[1]),c.soyState.pop(),"def"):(i.next(),null);case"tag":if(i.match(/^\/?}/))return"/template"==c.tag||"/deltemplate"==c.tag?(o(c),c.variables=l(null,"ij"),c.indent=0):("/for"!=c.tag&&"/foreach"!=c.tag||o(c),c.indent-=a.indentUnit*("/}"==i.current()||e.indexOf(c.tag)==-1?2:1)),c.soyState.pop(),"keyword";if(i.match(/^([\w?]+)(?==)/)){if("kind"==i.current()&&(m=i.match(/^="([^"]+)/,!1))){var f=m[1];c.kind.push(f),c.kindTag.push(c.tag);var h=d[f]||d.html,g=n(c.localStates);g.mode.indent&&(c.indent+=g.mode.indent(g.state,"")),c.localStates.push({mode:h,state:t.startState(h)})}return"attribute"}return(m=i.match(/^["']/))?(c.soyState.push("string"),c.quoteKind=m,"string"):(m=i.match(/^\$([\w]+)/))?r(c.variables,m[1]):(m=i.match(/^\w+/))?/^(?:as|and|or|not|in)$/.test(m[0])?"keyword":null:(i.next(),null);case"literal":return i.match(/^(?=\{\/literal})/)?(c.indent-=a.indentUnit,c.soyState.pop(),this.token(i,c)):s(i,c,/\{\/literal}/)}if(i.match(/^\{literal}/))return c.indent+=a.indentUnit,c.soyState.push("literal"),"keyword";if(m=i.match(/^\{([\/@\\]?\w+\??)(?=[\s\}]|\/[\/*])/)){if("/switch"!=m[1]&&(c.indent+=(/^(\/|(else|elseif|ifempty|case|fallbackmsg|default)$)/.test(m[1])&&"switch"!=c.tag?1:2)*a.indentUnit),c.tag=m[1],c.tag=="/"+n(c.kindTag)){c.kind.pop(),c.kindTag.pop(),c.localStates.pop();var g=n(c.localStates);g.mode.indent&&(c.indent-=g.mode.indent(g.state,""))}return c.soyState.push("tag"),"template"==c.tag||"deltemplate"==c.tag?c.soyState.push("templ-def"):"call"==c.tag||"delcall"==c.tag?c.soyState.push("templ-ref"):"let"==c.tag?c.soyState.push("var-def"):"for"==c.tag||"foreach"==c.tag?(c.scopes=l(c.scopes,c.variables),c.soyState.push("var-def")):"namespace"==c.tag?c.scopes||(c.variables=l(null,"ij")):c.tag.match(/^@(?:param\??|inject)/)&&c.soyState.push("param-def"),"keyword"}return i.eat("{")?(c.tag="print",c.indent+=2*a.indentUnit,c.soyState.push("tag"),"keyword"):s(i,c,/\{|\s+\/\/|\/\*/)},indent:function(e,s){var i=e.indent,l=n(e.soyState);if("comment"==l)return t.Pass;if("literal"==l)/^\{\/literal}/.test(s)&&(i-=a.indentUnit);else{if(/^\s*\{\/(template|deltemplate)\b/.test(s))return 0;/^\{(\/|(fallbackmsg|elseif|else|ifempty)\b)/.test(s)&&(i-=a.indentUnit),"switch"!=e.tag&&/^\{(case|default)\b/.test(s)&&(i-=a.indentUnit),/^\{\/switch\b/.test(s)&&(i-=a.indentUnit)}var r=n(e.localStates);return i&&r.mode.indent&&(i+=r.mode.indent(r.state,s)),i},innerMode:function(t){return t.soyState.length&&"literal"!=n(t.soyState)?null:n(t.localStates)},electricInput:/^\s*\{(\/|\/template|\/deltemplate|\/switch|fallbackmsg|elseif|else|case|default|ifempty|\/literal\})$/,lineComment:"//",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",useInnerComments:!1,fold:"indent"}},"htmlmixed"),t.registerHelper("hintWords","soy",e.concat(["delpackage","namespace","alias","print","css","debugger"])),t.defineMIME("text/x-soy","soy")});

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.008 ]--