監聽端口的php腳本

用於監聽指定端口,查看內網是否有機器全網探測,輸出日誌。php <?php $port = 6379; //error_reporting( E_ALL ); set_time_limit( 0 ); ob_implicit_flush(); $socket = socket_create( AF_INET, SOCK_STREAM, SOL_TCP ); if ( $socket === f
相關文章
相關標籤/搜索