Software: Apache/2.2.16 (Debian). PHP/5.3.3-7+squeeze19 uname -a: Linux mail.tri-specialutilitydistrict.com 2.6.32-5-amd64 #1 SMP Tue May 13 16:34:35 UTC uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /usr/share/seed/ drwxr-xr-x |
Viewing file: Select action/file-type: #!/usr/bin/env seed readline = imports.readline; sandbox = imports.sandbox; os = imports.os; var lastLastLength = '-1'; context = new sandbox.Context(); context.add_globals(); bind_cr = function(){ var buffer = readline.buffer(); if (buffer.length == lastLastLength) readline.done(); try { Seed.check_syntax(buffer); readline.done(); } catch (e){ os.write(1, "\n.."); lastLastLength = buffer.length; return; } os.write(1, "\n"); lastLastLength = buffer.length; } readline.bind('\n', bind_cr); readline.bind('\r', bind_cr); readline.bind('\t', function(){ readline.insert("\t"); }); //var re = /[^=<>*-^/]=[^=<>*-^/]\(*\s*(new\s*)?[^:punct:]|'|"+\)*$/ while(1){ try{ item = readline.readline("> "); result = context.eval(item); // if (!re.exec(item) && (result != undefined)) if (result != undefined) print(result) } catch(e){ print(e.name + " " + e.message); } } |
:: Command execute :: | |
--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0182 ]-- |