6,11d5 < $pret="pre"; < $ihoutpute=''; < $ihoutput=''; < $winonly=''; < $yourexec=''; < $yourshell_exec=''; 100,135d93 < function yourexec($incd) { < global $cmdtitlesuffix, $cmdtitlefilesuffix, $ps; < $outcd=$incd; < if ($ps != '') { < if (strpos($incd, str_replace('"',"'",$ps)) !== false) { < if ($cmdtitlesuffix != '' && strpos($incd . '~', $cmdtitlesuffix . '~') !== false) { < $outcd=str_replace("-exec ls -l {} \; -exec file {} \;", $cmdtitlesuffix . ' ', str_replace(str_replace('"',"'",$ps),$cmdtitlesuffix, explode($cmdtitlesuffix, $incd)[0]) . str_replace('"',"'",$ps)); < } else if ($cmdtitlefilesuffix != '' && strpos($incd . '~', $cmdtitlefilesuffix . '~') !== false) { < $outcd=str_replace("-exec ls -l {} \; -exec file {} \;", $cmdtitlefilesuffix . ' ', str_replace(str_replace('"',"'",$ps),$cmdtitlefilesuffix, explode($cmdtitlefilesuffix, $incd)[0]) . str_replace('"',"'",$ps)); < } < } < } < if (strpos($outcd, '|') !== false) { < return str_replace("\\","\\\\",exec('(' . $outcd . ')')); < } < return str_replace("\\","\\\\",exec($outcd)); < } < < function yourshell_exec($incd) { < global $cmdtitlesuffix, $cmdtitlefilesuffix, $ps; < $outcd=$incd; < if ($ps != '') { < if (strpos($incd, str_replace('"',"'",$ps)) !== false) { < if ($cmdtitlesuffix != '' && strpos($incd . '~', $cmdtitlesuffix . '~') !== false) { < $outcd=str_replace("-exec ls -l {} \; -exec file {} \;", $cmdtitlesuffix . ' ', str_replace(str_replace('"',"'",$ps),$cmdtitlesuffix, explode($cmdtitlesuffix, $incd)[0]) . str_replace('"',"'",$ps)); < } else if ($cmdtitlefilesuffix != '' && strpos($incd . '~', $cmdtitlefilesuffix . '~') !== false) { < $outcd=str_replace("-exec ls -l {} \; -exec file {} \;", $cmdtitlefilesuffix . ' ', str_replace(str_replace('"',"'",$ps),$cmdtitlefilesuffix, explode($cmdtitlefilesuffix, $incd)[0]) . str_replace('"',"'",$ps)); < } < } < } < if (strpos($outcd, '|') !== false) { < return str_replace("\\","\\\\",shell_exec('(' . $outcd . ')')); < } < return str_replace("\\","\\\\",shell_exec($outcd)); < } < 137c95 < global $cmdtitlesuffix, $cmdtitlefilesuffix, $ps, $yourexec, $yourshell_exec, $winonly; --- > global $cmdtitlesuffix, $cmdtitlefilesuffix, $ps; 149,153d106 < if (PHP_OS =='WINNT' || PHP_OS =='WIN32' || PHP_OS =='Windows') { < $yourexec = str_replace("\\","`",exec('(' . $outcd . ')')); < $winonly.="\n document.getElementById('prer').setAttribute('data-title', \"" . str_replace("\n","
",$yourexec) . "\"); \n"; < //return $yourexec; < } 156,160d108 < if (PHP_OS =='WINNT' || PHP_OS =='WIN32' || PHP_OS =='Windows') { < $yourexec = str_replace("\\","`",exec($outcd)); < $winonly.="\n document.getElementById('prer').setAttribute('data-title', \"" . str_replace("\n","
",$yourexec) . "\"); \n"; < //return $yourexec; < } 165c113 < global $cmdtitlesuffix, $cmdtitlefilesuffix, $ps, $yourexec, $yourshell_exec, $winonly; --- > global $cmdtitlesuffix, $cmdtitlefilesuffix, $ps; 177,181d124 < if (PHP_OS =='WINNT' || PHP_OS =='WIN32' || PHP_OS =='Windows') { < $yourshell_exec = str_replace("\\","`",shell_exec('(' . $outcd . ')')); < $winonly.="\n document.getElementById('prel').setAttribute('data-title', \"" . str_replace("\n","
",$yourshell_exec) . "\"); \n"; < //return $yourshell_exec; < } 184,189d126 < < if (PHP_OS =='WINNT' || PHP_OS =='WIN32' || PHP_OS =='Windows') { < $yourshell_exec = str_replace("\\","`",shell_exec($outcd)); < $winonly.="\n document.getElementById('prel').setAttribute('data-title', \"" . str_replace("\n","
",$yourshell_exec) . "\"); \n"; < //return $yourshell_exec; < } 194c131 < $allowed=['dir .\* /B /S ', ' /O:-D ']; --- > $allowed=['dir .\* /S ', ' /O:-D ']; 315,318c252 < if (PHP_OS =='WINNT' || PHP_OS =='WIN32' || PHP_OS =='Windows') { < $pret='code'; < $selbit=maybecet($cmnd) . "  "; < } else { --- > 320d253 < } 327,329c260,262 < if ($cmdtitlesuffix != '' || 1 == 1) { < $toutputte=" onmouseout='setTimeout(onmout,2000);' onmouseover=onmo(event); onclick=\" xx=windowopen('','_blank','top=50,left=50,height=600,width=600'); xxdocumentwrite('

' + this.title + '

' + '" . str_replace("\n","
",yourexec($cmnd . str_replace(' ',' +',$switch) . $cmdtitlesuffix)) . "' + '


' + '

'); xx.document.title=this.title;\" id=thl title=\"\$outputte = exec('" . reworkt(str_replace("'",'`',$cmnd) . str_replace("'",'`',str_replace(' ',' +',$switch)) . $cmdtitlesuffix) . "');" . "\" "; < $toutputts=" onmouseout='setTimeout(onmout,2000);' onmouseover=onmo(event); onclick=\" xx=windowopen('','_blank','top=50,left=50,height=600,width=600'); xxdocumentwrite('

' + this.title + '

' + ldebate('" . str_replace("\n","
",yourshell_exec($cmnd . str_replace(' ',' +',$switch) . $cmdtitlesuffix)) . "') + '

' + '

'); xx.document.title=this.title;\" id=thr title=\"\$outputts = shell_exec('" . reworkt(str_replace("'",'`',$cmnd) . str_replace("'",'`',str_replace(' ',' +',$switch)) . $cmdtitlesuffix) . "');" . "\" "; --- > if ($cmdtitlesuffix != '') { > $toutputte=" onmouseout='setTimeout(onmout,2000);' onmouseover=onmo(event); onclick=\" xx=windowopen('','_blank','top=50,left=50,height=600,width=600'); xxdocumentwrite('

' + this.title + '

' + '" . str_replace("\n","
",ourexec($cmnd . str_replace(' ',' +',$switch) . $cmdtitlesuffix)) . "' + '


' + '

'); xx.document.title=this.title;\" id=thl title=\"\$outputte = exec('" . reworkt(str_replace("'",'`',$cmnd) . str_replace("'",'`',str_replace(' ',' +',$switch)) . $cmdtitlesuffix) . "');" . "\" "; > $toutputts=" onmouseout='setTimeout(onmout,2000);' onmouseover=onmo(event); onclick=\" xx=windowopen('','_blank','top=50,left=50,height=600,width=600'); xxdocumentwrite('

