diff --git a/tools/proftp.php b/tools/proftp.php index c80724ea..01df1cf1 100644 --- a/tools/proftp.php +++ b/tools/proftp.php @@ -12,7 +12,7 @@ }else{ $onlineip=$_SERVER['REMOTE_ADDR']; } - if ($onlineip!='210.77.68.241' && $onlineip!='2001:cc0:f006:0:214:22ff:fe08:d277') + if ($onlineip!='210.77.68.241' && $onlineip!='2001:cc0:f006::401') die("error! You are not permitted to visit this page.".$onlineip); //文件生成 $onlineappid=(int)@$_GET['onlineappid']; diff --git a/tools/proftp_upload.php b/tools/proftp_upload.php index d871209d..96eb8897 100644 --- a/tools/proftp_upload.php +++ b/tools/proftp_upload.php @@ -13,7 +13,7 @@ }else{ $onlineip=$_SERVER['REMOTE_ADDR']; } - if ($onlineip!='210.77.68.241' && $onlineip!='210.77.68.215' && $onlineip!='2001:cc0:f006:0:214:22ff:fe08:d277') + if ($onlineip!='210.77.68.241' && $onlineip!='210.77.68.215' && $onlineip!='2001:cc0:f006::401') die("error! You are not permitted to visit this page.".$onlineip); //文件生成 $uuid=$_GET['uuid'];