内射老阿姨1区2区3区4区_久久精品人人做人人爽电影蜜月_久久国产精品亚洲77777_99精品又大又爽又粗少妇毛片

<script>網(wǎng)絡(luò)主機掃描(ping)

#!/usr/bin/env python
#-*- coding: UTF-8 -*-
import platform
import sys
import os
import time
import thread


def get_os():
    # get os
    os = platform.system()
    if os == "Windows":
        return "n"
    else:
        return "c"

def ping_ip(ip_str):         #ping ip
    cmd = ["ping", "-{op}".format(op=get_os()),
           "1", ip_str]
    output = os.popen(" ".join(cmd)).readlines()
    flag = False
    for line in list(output):
        if not line:
            continue
        if str(line).upper().find("TTL") >= 0:
            flag = True
            break
    if flag:
        print "ip: %s is ok ***" % ip_str


def find_ip(ip_prefix):         #find all ip of the net
    for i in range(1, 256):
        ip = '%s.%s' % (ip_prefix, i)
        thread.start_new_thread(ping_ip, (ip,))
        time.sleep(0.3)

if __name__ == "__main__":
    print "start time %s" % time.ctime()
    commandargs = sys.argv[1:]
    args = "".join(commandargs)
    ip_prefix = '.'.join(args.split('.')[:-1])
    find_ip(ip_prefix)
    print "end time %s" % time.ctime()

<script>網(wǎng)絡(luò)主機掃描(ping)

成都創(chuàng)新互聯(lián)公司主營繁峙網(wǎng)站建設(shè)的網(wǎng)絡(luò)公司,主營網(wǎng)站建設(shè)方案,app開發(fā)定制,繁峙h5重慶小程序開發(fā)搭建,繁峙網(wǎng)站營銷推廣歡迎繁峙等地區(qū)企業(yè)咨詢

名稱欄目:<script>網(wǎng)絡(luò)主機掃描(ping)
文章網(wǎng)址:http://www.rwnh.cn/article12/ghccdc.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供品牌網(wǎng)站建設(shè)網(wǎng)站制作、服務(wù)器托管標簽優(yōu)化、Google用戶體驗

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)

成都網(wǎng)站建設(shè)
柯坪县| 乐山市| 固阳县| 宜兰县| 嘉荫县| 东乡族自治县| 凌源市| 山丹县| 南宫市| 三穗县| 宣化县| 绥阳县| 会理县| 库尔勒市| 涞水县| 巴青县| 双柏县| 大厂| 天峻县| 青龙| 鄂伦春自治旗| 丰原市| 绵竹市| 米林县| 宕昌县| 江陵县| 龙江县| 长沙市| 大港区| 蕲春县| 阿巴嘎旗| 岳阳县| 宾川县| 松滋市| 陆丰市| 河源市| 赣榆县| 墨玉县| 浦东新区| 图木舒克市| 团风县|