Пример #1
0
 private function getLang()
 {
     return wikiFuzz::chooseInput(array("actionscript", "ada", "apache", "applescript", "asm", "asp", "autoit", "bash", "blitzbasic", "bnf", "c", "c_mac", "caddcl", "cadlisp", "cfdg", "cfm", "cpp", "cpp-qt", "csharp", "css", "d", "delphi", "diff", "div", "dos", "eiffel", "fortran", "freebasic", "gml", "groovy", "html4strict", "idl", "ini", "inno", "io", "java", "java5", "javascript", "latex", "lisp", "lua", "matlab", "mirc", "mpasm", "mysql", "nsis", "objc", "ocaml", "ocaml-brief", "oobas", "oracle8", "pascal", "perl", "php", "php-brief", "plsql", "python", "qbasic", "rails", "reg", "robots", "ruby", "sas", "scheme", "sdlbasic", "smalltalk", "smarty", "sql", "tcl", "text", "thinbasic", "tsql", "vb", "vbnet", "vhdl", "visualfoxpro", "winbatch", "xml", "xpp", "z80", wikifuzz::makeFuzz(1)));
 }
Пример #2
0
 function __construct()
 {
     $this->pagePath = "index.php?title=Special:CategoryTree";
     $this->params = array("target" => wikifuzz::makeFuzz(2), "from" => wikifuzz::makeFuzz(2), "until" => wikifuzz::makeFuzz(2), "showas" => wikifuzz::makeFuzz(2), "mode" => wikiFuzz::chooseInput(array("pages", "categories", "all", wikifuzz::makeFuzz(2))));
     // sometimes we do want to specify certain parameters.
     if (wikiFuzz::randnum(5) == 0) {
         $this->params["notree"] = wikiFuzz::chooseInput(array("1", 0, "", wikiFuzz::makeFuzz(2)));
     }
 }