Exemplo n.º 1
0
def test_168(request):
    lines = ['http://192.168.5.168:60001', 'http://192.168.5.168:60002', 'http://192.168.5.168:60003',
             'http://192.168.5.168:60004', 'http://192.168.5.168:60005', 'http://192.168.5.168:60006',
             'http://192.168.5.168:60008', 'http://192.168.5.168:60011', 'http://192.168.5.168:60014',
             'http://192.168.5.168:60016', 'http://192.168.5.168:60019', 'http://192.168.5.168:60021',
             'http://192.168.5.168:60023', 'http://192.168.5.168:60025', 'http://192.168.5.168:60032']
    content_last = temp_function.temp_function(lines)
    return render(request, "test.html", {"list": content_last})
Exemplo n.º 2
0
def nalong(request):
    lines = ['http://192.168.1.1:80', 'http://192.168.1.1:81', 'http://192.168.1.1:82',
             'http://192.168.1.2:80', 'http://192.168.1.2:81', 'http://192.168.1.2:82',
             'http://192.168.1.2:83', 'http://192.168.1.3:80', 'http://192.168.1.3:81',
             'http://192.168.1.3:82', 'http://192.168.1.3:84', 'http://192.168.1.3:60009',
             'http://192.168.1.4:80', 'http://192.168.1.4:81', 'http://192.168.1.4:82',
             'http://192.168.1.5:80', 'http://192.168.1.5:81', 'http://192.168.1.5:82',
             'http://192.168.1.5:83', 'http://192.168.1.5:88', 'http://192.168.2.1:80',
             'http://192.168.2.1:81', 'http://192.168.2.1:82', 'http://192.168.2.2:80',
             'http://192.168.2.2:81', 'http://192.168.2.2:82', 'http://192.168.2.2:83',
             'http://192.168.2.3:80', 'http://192.168.2.3:81', 'http://192.168.2.3:82',
             'http://192.168.2.3:84', 'http://192.168.2.3:60009', 'http://192.168.2.4:80',
             'http://192.168.2.4:81', 'http://192.168.2.4:82', 'http://192.168.2.5:80',
             'http://192.168.2.5:81', 'http://192.168.2.5:82', 'http://192.168.2.5:83',
             'http://192.168.2.5:88']
    content_last = temp_function.temp_function(lines)
    return render(request, "test.html", {"list": content_last})
Exemplo n.º 3
0
def meinian(request):
    #lines = ['http://192.168.1.168:60001','http://192.168.1.168:60002','http://192.168.1.168:60003','http://192.168.1.168:60004','http://192.168.1.168:60005','http://192.168.1.168:60006','http://192.168.1.168:60008','http://192.168.1.168:60011','http://192.168.1.168:60014','http://192.168.1.168:60016','http://192.168.1.168:60019','http://192.168.1.168:60021','http://192.168.1.168:60023','http://192.168.1.168:60025','http://192.168.1.168:60026']
    lines = ['http://10.25.1.1:80', 'http://10.25.1.1:81', 'http://10.25.1.1:82',
             'http://10.25.1.1:83', 'http://10.25.1.2:80', 'http://10.25.1.3:80',
             'http://10.25.1.4:80', 'http://10.25.2.1:80','http://10.25.2.1:81',
             'http://10.25.2.1:82', 'http://10.25.2.1:83','http://10.25.2.2:80',
             'http://10.25.2.3:80', 'http://10.25.2.4:80', 'http://10.25.3.1:80',
             'http://10.25.3.2:80', 'http://10.25.3.2:81','http://10.25.3.3:80',
             'http://10.25.3.4:80', 'http;//10.25.3.5:80', 'http://10.25.3.5:81',
             'http://10.25.3.6:60018', 'http://10.25.3.6:81', 'http://10.25.3.6:60021',
             'http://10.25.3.6:60022','http://10.25.3.6:60023', 'http://10.25.3.6:60024',
             'http://10.25.3.6:60025','http://10.25.3.6:60009', 'http://10.25.4.1:80',
             'http://10.25.4.2:80', 'http://10.25.4.2:81', 'http://10.25.4.3:80',
             'http://10.25.4.4:80', 'http;//10.25.4.5:80', 'http://10.25.4.5:81',
             'http://10.25.4.6:60018', 'http://10.25.4.6:81', 'http://10.25.4.6:60021',
             'http://10.25.4.6:60022', 'http://10.25.4.6:60025', 'http://10.25.4.6:60030','http://10.25.4.6:60009']
    content_last = temp_function.temp_function(lines)
    return render(request,"test.html",{"list":content_last})