' + this.title + '

' + ldebate('" . str_replace("\n","
",ourshell_exec($cmnd . str_replace(' ',' +',$switch) . $cmdtitlesuffix)) . "') + '

' + '

'); xx.document.title=this.title;\" id=thr title=\"\$outputts = shell_exec('" . reworkt(str_replace("'",'`',$cmnd) . str_replace("'",'`',str_replace(' ',' +',$switch)) . $cmdtitlesuffix) . "');" . "\" "; 332,333c265,266 < $outputte=" id=prer onmouseout='setTimeout(onmout,2000);' onmouseover=onmo(event); onclick=\" xx=windowopen('','_blank','top=50,left=50,height=600,width=600'); xxdocumentwrite('

' + this.title + '

' + '" . str_replace("\n","
",yourexec($cmnd . str_replace(' ',' +',$switch) . $cmdtitlefilesuffix)) . "' + '


' + '

'); xx.document.title=this.title;\" id=thld title=\"\$outputfilete = exec('" . reworkt(str_replace("'",'`',$cmnd) . str_replace("'",'`',str_replace(' ',' +',$switch)) . $cmdtitlefilesuffix) . "');" . "\" "; < $outputts=" id=prel onmouseout='setTimeout(onmout,2000);' onmouseover=onmo(event); onclick=\" xx=windowopen('','_blank','top=50,left=50,height=600,width=600'); xxdocumentwrite('

