0 - 36.php

<style>table,tr,td,th{border:2px solid #fcc;color:#930;padding:0.3em;border-collapse: collapse;}
.sortable th{cursor:pointer}.sortable th.no-sort{pointer-events:none}.sortable th::after,.sortable th::before{transition:color .1s ease-in-out;font-size:1.2em;color:rgba(0,0,0,0)}.sortable th::after{margin-left:3px;content:"▸"}.sortable th:hover::after{color:inherit}.sortable th.dir-d::after{color:inherit;content:"▾"}.sortable th.dir-u::after{color:inherit;content:"▴"}.sortable th.indicator-left::before{margin-right:3px;content:"▸"}.sortable th.indicator-left:hover::before{color:inherit}.sortable th.indicator-left.dir-d::before{color:inherit;content:"▾"}.sortable th.indicator-left.dir-u::before{color:inherit;content:"▴"}
</style><table class="sortable" style="--sortable-th-bg: pink">
<thead><tr><th>Int</th><th>Float</th><th>Time</th></tr></thead>
<?php
function floatme(){
  return mt_rand(1, 2147483562) * 4.656613e-10;
}
date_default_timezone_set('Australia/Adelaide');
$sql = "<tr><td>".mt_rand()."</td><td>".floatme()."</td><td>".date('Y-m-d H:i:s')."</td></tr>";
file_put_contents('sqli.txt',$sql,FILE_APPEND);
echo file_get_contents('sqli.txt');
?></table><script>
//https://github.com/tofsjonas/sortable/blob/main/sortable.min.js
document.addEventListener("click",function(b){try{var p=function(a){return v&&a.getAttribute("data-sort-alt")||a.getAttribute("data-sort")||a.innerText},q=function(a,c){a.className=a.className.replace(w,"")+c},g=function(a,c){return a.nodeName===c?a:g(a.parentNode,c)},w=/ dir-(u|d) /,v=b.shiftKey||b.altKey,e=g(b.target,"TH"),r=g(e,"TR"),f=g(r,"TABLE");if(/\bsortable\b/.test(f.className)){var l,d=r.cells;for(b=0;b<d.length;b++)d[b]===e?l=e.getAttribute("data-sort-col")||b:q(d[b],"");d=" dir-d ";if(-1!==
e.className.indexOf(" dir-d ")||-1!==f.className.indexOf("asc")&&-1==e.className.indexOf(" dir-u "))d=" dir-u ";q(e,d);for(b=0;b<f.tBodies.length;b++){var m=f.tBodies[b],n=[].slice.call(m.rows,0),t=" dir-u "===d;n.sort(function(a,c){var h=p((t?a:c).cells[l]),k=p((t?c:a).cells[l]);return h.length&&k.length&&!isNaN(h-k)?h-k:h.localeCompare(k)});for(var u=m.cloneNode();n.length;)u.appendChild(n.splice(0,1)[0]);f.replaceChild(u,m)}}}catch(a){}});</script>