Advertisement
stronk7

Untitled

Aug 2nd, 2019
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.81 KB | None | 0 0
  1. $ ag '(\$[a-z_]+|\)){[^\n=}]+}' --php
  2.  
  3. repository/s3/S3.php
  4. 2357: $this->response->headers['hash'] = $value{0} == '"' ? substr($value, 1, -1) : $value;
  5.  
  6. file.php
  7. 45:} else if ($relativepath{0} != '/') {
  8.  
  9. enrol/ldap/lib.php
  10. 437: $idnumber = $course{$this->config->course_idnumber}[0];
  11.  
  12. question/format/gift/format.php
  13. 286: } else if ($answertext{0} == '#') {
  14.  
  15. question/format/webct/format.php
  16. 106: if (!preg_match('~^(.*[^[:alnum:]_])?([[:alnum:]_]*([)(])([^)(]*[)(]){'.$i.'})$~',
  17. 136: if (!preg_match('~^([+-]?[[:alnum:]_]*([)(][^)(]*){'.$i.'}([)(]))(.*)~',
  18. 153: $formula = "{$splits[0]}pow({$base},{$exp}){$splits[1]}";
  19.  
  20. question/engine/questionusage.php
  21. 695: if ($responsedatakey{0} === '-') {
  22.  
  23. lib/tcpdf/include/tcpdf_images.php
  24. 314: $trns[] = ord($t{$i});
  25.  
  26. lib/tcpdf/include/tcpdf_filters.php
  27. 282: $bitstring .= sprintf('%08b', ord($data{$i}));
  28. 379: $byte = ord($data{$i});
  29. 392: $decoded .= str_repeat($data{($i + 1)}, (257 - $byte));
  30.  
  31. lib/tcpdf/include/barcodes/pdf417.php
  32. 881: $chval = ord($code{$i});
  33. 891: if (((($i + 1) == $codelen) OR ((($i + 1) < $codelen) AND (array_search(ord($code{($i + 1)}), $this->textsubmodes[$submode]) !== false))) AND (($s == 3) OR (($s == 0) AND ($submode == 1)))) {
  34. 955: $cw[] = ord($code{$i});
  35.  
  36. lib/tcpdf/include/barcodes/datamatrix.php
  37. 632: $tmpchr = ord($data{$k});
  38.  
  39. lib/tcpdf/tcpdf_barcodes_1d.php
  40. 456: $char = $code{$i};
  41. 523: if (ord($code{$i}) > 127) {
  42. 526: $code_ext .= $encode[$code{$i}];
  43. 546: $k = array_keys($chars, $code{$i});
  44. 646: if (ord($code{$i}) > 127) {
  45. 649: $code_ext .= $encode[$code{$i}];
  46. 659: $char = ord($code{$i});
  47. 702: $k = array_keys($chars, $code{$i});
  48. 716: $k = array_keys($chars, $code{$i});
  49. 741: $sum += $code{$i};
  50. 745: $sum += ($code{$i});
  51. 786: $check += (hexdec($code{$i}) * $p);
  52. 801: $digit = $code{$i};
  53. 844: $digit = $code{$i};
  54. 870: if (($i == ($len - 1)) OR (($i < ($len - 1)) AND ($seq{$i} != $seq{($i+1)}))) {
  55. 871: if ($seq{$i} == '1') {
  56. 922: $char_bar = $code{$i};
  57. 923: $char_space = $code{$i+1};
  58. 941: $w = $seq{$j};
  59. 1088: $char = $code{$i};
  60. 1103: $char = $code{$i};
  61. 1127: $chrnum = $code{$i}.$code{$i+1};
  62. 1274: $w = $seq{$j};
  63. 1340: $sum_a += $code{$i};
  64. 1347: $sum_b += ($code{$i});
  65. 1359: } elseif ($r !== intval($code{$data_len})) {
  66. 1470: $seq .= $codes[$p[$i]][$upce_code{$i}];
  67. 1478: $seq .= $codes['A'][$code{$i}];
  68. 1483: $seq .= $codes[$p[$i-1]][$code{$i}];
  69. 1488: $seq .= $codes['C'][$code{$i}];
  70. 1496: if (($i == ($clen - 1)) OR (($i < ($clen - 1)) AND ($seq{$i} != $seq{($i+1)}))) {
  71. 1497: if ($seq{$i} == '1') {
  72. 1581: $seq .= $codes[$p[$i]][$code{$i}];
  73. 1632: $sum += intval($code{$i});
  74. 1646: $h = $barlen[$code{$i}][$j];
  75. 1759: $row += $checktable[$code{$i}][0];
  76. 1760: $col += $checktable[$code{$i}][1];
  77. 1777: switch ($barmode[$code{$i}][$j]) {
  78. 1849: if (!isset($chr[$code{$i}])) {
  79. 1852: $seq = $chr[$code{$i}];
  80. 1859: $w = $seq{$j};
  81. 1899: $digit = $code{$i};
  82. 1921: $digit = $code{$i};
  83. 1940: if (!isset($chr[$code{$i}])) {
  84. 1943: $seq = $chr[$code{$i}];
  85. 1950: $w = $seq{$j};
  86. 2019: switch ($seq{$i}) {
  87. 2258: $dec = bcadd($dec, bcmul(hexdec($hex{$pos}), $bitval));
  88.  
  89. lib/phpmailer/src/PHPMailer.php
  90. 1215: '/^(?!(?>(?1)"?(?>\\\[ -~]|[^"])"?(?1)){255,})(?!(?>(?1)"?(?>\\\[ -~]|[^"])"?(?1)){65,}@)' .
  91. 1220: '(?>(?1)\.(?!(?1)[a-z0-9-]{64,})(?1)(?5)){0,126}|\[(?:(?>IPv6:(?>([a-f0-9]{1,4})(?>:(?6)){7}' .
  92. 1221: '|(?!(?:.*[a-f0-9][:\]]){8,})((?6)(?>:(?6)){0,6})?::(?7)?))|(?>(?>IPv6:(?>(?6)(?>:(?6)){5}:' .
  93. 1222: '|(?!(?:.*[a-f0-9]:){6,})(?8)?::(?>((?6)(?>:(?6)){0,4}):)?))?(25[0-5]|2[0-4][0-9]|1[0-9]{2}' .
  94. 1223: '|[1-9]?[0-9])(?>\.(?9)){3}))\])(?1)$/isD',
  95.  
  96. lib/adodb/drivers/adodb-oci8po.inc.php
  97. 123: $c = $sql{$i};
  98.  
  99. lib/outputcomponents.php
  100. 2546: $js = "Y.use('$requirements', function(Y){ $js });";
  101.  
  102. lib/validateurlsyntax.php
  103. 278: $ipaddress = '((((2(([0-4][0-9])|(5[0-5])))|([01]?[0-9]?[0-9]))\.){3}((2(([0-4][0-9])|(5[0-5])))|([01]?[0-9]?[0-9])))';
  104.  
  105. lib/classes/ip_utils.php
  106. 101: $wildcard = '((\*)\.){1}';
  107.  
  108. lib/classes/text.php
  109. 474: if (preg_match('/^(([\x00-\x7f])|([\x81-\xfe][\x40-\x7e])|([\x81-\xfe][\x80-\xfe])|([\x81-\xfe][\x30-\x39]..)){1,22}/m', $text, $matches)) {
  110. 479: preg_match('/^(([\x00-\x7f])|([\x81-\xfe][\x40-\x7e])|([\x81-\xfe][\x80-\xfe])|([\x81-\xfe][\x30-\x39]..)){1,11}/m', $text, $matches);
  111.  
  112. lib/markdown/Markdown.php
  113. 588: ){2,} # Group repeated at least twice
  114. 1361: $token_stack[0] = str_repeat($token{0}, 3-$token_len);
  115. 1386: $em = $token{0};
  116. 1799: switch ($token{0}) {
  117. 1801: return $this->hashPart("&#". ord($token{1}). ";");
  118.  
  119. lib/markdown/MarkdownExtra.php
  120. 181: protected $id_class_attr_catch_re = '\{((?>[ ]*[#.a-z][-_:a-zA-Z0-9=]+){1,})[ ]*\}';
  121. 187: protected $id_class_attr_nocatch_re = '\{(?>[ ]*[#.a-z][-_:a-zA-Z0-9=]+){1,}[ ]*\}';
  122. 215: if ($element{0} == '.') {
  123. 217: } else if ($element{0} == '#') {
  124. 511: else if ($tag{0} == "\n" || $tag{0} == " ") {
  125. 518: else if ($tag{0} == "`") {
  126. 552: $tag{1} == '!' || $tag{1} == '?')
  127. 567: if ($tag{1} == '/') $depth--;
  128. 568: else if ($tag{strlen($tag)-2} != '/') $depth++;
  129. 667: return array($original_text{0}, substr($original_text, 1));
  130. 677: $tag{1} == '!' || $tag{1} == '?')
  131. 686: if ($tag{1} == '/') $depth--;
  132. 687: else if ($tag{strlen($tag)-2} != '/') $depth++;
  133. 1469: if ($classname{0} == '.')
  134.  
  135. lib/google/src/Google/Utils.php
  136. 65: $ordinalValue = ord($str{$ret});
  137.  
  138. lib/horde/framework/Horde/Crypt/Blowfish/Php/Base.php
  139. 331: $data = $data << 8 | ord($key{$k});
  140.  
  141. lib/bennu/iCalendar_rfc2445.php
  142. 144: $regexp = '#^[a-zA-Z0-9]+[_a-zA-Z0-9\-]*(\.[_a-z0-9\-]+)*@(([0-9a-zA-Z\-]+\.)+[a-zA-Z][0-9a-zA-Z\-]+|([0-9]{1,3}\.){3}[0-9]{1,3})$#';
  143. 147: $regexp = '#^//(.+(:.*)?@)?(([0-9a-zA-Z\-]+\.)+[a-zA-Z][0-9a-zA-Z\-]+|([0-9]{1,3}\.){3}[0-9]{1,3})(:[0-9]{1,5})?(/.*)?$#';
  144. 165: $ch = $value{$i};
  145. 214: return($value{8} == 'T' &&
  146. 231: if($value{0} == '+' || $value{0} == '-') {
  147. 236: if($value{0} != 'P') {
  148. 245: $ch = $value{$i};
  149. 312: switch($value{$i}) {
  150. 352: if($value{0} == '+' || $value{0} == '-') {
  151. 755: if($value{0} != '+' && $value{0} != '-') {
  152.  
  153. lib/bennu/iCalendar_properties.php
  154. 740: return ($value{0} != '-');
  155. 764: if($value{$pos - 1} != 'Z') {
  156. 768: if($value{$pos + 1} != 'P' && substr($value, -1) != 'Z') {
  157. 1282: if($value{$i} == ';' && !$escch) {
  158. 1288: $escch = ($value{$i} == '\\');
  159.  
  160. lib/adminlib.php
  161. 3865: if (preg_match('#^(\d{1,3})(\.\d{1,3}){0,3}$#', $ip, $match) ||
  162. 3866: preg_match('#^(\d{1,3})(\.\d{1,3}){0,3}(\/\d{1,2})$#', $ip, $match) ||
  163. 3867: preg_match('#^(\d{1,3})(\.\d{1,3}){3}(-\d{1,3})$#', $ip, $match)) {
  164. 10069: if (preg_match('/^#?([[:xdigit:]]{3}){1,2}$/', $data)) {
  165.  
  166. lib/wiki_to_markdown.php
  167. 150: $listchar = $line{0};
  168.  
  169. lib/typo3/class.t3lib_cs.php
  170. 682: $ord2 = ord($str{$a + 1});
  171. 1167: switch ($cat{0}) {
  172. 1227: if ($line{0} != '#' && trim($line) != '') {
  173. 1230: if ($cond == '' || $cond{0} == '#') {
  174. 1267: if ($line{0} != '#' && trim($line) != '') {
  175. 1612: if (strlen($string{$i})) {
  176. 1617: if (strlen($string{$i - 1})) {
  177. 1838: for ($i = 0; strlen($str{$i}); $i++) {
  178. 1839: $c = $str{$i};
  179. 1911: for ($i = 0; strlen($str{$i}); $i++) {
  180. 1912: $c = ord($str{$i});
  181. 1936: if (ord($str{$i}) & 0x80) { // part of a multibyte sequence
  182. 1937: for (; $i > 0 && !(ord($str{$i}) & 0x40); $i--) {
  183. 1944: for ($bc = 0, $mbs = ord($str{$i}); $mbs & 0x80; $mbs = $mbs << 1) {
  184. 2031: for (; strlen($str{$i}) && $n < $p; $i += $d) {
  185. 2032: $c = (int) ord($str{$i});
  186. 2042: if (!strlen($str{$i})) {
  187. 2048: while ((ord($str{$i}) & 0x80) && !(ord($str{$i}) & 0x40)) {
  188. 2071: $c = (int) ord($str{$i});
  189. 2081: if (!strlen($str{$i})) {
  190. 2116: for ($i = 0; strlen($str{$i}); $i++) {
  191. 2117: $c = ord($str{$i});
  192. 2120: $mbc = $str{$i};
  193. 2165: for ($i = 0; strlen($str{$i}) && $i < $len; $i++) {
  194. 2166: $c = ord($str{$i});
  195. 2178: if (!strlen($str{$i})) {
  196. 2235: for ($i = 0; strlen($str{$i}); $i++) {
  197. 2236: $c = ord($str{$i});
  198. 2276: for (; strlen($str{$i}) && $n < $p; $i += $d) {
  199. 2277: $c = ord($str{$i});
  200. 2291: if (!strlen($str{$i})) {
  201. 2334: for ($i = 0; strlen($str{$i}); $i++) {
  202. 2335: $mbc = $str{$i};
  203.  
  204. lib/moodlelib.php
  205. 939: if (!preg_match('/^<span(\s+lang="[a-zA-Z0-9_-]+"|\s+class="multilang"){2}\s*>$/u', $match)) {
  206. 5696: switch ($modargs{0}) {
  207. 9088: return preg_replace('/(\/|\\\){1,}/', '/', $path);
  208. 9243: $compressed = preg_replace('/^(0:){2,7}/', '::', $result, 1);
  209. 9248: $compressed = preg_replace('/(:0){2,6}:/', '::', $result, 1);
  210.  
  211. lib/typo3/class.t3lib_div.php
  212. 1366: if (!isset($bytes{$bytesToReturn - 1})) {
  213. 1375: if (!isset($bytes{$bytesToReturn - 1})) {
  214. 1380: if (!isset($bytes{$bytesToReturn - 1})) {
  215. 1386: if (!isset($bytes{$bytesToReturn - 1})) {
  216. 1456: while (!isset($bytes{$bytesToReturn - 1})) {
  217. 5321: $partWasQuoted = ($part{0} == '"');
  218.  
  219. lib/htmlpurifier/HTMLPurifier/Encoder.php
  220. 162: $in = ord($str{$i});
  221.  
  222. lib/htmlpurifier/HTMLPurifier/ChildDef/Custom.php
  223. 48: if ($raw{0} != '(') {
  224.  
  225. lib/ltiprovider/src/OAuth/OAuthSignatureMethod.php
  226. 59: $result |= ord($built{$i}) ^ ord($signature{$i});
  227.  
  228. lib/php-css-parser/RuleSet/AtRuleSet.php
  229. 38: $sResult = "@{$this->sType}$sArgs{$oOutputFormat->spaceBeforeOpeningBrace()}{";
  230.  
  231. lib/php-css-parser/CSSList/AtRuleBlockList.php
  232. 39: $sResult .= "@{$this->sType}$sArgs{$oOutputFormat->spaceBeforeOpeningBrace()}{";
  233.  
  234. lib/weblib.php
  235. 1918: $filteredtextregex = '/<span(\s+lang="([a-zA-Z0-9_-]+)"|\s+class="multilang"){2}\s*>/';
  236. 2981: if (rand(0, 2) && $email{$i}!='@') { // MDL-20619 some browsers have problems unobfuscating @.
  237. 2982: $obfuscated.='%'.dechex(ord($email{$i}));
  238. 2984: $obfuscated.=$email{$i};
  239.  
  240. draftfile.php
  241. 44:} else if ($relativepath{0} != '/') {
  242.  
  243. filter/urltolink/filter.php
  244. 95: $numericip = '(?:(?:[0-9]{1,3}\.){3}[0-9]{1,3})';
  245.  
  246. filter/multilang/filter.php
  247. 64: $search = '/(<span(\s+lang="[a-zA-Z0-9_-]+"|\s+class="multilang"){2}\s*>.*?<\/span>)(\s*<span(\s+lang="[a-zA-Z0-9_-]+"|\s+class="multilang"){2}\s*>.*?<\/span>)+/is';
  248.  
  249. backup/cc/cc_lib/gral_lib/pathutils.php
  250. 91: $chr = $path{$count};
  251. 93: $path{$count} = '/';
  252. 107: $chr = $path{$count};
  253. 109: $path{$count} = DIRECTORY_SEPARATOR;
  254. 121: $chr = $path{$count};
  255. 123: $path{$count} = '/';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement