crash.software
Projects
Pull Requests
Issues
Builds
routeros-scanner
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
routeros-scanner
Commits
9a834d34
🤬
Sign In
Merge
pull request #4
from microsoft/private/noa/headers
add headers
noafru
committed with
GitHub
2 years ago
9a834d34
2 parents
190b9772
38563828
Total 13 files
Show one by one
■ ■ ■
■ ■ ■
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
All occurrences
■ ■ ■
■ ■ ■
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
All occurrences
■ ■ ■
■
■ ■
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
All occurrences
■ ■ ■
■ ■ ■
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
All occurrences
■ ■ ■
■ ■ ■
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
All occurrences
■ ■ ■
■ ■ ■
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
All occurrences
■ ■ ■
■
■ ■
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
All occurrences
■ ■ ■
■ ■ ■
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
All occurrences
■ ■ ■
■
■ ■
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
All occurrences
■ ■ ■
■ ■ ■
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
All occurrences
■ ■ ■
■ ■ ■
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
All occurrences
■ ■ ■
■ ■ ■
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
All occurrences
■ ■
■ ■ ■ ■
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
All occurrences
Please wait...
Page is in error, reload to recover