id int64 0 458k | file_name stringlengths 4 119 | file_path stringlengths 14 227 | content stringlengths 24 9.96M | size int64 24 9.96M | language stringclasses 1
value | extension stringclasses 14
values | total_lines int64 1 219k | avg_line_length float64 2.52 4.63M | max_line_length int64 5 9.91M | alphanum_fraction float64 0 1 | repo_name stringlengths 7 101 | repo_stars int64 100 139k | repo_forks int64 0 26.4k | repo_open_issues int64 0 2.27k | repo_license stringclasses 12
values | repo_extraction_date stringclasses 433
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
33,000 | mail.py | fossasia_meilix/scripts/mail-scripts/mail.py | #! /usr/bin/env python3
import http.client
import os
import datetime
import base64
#attachment encoding
with open('../../log.txt','rb') as f:
data = f.read()
f.close()
attachment = base64.b64encode(data)
conn = http.client.HTTPSConnection("api.sendgrid.com")
date = datetime.datetime.now().strftime('%Y%m%d')... | 1,361 | Python | .py | 25 | 52.2 | 584 | 0.652075 | fossasia/meilix | 1,772 | 213 | 33 | LGPL-3.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,001 | contact-new-symbolic.svg | fossasia_meilix/meilix-default-settings-old/usr/share/icons/meilix/symbolic/actions/contact-new-symbolic.svg | <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns... | 2,940 | Python | .tac | 58 | 45.448276 | 1,077 | 0.672336 | fossasia/meilix | 1,772 | 213 | 33 | LGPL-3.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,002 | mail-attachment.svg | fossasia_meilix/meilix-default-settings-old/usr/share/icons/meilix/actions/24/mail-attachment.svg | <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns... | 4,435 | Python | .tac | 128 | 28.375 | 549 | 0.63725 | fossasia/meilix | 1,772 | 213 | 33 | LGPL-3.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,003 | mail-attachment.svg | fossasia_meilix/meilix-default-settings-old/usr/share/icons/meilix/actions/22/mail-attachment.svg | <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns... | 4,271 | Python | .tac | 122 | 28.754098 | 549 | 0.638862 | fossasia/meilix | 1,772 | 213 | 33 | LGPL-3.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,004 | contact-lookup-applet.svg | fossasia_meilix/meilix-default-settings-old/usr/share/icons/meilix/scalable/apps/contact-lookup-applet.svg | <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns... | 21,726 | Python | .tac | 556 | 31.820144 | 1,074 | 0.646559 | fossasia/meilix | 1,772 | 213 | 33 | LGPL-3.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,005 | Scout2.py | nccgroup_Scout2/Scout2.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from AWSScout2.__main__ import main
import sys
if __name__ == '__main__':
sys.exit(main())
| 143 | Python | .py | 6 | 21.833333 | 35 | 0.607407 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,006 | setup.py | nccgroup_Scout2/setup.py | #!/usr/bin/env python
# distutils/setuptools install script for Scout2
import os
from setuptools import setup, find_packages
# Package info
NAME = 'AWSScout2'
ROOT = os.path.dirname(__file__)
VERSION = __import__(NAME).__version__
# Requirements
requirements = []
with open(os.path.join(os.path.dirname(os.path.realpa... | 2,342 | Python | .py | 71 | 25.732394 | 115 | 0.591972 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,007 | Scout2RulesGenerator.py | nccgroup_Scout2/Scout2RulesGenerator.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from AWSScout2.__rules_generator__ import main
import sys
if __name__ == '__main__':
sys.exit(main()) | 153 | Python | .py | 6 | 23.666667 | 46 | 0.630137 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,008 | Scout2Listall.py | nccgroup_Scout2/Scout2Listall.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from AWSScout2.__listall__ import main
import sys
if __name__ == '__main__':
sys.exit(main()) | 145 | Python | .py | 6 | 22.333333 | 38 | 0.615942 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,009 | sort-ruleset.py | nccgroup_Scout2/tools/sort-ruleset.py | #!/usr/bin/env python
import json
import os
import re
import sys
if len(sys.argv) < 2:
print('Error, you must provide the path to the ruleset as an argument.\nUsage:\n$ sort-ruleset.py <path_to_filename.json>\n')
sys.exit(42)
ruleset_name = sys.argv[1]
if not os.path.isfile(ruleset_name):
print('Error, t... | 610 | Python | .py | 18 | 30.722222 | 129 | 0.688889 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,010 | gen-tests.py | nccgroup_Scout2/tools/gen-tests.py | #!/usr/bin/env python
import os
scout2_dir = 'AWSScout2'
tests_dir = 'testsbase'
for root, dirnames, filenames in os.walk(scout2_dir):
for filename in filenames:
if filename.startswith('__') or not filename.endswith('.py'):
continue
filepath = os.path.join(root, filename)
tmp ... | 843 | Python | .py | 18 | 39.055556 | 171 | 0.590965 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,011 | __main__.py | nccgroup_Scout2/AWSScout2/__main__.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import copy
import json
import os
import sys
import webbrowser
try:
from opinel.utils.aws import get_aws_account_id, get_partition_name
from opinel.utils.console import configPrintException, printInfo, printDebug
from opinel.utils.credentials import read_creds... | 5,291 | Python | .py | 114 | 39.105263 | 148 | 0.677864 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,012 | __listall__.py | nccgroup_Scout2/AWSScout2/__listall__.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
import os
import sys
try:
from opinel.utils.globals import check_requirements
from opinel.utils.console import configPrintException, printError, printException, printInfo
except Exception as e:
print('Error: Scout2 depends on the opinel package. In... | 4,329 | Python | .py | 94 | 36.808511 | 126 | 0.624051 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,013 | utils.py | nccgroup_Scout2/AWSScout2/utils.py | # -*- coding: utf-8 -*-
from __future__ import print_function
import re
########################################
# Globals
########################################
ec2_classic = 'EC2-Classic'
formatted_service_name = {
'cloudformation': 'CloudFormation',
'cloudtrail': 'CloudTrail',
'cloudwatch': 'Clou... | 1,854 | Python | .py | 57 | 27.263158 | 120 | 0.546682 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,014 | __init__.py | nccgroup_Scout2/AWSScout2/__init__.py | # -*- coding: utf-8 -*-
__author__ = 'l01cd3v'
__version__ = '3.2.1'
AWSCONFIG = 42
EXCEPTIONS = 4242
HTMLREPORT = 424242
AWSRULESET = 42424242
DEFAULT_REPORT_DIR = 'scout2-report'
AWSCONFIG_FILE = 'inc-awsconfig/aws_config.js'
AWSRULESET_FILE = 'inc-awsconfig/aws_ruleset.js'
EXCEPTIONS_FILE = 'inc-awsconfig/exce... | 443 | Python | .py | 14 | 30.357143 | 48 | 0.741176 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,015 | __rules_generator__.py | nccgroup_Scout2/AWSScout2/__rules_generator__.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
import webbrowser
try:
from opinel.utils.console import configPrintException, printInfo
from opinel.utils.globals import check_requirements
except Exception as e:
print('Error: Scout2 depends on the opinel package. Install all the requirem... | 1,704 | Python | .py | 40 | 38.4 | 131 | 0.705206 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,016 | cli_parser.py | nccgroup_Scout2/AWSScout2/cli_parser.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from opinel.utils.cli_parser import OpinelArgumentParser
from AWSScout2 import DEFAULT_REPORT_DIR
class SharedArgumentParser(OpinelArgumentParser):
def __init__(self, default_args = None):
super(SharedArgumentParser, self).__init__()
self.add_argum... | 8,671 | Python | .py | 161 | 31.279503 | 120 | 0.450412 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,017 | vpc.py | nccgroup_Scout2/AWSScout2/configs/vpc.py | # -*- coding: utf-8 -*-
"""
Base class for vpc-specific services
"""
class VPCConfig(object):
"""
Configuration for a single VPC in a single service
"""
def __init__(self, vpc_resource_types, name = None):
self.name = name
for resource_type in vpc_resource_types:
setattr(se... | 343 | Python | .py | 12 | 23.75 | 56 | 0.62614 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,018 | browser.py | nccgroup_Scout2/AWSScout2/configs/browser.py | # -*- coding: utf-8 -*-
import copy
from opinel.utils.console import printError, printException, printInfo
def combine_paths(path1, path2):
path = path1
for p in path2:
if p == '..':
del(path[-1])
else:
path.append(p)
return path
def get_attribute_at(config, tar... | 3,136 | Python | .py | 101 | 20.257426 | 72 | 0.501324 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,019 | __init__.py | nccgroup_Scout2/AWSScout2/configs/__init__.py |
resource_id_map = {
'network_interfaces': 'NetworkInterfaceId',
'peering_connections': 'VpcPeeringConnectionId',
'subnet_groups': 'DBSubnetGroupName'
}
| 166 | Python | .py | 5 | 29.4 | 52 | 0.735849 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,020 | base.py | nccgroup_Scout2/AWSScout2/configs/base.py | # -*- coding: utf-8 -*-
import copy
from hashlib import sha1
from threading import Event, Thread
# Python2 vs Python3
try:
from Queue import Queue
except ImportError:
from queue import Queue
from opinel.utils.aws import build_region_list, connect_service, handle_truncated_response
from opinel.utils.console i... | 6,910 | Python | .py | 153 | 32.915033 | 134 | 0.553062 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,021 | threads.py | nccgroup_Scout2/AWSScout2/configs/threads.py | # -*- coding: utf-8 -*-
thread_configs = [
{'list': 1, 'parse': 1},
{'list': 1, 'parse': 1},
{'list': 3, 'parse': 5},
{'list': 5, 'parse': 10},
{'list': 10, 'parse': 20},
{'list': 20, 'parse': 40}
]
| 224 | Python | .py | 9 | 21.111111 | 30 | 0.439252 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,022 | regions.py | nccgroup_Scout2/AWSScout2/configs/regions.py | # -*- coding: utf-8 -*-
"""
Base classes and functions for region-specific services
"""
import copy
import re
from threading import Thread
# Python2 vs Python3
try:
from Queue import Queue
except ImportError:
from queue import Queue
from opinel.utils.aws import build_region_list, connect_service, get_aws_acco... | 12,759 | Python | .py | 273 | 34.40293 | 130 | 0.550916 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,023 | scout2.py | nccgroup_Scout2/AWSScout2/configs/scout2.py | # -*- coding: utf-8 -*-
from __future__ import print_function
from __future__ import unicode_literals
import json
import os
from opinel.utils.console import printException
from AWSScout2.configs.services import ServicesConfig
class Scout2Config(object):
"""
Root object that holds all of the necessary AWS re... | 4,301 | Python | .py | 74 | 45.162162 | 217 | 0.602327 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,024 | services.py | nccgroup_Scout2/AWSScout2/configs/services.py | # -*- coding: utf-8 -*-
from opinel.utils.console import printError, printException, printInfo
from AWSScout2.utils import format_service_name
from AWSScout2.services.cloudformation import CloudFormationConfig
from AWSScout2.services.cloudtrail import CloudTrailConfig
from AWSScout2.services.cloudwatch import CloudWa... | 5,256 | Python | .py | 99 | 44.050505 | 107 | 0.655484 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,025 | preprocessing.py | nccgroup_Scout2/AWSScout2/rules/preprocessing.py | # -*- coding: utf-8 -*-
import copy
from opinel.utils.console import printDebug, printError, printException, printInfo
from opinel.utils.globals import manage_dictionary
from AWSScout2.configs.browser import combine_paths, get_object_at, get_value_at
from AWSScout2.utils import ec2_classic
from AWSScout2.services.vp... | 41,067 | Python | .py | 680 | 48.194118 | 217 | 0.60424 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,026 | ruleset.py | nccgroup_Scout2/AWSScout2/rules/ruleset.py | # -*- coding: utf-8 -*-
import fnmatch
import json
import os
import shutil
import tempfile
from opinel.utils.console import printDebug, printError, printException, printInfo, prompt_4_yes_no
from AWSScout2.rules.rule_definition import RuleDefinition
from AWSScout2.rules.rule import Rule
aws_ip_ranges_filename = 'ip... | 8,465 | Python | .py | 172 | 38.27907 | 191 | 0.599976 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,027 | rule_definition.py | nccgroup_Scout2/AWSScout2/rules/rule_definition.py | # -*- coding: utf-8 -*-
import json
import os
from opinel.utils.console import printDebug, printError, printException
class RuleDefinition(object):
def __init__(self, file_name = None, rule_dirs = [], string_definition = None):
self.file_name = file_name
self.rule_dirs = rule_dirs
self.... | 3,246 | Python | .py | 71 | 33.619718 | 122 | 0.552324 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,028 | postprocessing.py | nccgroup_Scout2/AWSScout2/rules/postprocessing.py | # -*- coding: utf-8 -*-
import sys
from opinel.utils.console import printException
from AWSScout2 import __version__ as scout2_version
def postprocessing(aws_config, current_time, ruleset):
"""
:param aws_config:
:param current_time:
:param ruleset:
:return:
"""
update_metadata(aws_co... | 4,419 | Python | .py | 71 | 48.253521 | 235 | 0.574493 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,029 | rule.py | nccgroup_Scout2/AWSScout2/rules/rule.py | # -*- coding: utf-8 -*-
import json
import os
import re
from opinel.utils.fs import read_ip_ranges
from AWSScout2.utils import format_service_name
ip_ranges_from_args = 'ip-ranges-from-args'
re_aws_account_id = re.compile(r'_AWS_ACCOUNT_ID_')
re_ip_ranges_from_file = re.compile(r'_IP_RANGES_FROM_FILE_\((.*?)(,.*?)... | 5,757 | Python | .py | 117 | 37.512821 | 129 | 0.56787 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,030 | utils.py | nccgroup_Scout2/AWSScout2/rules/utils.py | # -*- coding: utf-8 -*-
"""
Single-service rule processing functions
"""
import copy
import re
from opinel.utils.conditions import pass_condition
from opinel.utils.console import printError, printException
from opinel.utils.globals import manage_dictionary
from AWSScout2.rules import condition_operators
from AWSScou... | 5,639 | Python | .py | 124 | 36.685484 | 180 | 0.630249 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,031 | __init__.py | nccgroup_Scout2/AWSScout2/rules/__init__.py | # -*- coding: utf-8 -*-
import os
condition_operators = [ 'and', 'or' ]
awsscout2_rules_data_dir = os.path.join(os.path.dirname(__file__), 'data')
awsscout2_conditions_dir = os.path.join(awsscout2_rules_data_dir, 'conditions')
awsscout2_filters_dir = os.path.join(awsscout2_rules_data_dir, 'filters')
awsscout2_... | 468 | Python | .py | 8 | 57.125 | 80 | 0.724289 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,032 | processingengine.py | nccgroup_Scout2/AWSScout2/rules/processingengine.py | # -*- coding: utf-8 -*-
from opinel.utils.console import printDebug, printError, printException
from opinel.utils.globals import manage_dictionary
from AWSScout2.rules.utils import recurse
class ProcessingEngine(object):
"""
"""
def __init__(self, ruleset):
# Organize rules by path
self... | 3,482 | Python | .py | 53 | 50.528302 | 184 | 0.591711 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,033 | exceptions.py | nccgroup_Scout2/AWSScout2/rules/exceptions.py | # -*- coding: utf-8 -*-
"""
Exceptions handling
"""
import json
from opinel.utils.console import printDebug
from AWSScout2 import EXCEPTIONS
from AWSScout2.output.js import JavaScriptReaderWriter
class RuleExceptions(object):
def __init__(self, profile, file_path = None, foobar = None):
self.profile =... | 1,340 | Python | .py | 26 | 41.653846 | 148 | 0.634557 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,034 | console.py | nccgroup_Scout2/AWSScout2/output/console.py | # -*- coding: utf-8 -*-
import os
import re
import sys
from opinel.utils.globals import manage_dictionary
from AWSScout2.configs.browser import get_value_at
########################################
# Functions
########################################
def format_listall_output(format_file, format_item_dir, format,... | 4,927 | Python | .py | 120 | 31.966667 | 131 | 0.557853 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,035 | utils.py | nccgroup_Scout2/AWSScout2/output/utils.py | # -*- coding: utf-8 -*-
from __future__ import print_function
import os
import sys
from opinel.utils.console import printError
from AWSScout2 import AWSCONFIG, EXCEPTIONS, HTMLREPORT, AWSRULESET, AWSCONFIG_FILE, EXCEPTIONS_FILE, HTMLREPORT_FILE, AWSRULESET_FILE
def prompt_4_yes_no(question):
"""
Ask a ques... | 2,400 | Python | .py | 56 | 34.803571 | 134 | 0.59237 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,036 | html.py | nccgroup_Scout2/AWSScout2/output/html.py | # -*- coding: utf-8 -*-
from __future__ import print_function
import datetime
import dateutil.tz
import os
import shutil
import zipfile
from opinel.utils.console import printInfo
from AWSScout2 import AWSCONFIG, EXCEPTIONS, HTMLREPORT, AWSRULESET, AWSCONFIG_FILE, EXCEPTIONS_FILE, HTMLREPORT_FILE, GENERATOR_FILE, REP... | 5,482 | Python | .py | 103 | 43.747573 | 147 | 0.642404 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,037 | js.py | nccgroup_Scout2/AWSScout2/output/js.py | # -*- coding: utf-8 -*-
from __future__ import print_function
import datetime
import dateutil
import json
import os
from opinel.utils.console import printException, printInfo
from AWSScout2 import DEFAULT_REPORT_DIR
from AWSScout2.output.utils import get_filename, prompt_4_overwrite
class Scout2Encoder(json.JSONE... | 2,879 | Python | .py | 69 | 32.507246 | 144 | 0.608026 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,038 | efs.py | nccgroup_Scout2/AWSScout2/services/efs.py | # -*- coding: utf-8 -*-
"""
EFS-related classes and functions
"""
from opinel.utils.aws import get_name, handle_truncated_response
from AWSScout2.configs.regions import RegionalServiceConfig, RegionConfig, api_clients
########################################
# EFSRegionConfig
#######################################... | 1,842 | Python | .py | 43 | 36.604651 | 167 | 0.605823 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,039 | vpc.py | nccgroup_Scout2/AWSScout2/services/vpc.py | # -*- coding: utf-8 -*-
import netaddr
from opinel.utils.aws import get_name
from opinel.utils.globals import manage_dictionary
from opinel.utils.fs import load_data, read_ip_ranges
from AWSScout2.utils import ec2_classic, get_keys
from AWSScout2.configs.regions import RegionalServiceConfig, RegionConfig
from AWSSco... | 8,459 | Python | .py | 205 | 33.360976 | 114 | 0.594522 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,040 | sns.py | nccgroup_Scout2/AWSScout2/services/sns.py | # -*- coding: utf-8 -*-
"""
SNS-related classes and functions
"""
import json
from opinel.utils.globals import manage_dictionary
from AWSScout2.configs.regions import RegionalServiceConfig, RegionConfig, api_clients
########################################
# SNSRegionConfig
########################################... | 2,646 | Python | .py | 58 | 38.534483 | 89 | 0.593932 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,041 | directconnect.py | nccgroup_Scout2/AWSScout2/services/directconnect.py | # -*- coding: utf-8 -*-
from AWSScout2.configs.regions import RegionalServiceConfig, RegionConfig
########################################
# DirectConnectRegionConfig
########################################
class DirectConnectRegionConfig(RegionConfig):
"""
DirectConnect configuration for a single AWS reg... | 1,299 | Python | .py | 29 | 39.344828 | 82 | 0.607001 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,042 | awslambda.py | nccgroup_Scout2/AWSScout2/services/awslambda.py | # -*- coding: utf-8 -*-
"""
Lambda-related classes and functions
"""
from AWSScout2.configs.regions import RegionalServiceConfig, RegionConfig
########################################
# LambdaRegionConfig
########################################
class LambdaRegionConfig(RegionConfig):
def parse_function(self,... | 852 | Python | .py | 22 | 35 | 75 | 0.594132 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,043 | rds.py | nccgroup_Scout2/AWSScout2/services/rds.py | # -*- coding: utf-8 -*-
from opinel.utils.aws import handle_truncated_response
from opinel.utils.console import printError, printException
from opinel.utils.globals import manage_dictionary
from AWSScout2.configs.regions import RegionalServiceConfig, RegionConfig, api_clients
from AWSScout2.configs.vpc import VPCConf... | 7,127 | Python | .py | 131 | 45.854962 | 166 | 0.643667 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,044 | cloudformation.py | nccgroup_Scout2/AWSScout2/services/cloudformation.py | # -*- coding: utf-8 -*-
import json
from AWSScout2.configs.regions import RegionalServiceConfig, RegionConfig, api_clients
########################################
# CloudFormationRegionConfig
########################################
class CloudFormationRegionConfig(RegionConfig):
"""
CloudFormation confi... | 1,472 | Python | .py | 33 | 38.818182 | 86 | 0.602105 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,045 | route53.py | nccgroup_Scout2/AWSScout2/services/route53.py | # -*- coding: utf-8 -*-
from opinel.utils.aws import handle_truncated_response
from opinel.utils.console import printError, printException
from opinel.utils.globals import manage_dictionary
from AWSScout2.configs.base import BaseConfig
class Route53DomainsConfig(BaseConfig):
"""
Object that holds the Route... | 2,412 | Python | .py | 58 | 34.62069 | 143 | 0.600599 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,046 | emr.py | nccgroup_Scout2/AWSScout2/services/emr.py | # -*- coding: utf-8 -*-
from opinel.utils.globals import manage_dictionary
from AWSScout2.configs.regions import RegionalServiceConfig, RegionConfig, api_clients
from AWSScout2.configs.vpc import VPCConfig
########################################
# EMRRegionConfig
########################################
class EM... | 1,596 | Python | .py | 35 | 40 | 149 | 0.604651 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,047 | s3.py | nccgroup_Scout2/AWSScout2/services/s3.py | # -*- coding: utf-8 -*-
"""
S3-related classes and functions
"""
import json
from botocore.exceptions import ClientError
from botocore.exceptions import ClientError, ParamValidationError
from opinel.utils.aws import connect_service, handle_truncated_response
from opinel.utils.console import printError, printException... | 17,068 | Python | .py | 332 | 42.271084 | 215 | 0.620465 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,048 | cloudtrail.py | nccgroup_Scout2/AWSScout2/services/cloudtrail.py | # -*- coding: utf-8 -*-
"""
CloudTrail-related classes and functions
"""
import time
from AWSScout2.configs.regions import RegionalServiceConfig, RegionConfig, api_clients
########################################
# CloudTrailRegionConfig
########################################
class CloudTrailRegionConfig(RegionC... | 5,161 | Python | .py | 87 | 51.103448 | 247 | 0.639604 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,049 | ses.py | nccgroup_Scout2/AWSScout2/services/ses.py | # -*- coding: utf-8 -*-
import json
from AWSScout2.configs.regions import RegionalServiceConfig, RegionConfig, api_clients
########################################
# SESRegionConfig
########################################
class SESRegionConfig(RegionConfig):
"""
SES configuration for a single AWS region
... | 1,782 | Python | .py | 36 | 43.111111 | 130 | 0.62067 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,050 | redshift.py | nccgroup_Scout2/AWSScout2/services/redshift.py | # -*- coding: utf-8 -*-
"""
Redshift-related classes and functions
"""
from opinel.utils.aws import handle_truncated_response
from opinel.utils.globals import manage_dictionary
from AWSScout2.configs.regions import RegionalServiceConfig, RegionConfig, api_clients
from AWSScout2.configs.vpc import VPCConfig
from AWSSc... | 3,176 | Python | .py | 67 | 40.567164 | 149 | 0.628479 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,051 | cloudwatch.py | nccgroup_Scout2/AWSScout2/services/cloudwatch.py | # -*- coding: utf-8 -*-
"""
CloudWatch-related classes and functions
"""
from opinel.utils.globals import manage_dictionary
from AWSScout2.configs.regions import RegionalServiceConfig, RegionConfig
########################################
# CloudWatchRegionConfig
########################################
class Clo... | 1,518 | Python | .py | 37 | 35.540541 | 115 | 0.5985 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,052 | elasticache.py | nccgroup_Scout2/AWSScout2/services/elasticache.py | # -*- coding: utf-8 -*-
from opinel.utils.globals import manage_dictionary
from AWSScout2.configs.regions import RegionalServiceConfig, RegionConfig, api_clients
from AWSScout2.configs.vpc import VPCConfig
from AWSScout2.utils import ec2_classic
########################################
# ElastiCacheRegionConfig
##... | 2,370 | Python | .py | 52 | 38.634615 | 155 | 0.633203 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,053 | iam.py | nccgroup_Scout2/AWSScout2/services/iam.py | # -*- coding: utf-8 -*-
from opinel.utils.aws import connect_service, handle_truncated_response
from opinel.utils.console import printError, printException
from opinel.utils.globals import manage_dictionary
from AWSScout2.configs.base import BaseConfig
from AWSScout2.utils import *
from botocore.exceptions import Cl... | 19,055 | Python | .py | 341 | 45.351906 | 197 | 0.595359 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,054 | sqs.py | nccgroup_Scout2/AWSScout2/services/sqs.py | # -*- coding: utf-8 -*-
import json
from AWSScout2.configs.regions import RegionalServiceConfig, RegionConfig, api_clients
########################################
# SQSRegionConfig
########################################
class SQSRegionConfig(RegionConfig):
"""
SQS configuration for a single AWS region
... | 1,658 | Python | .py | 38 | 37.184211 | 158 | 0.572586 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,055 | elbv2.py | nccgroup_Scout2/AWSScout2/services/elbv2.py | # -*- coding: utf-8 -*-
"""
ELBv2-related classes and functions
"""
from opinel.utils.aws import handle_truncated_response
from opinel.utils.globals import manage_dictionary
from AWSScout2.configs.regions import RegionalServiceConfig, RegionConfig, api_clients
from AWSScout2.configs.vpc import VPCConfig
from AWSScout... | 2,518 | Python | .py | 60 | 35.066667 | 145 | 0.604337 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,056 | elb.py | nccgroup_Scout2/AWSScout2/services/elb.py | # -*- coding: utf-8 -*-
"""
ELB-related classes and functions
"""
from opinel.utils.globals import manage_dictionary
from AWSScout2.configs.regions import RegionalServiceConfig, RegionConfig, api_clients
from AWSScout2.configs.vpc import VPCConfig
from AWSScout2.utils import ec2_classic, get_keys
##################... | 2,952 | Python | .py | 64 | 38.046875 | 156 | 0.602087 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,057 | ec2.py | nccgroup_Scout2/AWSScout2/services/ec2.py | # -*- coding: utf-8 -*-
"""
EC2-related classes and functions
"""
# TODO: move a lot of this to VPCconfig, and use some sort of filter to only list SGs in EC2 classic
from opinel.utils.aws import get_name
from opinel.utils.console import printException, printInfo
from opinel.utils.fs import load_data
from opinel.util... | 12,829 | Python | .py | 252 | 42.531746 | 210 | 0.61136 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,058 | test-scout2.py | nccgroup_Scout2/tests/test-scout2.py | import mock
import subprocess
from AWSScout2.__main__ import *
from opinel.utils.console import configPrintException
from opinel.utils.credentials import read_creds_from_environment_variables
#
# Test for Scout2.py
#
class TestScout2Class:
@classmethod
def setUpClass(cls):
configPrintException(True)... | 2,463 | Python | .py | 65 | 32.553846 | 131 | 0.649329 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,059 | test-rulesgenerator.py | nccgroup_Scout2/tests/test-rulesgenerator.py | import subprocess
#
# Tests for RulesGenerator.py
#
class TestRulesGeneratorClass:
#
# Make sure that RulesGenerator does not crash with --help
#
def test_rulesgenerator_help(self):
command = './RulesGenerator.py --help'
process = subprocess.Popen(command, shell=True, stdout=subproce... | 391 | Python | .py | 13 | 25.076923 | 79 | 0.699468 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,060 | test-utils_sns.py | nccgroup_Scout2/tests/test-utils_sns.py | from AWSScout2.utils_sns import *
#
# Test for Scout2 SNS functions
#
class TestScout2SNSUtilsClass:
configPrintException(True)
#
# Test get_sns_region in us-east-1
#
def test_get_sns_region(self):
# TODO: change to us-east-1
credentials = read_creds('default')
service_con... | 1,395 | Python | .py | 37 | 31.432432 | 108 | 0.6171 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,061 | test-utils_cloudwatch.py | nccgroup_Scout2/tests/test-utils_cloudwatch.py | from AWSScout2.utils_cloudwatch import *
#
# Test for Scout2 CloudWatch functions
#
class TestScout2CloudWatchUtilsClass:
configPrintException(True)
#
# Test get_cloudwatch_region in us-east-1
#
def test_get_cloudwatch_region(self):
# TODO: change to us-east-1
credentials = read_c... | 1,528 | Python | .py | 37 | 35.027027 | 122 | 0.651556 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,062 | test-listall.py | nccgroup_Scout2/tests/test-listall.py | import subprocess
#
# Tests for ListAll.py
#
class TestListAllClass:
#
# Make sure that ListAll does not crash with --help
#
def test_listall_help(self):
command = './ListAll.py --help'
process = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE)
process.wait()
... | 356 | Python | .py | 13 | 22.384615 | 79 | 0.668622 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,063 | test-rules-ruleset.py | nccgroup_Scout2/tests/test-rules-ruleset.py | # -*- coding: utf-8 -*-
import os
from opinel.utils.console import configPrintException, printDebug
from AWSScout2.rules.rule import Rule
from AWSScout2.rules.ruleset import Ruleset
class TestAWSScout2RulesRuleset:
def setup(self):
configPrintException(True)
self.test_dir = os.path.dirname(os.p... | 1,724 | Python | .py | 31 | 48.032258 | 99 | 0.687686 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,064 | test-utils.py | nccgroup_Scout2/tests/test-utils.py | # Import AWS utils
from AWSScout2.utils import *
#
# Test methods for AWSScout2/utils.py
#
class TestAWSScout2UtilsClass:
def test_format_service_name(self):
assert (format_service_name('iAm') == 'IAM')
assert (format_service_name('cloudformation') == 'CloudFormation')
def test_get_keys(sel... | 706 | Python | .py | 21 | 27.238095 | 74 | 0.578402 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,065 | test-rules-processingengine.py | nccgroup_Scout2/tests/test-rules-processingengine.py | # -*- coding: utf-8 -*-
import os
import json
from opinel.utils.console import configPrintException, printError
from AWSScout2.rules.ruleset import Ruleset
from AWSScout2.rules.processingengine import ProcessingEngine
class TestAWSScout2RulesProcessingEngine:
def setup(self):
configPrintException(True)... | 3,333 | Python | .py | 67 | 39.686567 | 102 | 0.596006 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,066 | iam-managed-policy-no-attachments.json | nccgroup_Scout2/AWSScout2/rules/data/findings/iam-managed-policy-no-attachments.json | {
"description": "Managed policy not attached to any entity",
"rationale": "Customer Managed policies should be reviewed and deleted if not necessary.",
"path": "iam.policies.id",
"display_path": "iam.policies.id",
"dashboard_name": "Policies",
"conditions": [ "and",
[ "iam.policies.id.att... | 353 | Python | .tac | 10 | 30.9 | 92 | 0.644315 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,067 | cloudformation-stack-with-role.json | nccgroup_Scout2/AWSScout2/rules/data/findings/cloudformation-stack-with-role.json | {
"description": "Role passed to stack",
"rationale": "Passing a role to CloudFormation stacks may result in privilege escalation beause IAM users with privileges within the CloudFormation scope implicitly inherit the stack's role's permissions.",
"path": "cloudformation.regions.id.stacks.id",
"dashboar... | 464 | Python | .tac | 10 | 41.4 | 210 | 0.671806 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,068 | services.cloudformation.regions.id.stacks.html | nccgroup_Scout2/AWSScout2/output/data/html/partials/services.cloudformation.regions.id.stacks.html |
<!-- CloudFormation stack partial -->
<script id="services.cloudformation.regions.id.stacks.partial" type="text/x-handlebars-template">
<div class="list-group-item active">
<h4 class="list-group-item-heading">{{name}}</h4>
</div>
<div class="list-group-item">
<h4... | 2,498 | Python | .tac | 47 | 42.382979 | 163 | 0.587418 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,069 | services.elbv2.external_attack_surface.html | nccgroup_Scout2/AWSScout2/output/data/html/summaries/services.elbv2.external_attack_surface.html |
<!-- Template for network attack surface -->
<script id="services.elbv2.external_attack_surface.details.template" type="text/x-handlebars-template">
{{> attack_surface service = 'elbv2'}}
</script>
| 202 | Python | .tac | 4 | 48.5 | 103 | 0.744898 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,070 | services.rds.external_attack_surface.html | nccgroup_Scout2/AWSScout2/output/data/html/summaries/services.rds.external_attack_surface.html |
<!-- Template for network attack surface -->
<script id="services.rds.external_attack_surface.details.template" type="text/x-handlebars-template">
{{> attack_surface service = 'rds'}}
</script>
| 198 | Python | .tac | 4 | 47.5 | 101 | 0.739583 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,071 | services.elb.external_attack_surface.html | nccgroup_Scout2/AWSScout2/output/data/html/summaries/services.elb.external_attack_surface.html |
<!-- Template for network attack surface -->
<script id="services.elb.external_attack_surface.details.template" type="text/x-handlebars-template">
{{> attack_surface service = 'elb'}}
</script>
| 198 | Python | .tac | 4 | 47.5 | 101 | 0.739583 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,072 | attack_surface.html | nccgroup_Scout2/AWSScout2/output/data/html/summaries/attack_surface.html |
<!-- Template for network attack surface -->
<script id="attack_surface.partial" type="text/x-handlebars-template">
<div class="list-group" id="services.{{service}}.attack_surface.details">
<div class="list-group" id="services.{{service}}.attack_surface.view">
<div "list-group" id="{{service}}_attack_surf... | 1,252 | Python | .tac | 34 | 25.970588 | 88 | 0.483951 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,073 | services.redshift.external_attack_surface.html | nccgroup_Scout2/AWSScout2/output/data/html/summaries/services.redshift.external_attack_surface.html |
<!-- Template for network attack surface -->
<script id="services.redshift.external_attack_surface.details.template" type="text/x-handlebars-template">
{{> attack_surface service = 'redshift'}}
</script>
| 208 | Python | .tac | 4 | 50 | 106 | 0.752475 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,074 | service_groups.compute.summaries.external_attack_surface.html | nccgroup_Scout2/AWSScout2/output/data/html/summaries/service_groups.compute.summaries.external_attack_surface.html |
<!-- Template for network attack surface -->
<script id="service_groups.compute.summaries.external_attack_surface.details.template" type="text/x-handlebars-template">
{{> attack_surface service = 'Compute'}}
</script>
| 222 | Python | .tac | 4 | 53.5 | 121 | 0.759259 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,075 | service_groups.database.summaries.external_attack_surface.html | nccgroup_Scout2/AWSScout2/output/data/html/summaries/service_groups.database.summaries.external_attack_surface.html |
<!-- Template for network attack surface -->
<script id="service_groups.database.summaries.external_attack_surface.details.template" type="text/x-handlebars-template">
{{> attack_surface service = 'Database'}}
</script>
| 224 | Python | .tac | 4 | 54 | 122 | 0.761468 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,076 | services.ec2.external_attack_surface.html | nccgroup_Scout2/AWSScout2/output/data/html/summaries/services.ec2.external_attack_surface.html |
<!-- Template for network attack surface -->
<script id="services.ec2.external_attack_surface.details.template" type="text/x-handlebars-template">
{{> attack_surface service = 'ec2'}}
</script>
| 198 | Python | .tac | 4 | 47.5 | 101 | 0.739583 | nccgroup/Scout2 | 1,727 | 301 | 0 | GPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,077 | setup.py | ronf_asyncssh/setup.py | #!/usr/bin/env python3.6
# Copyright (c) 2013-2022 by Ron Frederick <ronf@timeheart.net> and others.
#
# This program and the accompanying materials are made available under
# the terms of the Eclipse Public License v2.0 which accompanies this
# distribution and is available at:
#
# http://www.eclipse.org/legal/ep... | 3,322 | Python | .py | 82 | 34.52439 | 75 | 0.621981 | ronf/asyncssh | 1,534 | 150 | 11 | EPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,078 | gss.py | ronf_asyncssh/asyncssh/gss.py | # Copyright (c) 2017-2024 by Ron Frederick <ronf@timeheart.net> and others.
#
# This program and the accompanying materials are made available under
# the terms of the Eclipse Public License v2.0 which accompanies this
# distribution and is available at:
#
# http://www.eclipse.org/legal/epl-2.0/
#
# This program ma... | 2,131 | Python | .py | 51 | 36.196078 | 75 | 0.681686 | ronf/asyncssh | 1,534 | 150 | 11 | EPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,079 | asn1.py | ronf_asyncssh/asyncssh/asn1.py | # Copyright (c) 2013-2024 by Ron Frederick <ronf@timeheart.net> and others.
#
# This program and the accompanying materials are made available under
# the terms of the Eclipse Public License v2.0 which accompanies this
# distribution and is available at:
#
# http://www.eclipse.org/legal/epl-2.0/
#
# This program ma... | 24,439 | Python | .py | 567 | 34.610229 | 79 | 0.620175 | ronf/asyncssh | 1,534 | 150 | 11 | EPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,080 | client.py | ronf_asyncssh/asyncssh/client.py | # Copyright (c) 2013-2024 by Ron Frederick <ronf@timeheart.net> and others.
#
# This program and the accompanying materials are made available under
# the terms of the Eclipse Public License v2.0 which accompanies this
# distribution and is available at:
#
# http://www.eclipse.org/legal/epl-2.0/
#
# This program ma... | 17,291 | Python | .py | 321 | 42.003115 | 79 | 0.646083 | ronf/asyncssh | 1,534 | 150 | 11 | EPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,081 | scp.py | ronf_asyncssh/asyncssh/scp.py | # Copyright (c) 2017-2024 by Ron Frederick <ronf@timeheart.net> and others.
#
# This program and the accompanying materials are made available under
# the terms of the Eclipse Public License v2.0 which accompanies this
# distribution and is available at:
#
# http://www.eclipse.org/legal/epl-2.0/
#
# This program ma... | 38,473 | Python | .py | 817 | 35.004896 | 80 | 0.580385 | ronf/asyncssh | 1,534 | 150 | 11 | EPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,082 | sk_ecdsa.py | ronf_asyncssh/asyncssh/sk_ecdsa.py | # Copyright (c) 2019-2023 by Ron Frederick <ronf@timeheart.net> and others.
#
# This program and the accompanying materials are made available under
# the terms of the Eclipse Public License v2.0 which accompanies this
# distribution and is available at:
#
# http://www.eclipse.org/legal/epl-2.0/
#
# This program ma... | 7,869 | Python | .py | 155 | 41.225806 | 79 | 0.634796 | ronf/asyncssh | 1,534 | 150 | 11 | EPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,083 | agent_win32.py | ronf_asyncssh/asyncssh/agent_win32.py | # Copyright (c) 2016-2024 by Ron Frederick <ronf@timeheart.net> and others.
#
# This program and the accompanying materials are made available under
# the terms of the Eclipse Public License v2.0 which accompanies this
# distribution and is available at:
#
# http://www.eclipse.org/legal/epl-2.0/
#
# This program ma... | 5,141 | Python | .py | 128 | 32.664063 | 79 | 0.647106 | ronf/asyncssh | 1,534 | 150 | 11 | EPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,084 | sftp.py | ronf_asyncssh/asyncssh/sftp.py | # Copyright (c) 2015-2024 by Ron Frederick <ronf@timeheart.net> and others.
#
# This program and the accompanying materials are made available under
# the terms of the Eclipse Public License v2.0 which accompanies this
# distribution and is available at:
#
# http://www.eclipse.org/legal/epl-2.0/
#
# This program ma... | 277,230 | Python | .py | 5,698 | 36.621446 | 80 | 0.584102 | ronf/asyncssh | 1,534 | 150 | 11 | EPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,085 | sk_eddsa.py | ronf_asyncssh/asyncssh/sk_eddsa.py | # Copyright (c) 2019-2023 by Ron Frederick <ronf@timeheart.net> and others.
#
# This program and the accompanying materials are made available under
# the terms of the Eclipse Public License v2.0 which accompanies this
# distribution and is available at:
#
# http://www.eclipse.org/legal/epl-2.0/
#
# This program ma... | 6,892 | Python | .py | 136 | 41.522059 | 80 | 0.647076 | ronf/asyncssh | 1,534 | 150 | 11 | EPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,086 | channel.py | ronf_asyncssh/asyncssh/channel.py | # Copyright (c) 2013-2024 by Ron Frederick <ronf@timeheart.net> and others.
#
# This program and the accompanying materials are made available under
# the terms of the Eclipse Public License v2.0 which accompanies this
# distribution and is available at:
#
# http://www.eclipse.org/legal/epl-2.0/
#
# This program ma... | 81,317 | Python | .py | 1,599 | 38.425891 | 80 | 0.597184 | ronf/asyncssh | 1,534 | 150 | 11 | EPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,087 | dsa.py | ronf_asyncssh/asyncssh/dsa.py | # Copyright (c) 2013-2023 by Ron Frederick <ronf@timeheart.net> and others.
#
# This program and the accompanying materials are made available under
# the terms of the Eclipse Public License v2.0 which accompanies this
# distribution and is available at:
#
# http://www.eclipse.org/legal/epl-2.0/
#
# This program ma... | 8,419 | Python | .py | 189 | 35.809524 | 79 | 0.610464 | ronf/asyncssh | 1,534 | 150 | 11 | EPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,088 | config.py | ronf_asyncssh/asyncssh/config.py | # Copyright (c) 2020-2024 by Ron Frederick <ronf@timeheart.net> and others.
#
# This program and the accompanying materials are made available under
# the terms of the Eclipse Public License v2.0 which accompanies this
# distribution and is available at:
#
# http://www.eclipse.org/legal/epl-2.0/
#
# This program ma... | 23,027 | Python | .py | 496 | 35.042339 | 78 | 0.529709 | ronf/asyncssh | 1,534 | 150 | 11 | EPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,089 | stream.py | ronf_asyncssh/asyncssh/stream.py | # Copyright (c) 2013-2024 by Ron Frederick <ronf@timeheart.net> and others.
#
# This program and the accompanying materials are made available under
# the terms of the Eclipse Public License v2.0 which accompanies this
# distribution and is available at:
#
# http://www.eclipse.org/legal/epl-2.0/
#
# This program ma... | 30,540 | Python | .py | 627 | 36.76555 | 79 | 0.59971 | ronf/asyncssh | 1,534 | 150 | 11 | EPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,090 | public_key.py | ronf_asyncssh/asyncssh/public_key.py | # Copyright (c) 2013-2024 by Ron Frederick <ronf@timeheart.net> and others.
#
# This program and the accompanying materials are made available under
# the terms of the Eclipse Public License v2.0 which accompanies this
# distribution and is available at:
#
# http://www.eclipse.org/legal/epl-2.0/
#
# This program ma... | 139,220 | Python | .py | 2,917 | 35.758999 | 80 | 0.591713 | ronf/asyncssh | 1,534 | 150 | 11 | EPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,091 | kex_rsa.py | ronf_asyncssh/asyncssh/kex_rsa.py | # Copyright (c) 2018-2024 by Ron Frederick <ronf@timeheart.net> and others.
#
# This program and the accompanying materials are made available under
# the terms of the Eclipse Public License v2.0 which accompanies this
# distribution and is available at:
#
# http://www.eclipse.org/legal/epl-2.0/
#
# This program ma... | 5,973 | Python | .py | 132 | 37.325758 | 78 | 0.643202 | ronf/asyncssh | 1,534 | 150 | 11 | EPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,092 | pkcs11.py | ronf_asyncssh/asyncssh/pkcs11.py | # Copyright (c) 2020-2023 by Ron Frederick <ronf@timeheart.net> and others.
#
# This program and the accompanying materials are made available under
# the terms of the Eclipse Public License v2.0 which accompanies this
# distribution and is available at:
#
# http://www.eclipse.org/legal/epl-2.0/
#
# This program ma... | 11,479 | Python | .py | 222 | 38.112613 | 79 | 0.580034 | ronf/asyncssh | 1,534 | 150 | 11 | EPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,093 | kex.py | ronf_asyncssh/asyncssh/kex.py | # Copyright (c) 2013-2024 by Ron Frederick <ronf@timeheart.net> and others.
#
# This program and the accompanying materials are made available under
# the terms of the Eclipse Public License v2.0 which accompanies this
# distribution and is available at:
#
# http://www.eclipse.org/legal/epl-2.0/
#
# This program ma... | 4,462 | Python | .py | 108 | 35.175926 | 78 | 0.660702 | ronf/asyncssh | 1,534 | 150 | 11 | EPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,094 | listener.py | ronf_asyncssh/asyncssh/listener.py | # Copyright (c) 2013-2024 by Ron Frederick <ronf@timeheart.net> and others.
#
# This program and the accompanying materials are made available under
# the terms of the Eclipse Public License v2.0 which accompanies this
# distribution and is available at:
#
# http://www.eclipse.org/legal/epl-2.0/
#
# This program ma... | 13,180 | Python | .py | 271 | 37.863469 | 79 | 0.624003 | ronf/asyncssh | 1,534 | 150 | 11 | EPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,095 | keysign.py | ronf_asyncssh/asyncssh/keysign.py | # Copyright (c) 2018-2021 by Ron Frederick <ronf@timeheart.net> and others.
#
# This program and the accompanying materials are made available under
# the terms of the Eclipse Public License v2.0 which accompanies this
# distribution and is available at:
#
# http://www.eclipse.org/legal/epl-2.0/
#
# This program ma... | 3,749 | Python | .py | 87 | 35.264368 | 78 | 0.654651 | ronf/asyncssh | 1,534 | 150 | 11 | EPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,096 | constants.py | ronf_asyncssh/asyncssh/constants.py | # Copyright (c) 2013-2021 by Ron Frederick <ronf@timeheart.net> and others.
#
# This program and the accompanying materials are made available under
# the terms of the Eclipse Public License v2.0 which accompanies this
# distribution and is available at:
#
# http://www.eclipse.org/legal/epl-2.0/
#
# This program ma... | 13,385 | Python | .py | 322 | 40.310559 | 77 | 0.481646 | ronf/asyncssh | 1,534 | 150 | 11 | EPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,097 | logging.py | ronf_asyncssh/asyncssh/logging.py | # Copyright (c) 2013-2024 by Ron Frederick <ronf@timeheart.net> and others.
#
# This program and the accompanying materials are made available under
# the terms of the Eclipse Public License v2.0 which accompanies this
# distribution and is available at:
#
# http://www.eclipse.org/legal/epl-2.0/
#
# This program ma... | 7,723 | Python | .py | 174 | 34.568966 | 77 | 0.577947 | ronf/asyncssh | 1,534 | 150 | 11 | EPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,098 | mac.py | ronf_asyncssh/asyncssh/mac.py | # Copyright (c) 2013-2021 by Ron Frederick <ronf@timeheart.net> and others.
#
# This program and the accompanying materials are made available under
# the terms of the Eclipse Public License v2.0 which accompanies this
# distribution and is available at:
#
# http://www.eclipse.org/legal/epl-2.0/
#
# This program ma... | 7,140 | Python | .py | 148 | 42.871622 | 77 | 0.603926 | ronf/asyncssh | 1,534 | 150 | 11 | EPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |
33,099 | x11.py | ronf_asyncssh/asyncssh/x11.py | # Copyright (c) 2016-2024 by Ron Frederick <ronf@timeheart.net> and others.
#
# This program and the accompanying materials are made available under
# the terms of the Eclipse Public License v2.0 which accompanies this
# distribution and is available at:
#
# http://www.eclipse.org/legal/epl-2.0/
#
# This program ma... | 17,005 | Python | .py | 397 | 32.949622 | 79 | 0.594215 | ronf/asyncssh | 1,534 | 150 | 11 | EPL-2.0 | 9/5/2024, 5:14:46 PM (Europe/Amsterdam) |