KinG-InFeT.NeT  
  Login or Registrare
~  Home  ~  Downloads  ~  Your Account  ~  Forums  ~ Web-Links ~
Futuri aggiornamenti!!: Come avrete visto il sito � stato defacciato quindi data la poka sicurezza del CMS provveder� a cambiare interamente cms e a sistemare + la sicurezza
MENU - KinG-InFeT.NeT
· Home
· Acces Point Pwd-Default
· Archivio Exploit
· Ascii Tables
· Button Maker
· Cerca
· Codice Fiscale
· Contatta l'Admin
· Crea Avatar
· Dns IP Range
· Downloads
· Dragon Ball Series
· Flash Games
· Forums
· Genera Pass
· Geo-IP
· GuestBook
· HaCkEr-GaMe
· Home Page Flash Creator
· Image Hosting
· Invia una Fake-Mail
· l'HostName sapendo l'IP
· La migliore Distro Linux
· Lista Comandi UNIX
· Lista Utenti
· logo Creator
· MD5-Cracker Online
· MD5/SHA1 Generate
· Messaggi Privati
· MsN Account List
· My Personal Site
· Naviga Anonimo
· News dal Mondo dell'inf.
· Nick Name Maker
· No-Paste
· NuKe-TooLz
· NukeSentinel
· PaPeRs - TuToRiAl
· Proxy List
· Ricerca Satellitare
· Segnala Questo Sito
· Segnalami un Bug
· Smiley Generation
· Statistiche
· Top 10
· Total Search
· Userbar Creator
· WebLinks
· WordList
· XSS New Cheat List
 
Linkaci

Linkaci:

KinG-InFeT.NeT


 
Tool

Accedi al pannello di

Coding/Decoding - Tool


� By KinG-InFeT

 
Ricerca dominio
Registra il tuo Dominio Su Aruba :



 
Ultimi Download
Gli ultimi 10 Download
· 1: Shellr57
· 2: EVEREST Ultimate Edition v5.01.1700 + SERIALS
· 3: The Metasploit Project - Framework
· 4: Tanable Nessus Network Security Scanner
· 5: EtherApe
· 6: ntop - network top
· 7: Dsniff
· 8: Ettercap
· 9: TCPDUMP/LIBPCAP
· 10: Kismet


Top 10 Download
· 1: MsN-CrAsH [45]
· 2: Doork GooGle [44]
· 3: Acunetix Web Vulnerability Scanner 6 [40]
· 4: Virus Maker v 1.0 - NO LAMER! [38]
· 5: Matrix Effect [35]
· 6: Super Scan 4 [34]
· 7: Neo.Trace.Pro.v3.25 [32]
· 8: Cain & Abel [30]
· 9: FaKe-Mail [27]
· 10: ShellC99 [23]
 
Attack Hack Blocks
Questo è l'elenco degli indirizzi IP bloccati da NukeSentinel(tm).

· 79.46.31.224  - Script
· 79.10.29.101  - Script
· 79.54.99.183  - Script
· 72.51.46.230  - Admin
· 151.62.49.23  - Script
· 62.10.78.76  - Script
· 79.49.140.223  - Union
· 79.47.98.214  - Script
· 79.52.183.175  - Script
· 79.41.179.252  - Script
· 78.142.140.194  - Script
· 79.13.4.35  - Script
· 79.53.176.25  - Script
· 79.53.197.134  - Union
· 80.240.220.83  - CLike
· 79.36.13.104  - CLike
· 88.198.36.73  - Script
· 151.33.145.2  - Union
· 79.43.95.254  - Script
· 79.9.19.62  - Script

NukeSentinel™
 
KinG-InFeT.NeT: Forums

KinG-InFeT.NeT - Ufficial Forum :: Leggi il Topic - [PHP] Sentinel v1.3
 
 FAQFAQ   CercaCerca   Lista degli utentiLista degli utenti   Gruppi utentiGruppi utenti 
 ProfiloProfilo   Messaggi PrivatiMessaggi Privati   LoginLogin 

[PHP] Sentinel v1.3

 
Nuovo Topic   Rispondi    Indice del forum -> Programmazione PHP&MySQL
Precedente :: Successivo  
Autore Messaggio
admin
Founder
Founder


Registrato: Oct 03, 2008
Messaggi: 261

MessaggioInviato: Ven Giu 12, 2009 10:45 am    Oggetto: [PHP] Sentinel v1.3 Rispondi citando

