Skip to content

v.1.0.3

Compare
Choose a tag to compare
@suchsoak suchsoak released this 05 Feb 00:17
· 9 commits to main since this release
6431d38
               __       __ ______ ________ ______      ______ __    __ ________  ______  
           |  \  _  |  \      \        \      \    |      \  \  |  \        \/      \ 
           | ▓▓ / \ | ▓▓\▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓\▓▓▓▓▓▓     \▓▓▓▓▓▓ ▓▓\ | ▓▓ ▓▓▓▓▓▓▓▓  ▓▓▓▓▓▓
           | ▓▓/  ▓\| ▓▓ | ▓▓ | ▓▓__     | ▓▓        | ▓▓ | ▓▓▓\| ▓▓ ▓▓__   | ▓▓  | ▓▓
           | ▓▓  ▓▓▓\ ▓▓ | ▓▓ | ▓▓  \    | ▓▓        | ▓▓ | ▓▓▓▓\ ▓▓ ▓▓  \  | ▓▓  | ▓▓
           | ▓▓ ▓▓\▓\▓| ▓▓ | ▓▓▓▓▓    | ▓▓        | ▓▓ | ▓▓\▓▓ ▓▓ ▓▓▓▓▓  | ▓▓  | ▓▓
           | ▓▓▓▓  \▓▓▓▓_| ▓▓_| ▓▓      _| ▓▓_      _| ▓▓_| ▓▓ \▓▓▓▓ ▓▓     | ▓▓__/ ▓▓
           | ▓▓▓    \▓▓▓   ▓▓ \ ▓▓     |   ▓▓ \    |   ▓▓ \ ▓▓  \▓▓▓ ▓▓      \▓▓    ▓▓
            \▓\▓\▓▓▓▓▓▓\▓\▓▓▓▓▓▓     \▓▓▓▓▓▓\▓\▓\▓\▓▓▓▓▓▓
           
                   ⠠⠞⠑⠭⠞⠶⠠⠑⠙⠊⠞⠕⠗Github: https://github.com/suchsoak⠠⠞⠑⠭⠞⠶⠠⠑⠙⠊⠞⠕⠗
                                            BY:suchsoak
                                              v:1.0.3

Details

Add more additional information to the script, I've fixed the issue on the firewall part. I've added more sites to test the request. I also put bytes in test speed.

for interface in interfaces.values():
        if all(key in interface for key in wifi):
            if all(interface) is not None:
                print ("Inet:                   ",interface['inet'])
                print ("−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−")
                colorama.init()
                print(Fore.MAGENTA)
                print ("Device:                 ",interface['device'])    
                print ("−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−")
                print(Style.RESET_ALL)
                print ("Inet4:                  ",interface['inet4']) 
                print ("−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−")
                print ("Inet6:                  ",interface['inet6']) 
                print ("−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−")
                print ("Netmask:                ",interface['netmask'])
                print ("−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−")
                print ("Netmasks:               ",interface['netmasks'])
                print ("−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−")
                print ("Broadcast:              ",interface['broadcast'])
                print ("−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−")
                print ("Broadcasts:             ",interface['broadcasts'])
                print ("−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−")
                print ("flags:              ",interface['flags'])
                print ("−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−")
                print ("prefixlens:              ",interface['prefixlens'])
                print ("−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−")

Add the flags and prefixlens

                print ("flags:              ",interface['flags'])
                print ("−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−")
                print ("prefixlens:              ",interface['prefixlens'])
                print ("−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−")

Add psutil.net_connections

net_connections = psutil.net_connections()

for conn in net_connections:

    laddr = conn.laddr  
    raddr = conn.raddr  
    status = conn.status  
    pid = conn.pid  
    print("−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−")
    print(f"Local: {laddr.ip}:{laddr.port}")
    print(f"Status: {status}")
    print(f"PID: {pid}")
    print("−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−")

Add asciiart on nt1

    |ooo===ooo===oooo==oooo===ooo===ooo===ooo|
    |===ooo===ooo========+==oo===ooo===ooo===|
    |====o====oo=+:... .     ..:+=oo===ooo===|
    |ooo===oo=:.      .......     .:=o====ooo|
    |====oo=:    .:::::::::::+::.    :+ooo===|
    |===oo:   .:+::.          ..:+:.   :=o===|
    |ooo==.  :+:    ..::++:::.    :+:  .==ooo|
    |===oo=+=+.   :+=+::::::+++:    +=+=oo===|
    |===ooo==.  :+:.          .:+.  :==ooo===|
    |ooo===ooo++:    .:+++::.    :++=oo===ooo|
    |===o====oo=.  :+oo+:::=o=:  .=o===o=o===|
    |===ooo===oo=++=o=.     +oo++=oo===ooo===|
    |ooo===ooo====ooo:      :=ooo===ooo===ooo|
    |o=o====oo==o=oo=o:.  ..==========o=====o|
    |===ooo===ooo====oo=++=ooo===ooo===ooo===|

Add more site in firewall test

  r = requests.get('https://www.torproject.org/')
    proxy = requests.get('https://www.proxysite.com/')
    vpnproton = requests.get('https://protonvpn.com/')
    proxylist = requests.get('https://free-proxy-list.net/')
    proxylist2 = requests.get('https://www.proxyscrape.com/free-proxy-list')
    OnWorks = requests.get('https://www.onworks.net/')
    nordvpn = requests.get('https://nordvpn.com/')
    shodan = requests.get('https://www.shodan.io/')
    zoomeye = requests.get('https://www.zoomeye.org/')

Add bytes in speedtest

    print(Speedtest)
    print(Style.RESET_ALL) 
    print("−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−")
    print("Download:", speed.download / 1024 / 1024, "Mbps")
    print("−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−")
    print("Upload:", speed.upload / 1024 / 1024, "Mbps")
    print("−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−")
    print("Ping:", speed.ping, "ms")
    print("−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−")
    print("Bytes:", speed.bytes_received, "bytes")
    print("−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−")
    print("Server:", speed.server['sponsor'])

Bytes

  print("−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−")
    print("Bytes:", speed.bytes_received, "bytes")
    print("−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−")