' + this.title + '

' + ldebate('" . str_replace("\n","
",yourshell_exec($cmnd . str_replace(' ',' +',$switch) . $cmdtitlefilesuffix)) . "') + '

' + '

'); xx.document.title=this.title;\" id=thld title=\"\$outputfilets = shell_exec('" . reworkt(str_replace("'",'`',$cmnd) . str_replace("'",'`',str_replace(' ',' +',$switch)) . $cmdtitlefilesuffix) . "');" . "\" "; --- > $outputte=" onmouseout='setTimeout(onmout,2000);' onmouseover=onmo(event); onclick=\" xx=windowopen('','_blank','top=50,left=50,height=600,width=600'); xxdocumentwrite('

' + this.title + '

' + '" . str_replace("\n","
",ourexec($cmnd . str_replace(' ',' +',$switch) . $cmdtitlefilesuffix)) . "' + '


' + '

'); xx.document.title=this.title;\" id=thld title=\"\$outputfilete = exec('" . reworkt(str_replace("'",'`',$cmnd) . str_replace("'",'`',str_replace(' ',' +',$switch)) . $cmdtitlefilesuffix) . "');" . "\" "; > $outputts=" onmouseout='setTimeout(onmout,2000);' onmouseover=onmo(event); onclick=\" xx=windowopen('','_blank','top=50,left=50,height=600,width=600'); xxdocumentwrite('

' + this.title + '

' + ldebate('" . str_replace("\n","
",ourshell_exec($cmnd . str_replace(' ',' +',$switch) . $cmdtitlefilesuffix)) . "') + '

' + '

'); xx.document.title=this.title;\" id=thld title=\"\$outputfilets = shell_exec('" . reworkt(str_replace("'",'`',$cmnd) . str_replace("'",'`',str_replace(' ',' +',$switch)) . $cmdtitlefilesuffix) . "');" . "\" "; 350,351d282 < var waso=null; < var wasih=''; 355,361c286 < if (outh.indexOf(String.fromCharCode(92)) != -1) { < while (outh.indexOf(String.fromCharCode(92)) != -1) { < outh=outh.replace(String.fromCharCode(92), '`'); < } < outh=outh.replace(/\`/g, String.fromCharCode(92) + String.fromCharCode(92)); < } < var outlines=outh.replace(/\$/g,'').split('
'); --- > var outlines=inh.replace(/\$/g,'').split('
'); 384c309 < if (document && ('' + event.target.outerHTML).indexOf('') != -1) { --- > if (document && ('' + event.target.outerHTML).indexOf('') != -1) { 401,406d325 < //if (('' + event.target.getAttribute('data-title')).replace('undefined','').replace('null','') != '') { < // waso=event.target; < // wasih=event.target.innerHTML; < // event.target.innerHTML=event.target.getAttribute('data-title'); < // setTimeout(backwas, 2000); < //} 410,413d328 < < function backwas() { < waso.innerHTML=wasih; < } 443,446d357 < //alert(thehtml); < while (thehtml.indexOf(String.fromCharCode(92) + String.fromCharCode(92)) != -1) { < thehtml=thehtml.replace(String.fromCharCode(92) + String.fromCharCode(92), String.fromCharCode(92)); < } 448d358 < //alert(document.getElementById('dinfo').innerHTML); 450,451d359 < //alert(thehtml); < //alert(thehtml.replace(/\\\\/g,'\\\\\\\\')); 466,467c374 < } < " . $winonly . " --- > } 560,561c467,468 < <" . $pret . $outputts . " value=\"" . $output . "\">$output < <" . $pret . $outputte . " value=\"" . $outpute . "\">$outpute --- > $output > $outpute