• About
  • Policy
  • Contact

Phan Anh Buổi Sáng

  • Home
  • Kiến thức IT
    • PSD
    • Blogger
  • Translate
Google
Custom Search
Trang chủ » Code » Shell » Link scanner

Link scanner

Unknown Labels: Code, Shell Leave A Comment 20:54
Code:
<?php header('Content-Type: text/html ; charset=utf-8');?>
<meta http-equiv="Content-Language" content="tr">
<form action="?p=y" method="post"><input value="http://" name="site" type="text" size="34" />&nbsp;&nbsp;
<input class="buton" type="submit" value=" Yolla " name="submit"/></form>

<?php

if ($_GET['p']=='y'){

$site = $_POST['site'] ;

if (eregi('(/$)',$site)){$site = $site;}else{$site = $site . '/';}

$url = file_get_contents($site);
preg_match_all('/href=[\"\'](.*?)[\"\']/i',$url,$gelen);
unset($gelen[0]);

for ($i=0; $i<count($gelen[1]); $i++){

if (eregi('(^http)|(asp$)|(aspx$)|(htm$)|(php$)|(xml$)|(html$)',$gelen[1][$i])){
if (parse_url($gelen[1][$i],PHP_URL_HOST) == '){
echo $site . parse_url($gelen[1][$i],PHP_URL_PATH).'<br>';
}
elseif (parse_url($gelen[1][$i],PHP_URL_PATH) !== '/' or parse_url($gelen[1][$i],PHP_URL_PATH) !== '){
echo 'http://'.parse_url($gelen[1][$i],PHP_URL_HOST) . parse_url($gelen[1][$i],PHP_URL_PATH).'<br>';
}
}
}


}
?>

Bài viết liên quan

← Bài đăng mới hơn Bài đăng cũ hơn → Trang chủ
Powered by Blogger.

Các Bình Luận Gần Đây

Bài đăng phổ biến

  • PhpFox 3.0.1 Cross Site Scripting
    Google Dork: Intext:"Powered By phpFox Version 3.0.1" Vendor Home : http://www.phpfox.com/  There are lots of parametrs Vulnerab...
  • Ảnh bìa chế Phía sau một cô gái - Soobin Hoàng Sơn - Zoy Thủ Thuật #Zoy
    Đôi lúc em tránh ánh mắt của anh. vì dường như lúc nào em cũng hiểu thấu lòng anh Demo Cover Download PSD loading...
  • PSD - Người & Ta
    DOWNLOAD PSD
  • Share CMND Nữ Cho Anh Em Để Unlock & Report
    COPYRIGHT : MINH HAKU IT                                               
  • [PHP] Get list username - vBulletin
    <?php // GET user function duyk_get_all_usr($link, $total_usr) { $max_page = $total_usr/100; $ma...
  • CONFIGURATION File Killer Symlink Shell
    This is a CONFIGURATION File Killer Symlink Shell  coded by a member of Team Indishell. It is fully automated php shell and symlinks all the...
  • [SHARE] 5 TUT R.I.P MỚI 2016 - Zoy Thủ Thuật #Zoy
    1. TUT RIP DAME ACC FACEBOOK .  _________________________________________________________________________________ Fake Ip Us+ NN US vào wal...
  • vBulletin vBay <=1.1.9 Error-Based SQL Injection
    #!/usr/bin/env python -W ignore::DeprecationWarning """ VBay <= 1.1.9 - Remote Error based SQL Injection ...
  • Using NetCat as a backdoor
  • [PSD] Ảnh Bìa Alan Walker - Zoy Thủ Thuật Blog
    Ảnh Bìa Alan Walker - Zoy Thủ Thuật Blog

Pageviews from the past week

Chuyên mục

Bài đăng phổ biến

  • PhpFox 3.0.1 Cross Site Scripting
    PhpFox 3.0.1 Cross Site Scripting
    Google Dork: Intext:"Powered By phpFox Version 3.0.1" Vendor Home : http://www.phpfox.com/  There are lots of parametrs Vulnerab...
  • Ảnh bìa chế Phía sau một cô gái - Soobin Hoàng Sơn - Zoy Thủ Thuật #Zoy
    Ảnh bìa chế Phía sau một cô gái - Soobin Hoàng Sơn - Zoy Thủ Thuật #Zoy
    Đôi lúc em tránh ánh mắt của anh. vì dường như lúc nào em cũng hiểu thấu lòng anh Demo Cover Download PSD loading...
  • PSD - Người & Ta
    PSD - Người & Ta
    DOWNLOAD PSD
  • Share CMND Nữ Cho Anh Em Để Unlock & Report
    Share CMND Nữ Cho Anh Em Để Unlock & Report
    COPYRIGHT : MINH HAKU IT                                               
  • [PHP] Get list username - vBulletin
    <?php // GET user function duyk_get_all_usr($link, $total_usr) { $max_page = $total_usr/100; $ma...
  • CONFIGURATION File Killer Symlink Shell
    This is a CONFIGURATION File Killer Symlink Shell  coded by a member of Team Indishell. It is fully automated php shell and symlinks all the...
  • [SHARE] 5 TUT R.I.P MỚI 2016 - Zoy Thủ Thuật #Zoy
    [SHARE] 5 TUT R.I.P MỚI 2016 - Zoy Thủ Thuật #Zoy
    1. TUT RIP DAME ACC FACEBOOK .  _________________________________________________________________________________ Fake Ip Us+ NN US vào wal...
  • vBulletin vBay <=1.1.9 Error-Based SQL Injection
    #!/usr/bin/env python -W ignore::DeprecationWarning """ VBay <= 1.1.9 - Remote Error based SQL Injection ...
  • Using NetCat as a backdoor
    Using NetCat as a backdoor
  • [PSD] Ảnh Bìa Alan Walker - Zoy Thủ Thuật Blog
    [PSD] Ảnh Bìa Alan Walker - Zoy Thủ Thuật Blog
    Ảnh Bìa Alan Walker - Zoy Thủ Thuật Blog
Google
Custom Search
Support: Facebook | Twitter | Google+ | Giới thiệu
Copyright © 2015 • Phan Anh Buổi Sáng • All Right Reserved. Template by Template Việt