carinissimo sentinel molto utile ke dovrebbe bloccare xss, SQL, RFI
codice è il seguente basta poi includere lo script in ogni pagina da proteggere è il gioco è fatto
Codice:
<?php
$sentinel_version = "1.3";
/* Sentinel By KinG-InFeT CMS v1.2*/

$code = array(

      "http",
      "www",
      "<",
      "src",
      "%",
      "on",
      "-",
      "\"",
      "\'",
      "\*",
      "\.",
      "etc",
      ":",
      "user",
      "jpg",
      "txt",
      "png",
      "jpeg",
      "gif",
      ">",
      "ftp",
      "_",
      "union",
      "from",
      "where",
      "create",
      "alter",
      "copy",
      "drop",
      "phpbb",
      "path",
      "location",
      "window",
      "document",
      "execute",
      "update",
      "select",
      ";"
);

foreach($code as $value) {
if(eregi($value,$_SERVER['QUERY_STRING']))
{
$f=fopen('admin/log_attack.txt', "a");
fwrite($f, 'IP Attaccante : ' . $_SERVER['REMOTE_ADDR'] . ' - Stringa di Attacco :' . $_SERVER['HTTP_HOST'] .'/'. $_SERVER['QUERY_STRING'] . "\n");
fclose($f);
die("
<html>
<head>
<title>Attacco hacker Bloccato - Sentinel By KinG-InFeT CMS v <?php echo $sentinel_version; ?></title>
</head>

<body bgcolor=\"#000000\"><h3 align=\"center\"></h3>
<h3 align=\"center\"><font color=\"#FF0000\">Attacco Hacker Bloccato
  </p>
</font></h3>
<h3>
  <p align=\"center\"><font color=\"#FF0000\">Your IP Is Locked</font></p></h3>
<div align=\"center\"><font color=\"#FF0000\" size=\"1\">Sentinel By KinG-InFeT CMS v1.2  </font></div>
</body>
</html>
");
}

};
if ($_SERVER['HTTP_USER_AGENT'] == "Acunetix Web Vulnerability Scanner")
    {
        echo ("
<html>
<head>
<title>Attacco hacker Bloccato - Sentinel By KinG-InFeT CMS v <?php echo $sentinel_version; ?></title>
</head>

<body bgcolor=\"#000000\"><h3 align=\"center\"></h3>
<h3 align=\"center\"><font color=\"#FF0000\">Attacco Hacker Bloccato
  </p>
</font></h3>
<h3>
  <p align=\"center\"><font color=\"#FF0000\">Your IP Is Locked</font></p></h3>
<div align=\"center\"><font color=\"#FF0000\" size=\"1\">Sentinel By KinG-InFeT CMS v1.2  </font></div>
</body>
</html>
");
$f=fopen("admin/log_attack.txt", "a");
fwrite($f, 'IP : ' . $_SERVER['REMOTE_ADDR'] . ' - Tipo di attacco : Acunetix Scan');
fclose($f);
        exit();

    }


$num = file('admin/log_attack.txt');
$conta = count($num);
/*
Per visualizzare gli attacchi dare su ogni pagina il seguente comando:
echo "Attacchi bloccati: $conta";
*/

?>


Funzioni:
- Pagina ke stampa a video ke l'attacco è stato fermato e loggato il proprio ip (volevo mettere anche la data e l'ora ma mi scocciavo xd)
- Blocca attacchi come xss, sql injection, rfi e scanning con acunetix
- Log dell'ip e della stringa usata per l'attacco in un semplice txt (andava bene anche html molto più bello ma basta modificare un pò di cose e viene carino)

finito spero vi piaccia Razz

By KinG-InFeT

ps: creato per il progetto CMS ke sto creando Razz
_________________
D3vil-C0de Crew => http://d3vilc0de.org
My Spaces => http://kinginfet.135.it
My Tool Cracker => http://totalcracker.135.it
My Dj Site => http://djkinginfet.135.it
Torna in cima
Profilo Messaggio privato Invia email HomePage MSN Messenger
admin
Founder
Founder


Registrato: Oct 03, 2008
Messaggi: 261

MessaggioInviato: Ven Giu 12, 2009 11:32 am    Oggetto: Rispondi citando

v1.4 aggiustato il file txt quando strive e creato la pagina per visualizzare il log
Codice:
<html>
<head><title> Log Attacchi Bloccati nell'area Amministrativa </title>
<style type="text/css">
<!--
.Stile1 {color: #FFFFFF}
-->
</style>
</head>
<body bgcolor="#000000" text="#666666">
<h3 align="center">Attacchi Hacker Bloccati</h3>
<h3 align="center">Cronologia</h3>
<p align="center">
<?php $leggi_file=fopen("log_attack.txt","r");
$dim_file=filesize("log_attack.txt");
$contenuto=fread($leggi_file,$dim_file);
fclose($leggi_file);
echo "$contenuto";
?></p>
<hr />
<div align="center"><a href="admin.php"><br />
  <font size="1">Torna al CP Admin</font>
</a></div>
</body>
</html>

ecco lo script aggiornato
Codice:
<?php
$sentinel_version = "1.4";
/* Sentinel By KinG-InFeT CMS v1.4*/

$code = array(

      "http",
      "www",
      "<",
      "src",
      "%",
      "on",
      "-",
      "\"",
      "\'",
      "\*",
      "\.",
      "etc",
      ":",
      "user",
      "jpg",
      "txt",
      "png",
      "jpeg",
      "gif",
      ">",
      "ftp",
      "_",
      "union",
      "from",
      "where",
      "create",
      "alter",
      "copy",
      "drop",
      "phpbb",
      "path",
      "window",
      "document",
      "execute",
      "update",
      "select",
      ";"
);

foreach($code as $value) {
if(eregi($value,$_SERVER['QUERY_STRING']))
{
$f=fopen('log_attack.txt', "a");
fwrite($f, 'IP Attaccante : ' . $_SERVER['REMOTE_ADDR'] . ' - Stringa di Attacco :' . $_SERVER['HTTP_HOST'] .'/'. $_SERVER['QUERY_STRING'] . "\n<br>");
fclose($f);
die("
<html>
<head>
<title>Attacco hacker Bloccato - Sentinel By KinG-InFeT CMS v <?php echo $sentinel_version; ?></title>
</head>

<body bgcolor=\"#000000\"><h3 align=\"center\"></h3>
<h3 align=\"center\"><font color=\"#FF0000\">Attacco Hacker Bloccato
  </p>
</font></h3>
<h3>
  <p align=\"center\"><font color=\"#FF0000\">Your IP Is Locked</font></p></h3>
<div align=\"center\"><font color=\"#FF0000\" size=\"1\">Sentinel By KinG-InFeT CMS v1.4  </font></div>
</body>
</html>
");
}

};
if ($_SERVER['HTTP_USER_AGENT'] == "Acunetix Web Vulnerability Scanner")
    {
        echo ("
<html>
<head>
<title>Attacco hacker Bloccato - Sentinel By KinG-InFeT CMS v <?php echo $sentinel_version; ?></title>
</head>

<body bgcolor=\"#000000\"><h3 align=\"center\"></h3>
<h3 align=\"center\"><font color=\"#FF0000\">Attacco Hacker Bloccato
  </p>
</font></h3>
<h3>
  <p align=\"center\"><font color=\"#FF0000\">Your IP Is Locked</font></p></h3>
<div align=\"center\"><font color=\"#FF0000\" size=\"1\">Sentinel By KinG-InFeT CMS v1.2  </font></div>
</body>
</html>
");
$f=fopen("log_attack.txt", "a");
fwrite($f, 'IP : ' . $_SERVER['REMOTE_ADDR'] . ' - Tipo di attacco : Acunetix Scan<br>');
fclose($f);
        exit();

    }


$num = file('log_attack.txt');
$conta = count($num);
/*
Per visualizzare gli attacchi dare su ogni pagina il seguente comando:
echo "Attacchi bloccati: $conta";
*/

?>

_________________
D3vil-C0de Crew => http://d3vilc0de.org
My Spaces => http://kinginfet.135.it
My Tool Cracker => http://totalcracker.135.it
My Dj Site => http://djkinginfet.135.it
Torna in cima
Profilo Messaggio privato Invia email HomePage MSN Messenger
Mostra prima i messaggi di:   
Nuovo Topic   Rispondi    Indice del forum -> Programmazione PHP&MySQL Tutti i fusi orari sono GMT + 1 ora
Pagina 1 di 1

 
Vai a:  
Non puoi inserire nuovi Topic in questo forum
Non puoi rispondere ai Topic in questo forum
Non puoi modificare i tuoi messaggi in questo forum
Non puoi cancellare i tuoi messaggi in questo forum
Non puoi votare nei sondaggi in questo forum


CoPyRiGhT 2009 By KinG-InFeT
PhpBB Copiright 2009
Tutti I Diritti Riservati
Forums ©


Valid robots.txt
CoPyRiGhT © 2009/2010 By KinG-InFeT.NeT - Tutti i Diritti Riservati ®

Generazione pagina: 0.21 Secondi

Coder By KinG-InFeT