Projects STRLCPY routeros-scanner Commits 9a834d34
🤬
  • ■ ■ ■ ■ ■ ■
    commands/basecommand.py
     1 +# Copyright (c) Microsoft Corporation.
     2 +# Licensed under the MIT License.
     3 + 
    1 4  class BaseCommand(object):
    2 5   def _ssh_data(self, sshc, command):
    3 6   stdin, stdout, stderr = sshc.exec_command(command)
    skipped 22 lines
  • ■ ■ ■ ■ ■ ■
    commands/dns.py
     1 +# Copyright (c) Microsoft Corporation.
     2 +# Licensed under the MIT License.
     3 + 
    1 4  from commands.basecommand import BaseCommand
    2 5   
    3 6   
    skipped 36 lines
  • ■ ■ ■ ■ ■
    commands/files.py
     1 +# Copyright (c) Microsoft Corporation.
     2 +# Licensed under the MIT License.
     3 + 
    1 4  from commands.basecommand import BaseCommand
    2  -import re
    3 5   
    4 6   
    5 7  class Files(BaseCommand):
    skipped 27 lines
  • ■ ■ ■ ■ ■ ■
    commands/fwnat.py
     1 +# Copyright (c) Microsoft Corporation.
     2 +# Licensed under the MIT License.
     3 + 
    1 4  from commands.basecommand import BaseCommand
    2 5  from ipaddress import ip_address
    3 6   
    skipped 34 lines
  • ■ ■ ■ ■ ■ ■
    commands/fwrules.py
     1 +# Copyright (c) Microsoft Corporation.
     2 +# Licensed under the MIT License.
     3 + 
    1 4  from commands.basecommand import BaseCommand
    2 5   
    3 6   
    skipped 19 lines
  • ■ ■ ■ ■ ■ ■
    commands/ports.py
     1 +# Copyright (c) Microsoft Corporation.
     2 +# Licensed under the MIT License.
     3 + 
    1 4  from commands.basecommand import BaseCommand
    2 5   
    3 6   
    skipped 40 lines
  • ■ ■ ■ ■ ■
    commands/proxy.py
     1 +# Copyright (c) Microsoft Corporation.
     2 +# Licensed under the MIT License.
     3 + 
    1 4  from commands.basecommand import BaseCommand
    2  -import re
    3 5   
    4 6   
    5 7  class Proxy(BaseCommand):
    skipped 31 lines
  • ■ ■ ■ ■ ■ ■
    commands/scheduler.py
     1 +# Copyright (c) Microsoft Corporation.
     2 +# Licensed under the MIT License.
     3 + 
    1 4  from commands.basecommand import BaseCommand
    2 5  import re
    3 6   
    skipped 33 lines
  • ■ ■ ■ ■ ■
    commands/socks.py
     1 +# Copyright (c) Microsoft Corporation.
     2 +# Licensed under the MIT License.
     3 + 
    1 4  from commands.basecommand import BaseCommand
    2  -import re
    3 5   
    4 6   
    5 7  class Socks(BaseCommand):
    skipped 27 lines
  • ■ ■ ■ ■ ■ ■
    commands/users.py
     1 +# Copyright (c) Microsoft Corporation.
     2 +# Licensed under the MIT License.
     3 + 
    1 4  from commands.basecommand import BaseCommand
    2 5   
    3 6   
    skipped 34 lines
  • ■ ■ ■ ■ ■ ■
    commands/version.py
     1 +# Copyright (c) Microsoft Corporation.
     2 +# Licensed under the MIT License.
     3 + 
    1 4  from commands.basecommand import BaseCommand
    2 5  from nvd import CVEValidator
    3 6  import re
    skipped 37 lines
  • ■ ■ ■ ■ ■ ■
    main.py
     1 +# Copyright (c) Microsoft Corporation.
     2 +# Licensed under the MIT License.
     3 + 
    1 4  import argparse
    2 5  import json
    3 6  import paramiko
    skipped 57 lines
  • ■ ■ ■ ■ ■ ■
    nvd.py
    1  -#!/usr/bin/env python3
    2  -# -*- coding: utf-8 -*-
    3  -"""
    4  -Created on Thu Mar 10 17:50:49 2022
     1 +# Copyright (c) Microsoft Corporation.
     2 +# Licensed under the MIT License.
    5 3   
    6  -@author: datch
    7  -"""
    8 4  import json
    9 5   
    10 6  class Comparison(object):
    skipped 83 lines
Please wait...
Page is in error, reload to recover