Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //nesse arrey iria vir os sites da extração dos links
- $sites = array ("http://www.athenapress.com/book.php?ID=2693%27", "http://mx5.brighton-rock.net/BandInfo.php?ID=448%27");
- foreach($sites as $valor){
- $url = file_get_contents($valor);
- $regex = preg_match('/ SQL syntax/i', $url);
- if($regex){
- echo "Atenção, este link possui uma falha de Sql Injection . <br />";
- }else{
- echo "Este link não possui falha de Sql Injection =D";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement