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
32,400
51e533d41312_add_host_stats_static_columns.py
infobyte_faraday/faraday/migrations/versions/51e533d41312_add_host_stats_static_columns.py
"""Add host stats static columns Revision ID: 51e533d41312 Revises: 257f6d0ad43f Create Date: 2024-01-12 20:12:43.408035+00:00 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '51e533d41312' down_revision = '257f6d0ad43f' branch_labels = None depends_on = None ...
1,746
Python
.py
30
54.833333
138
0.725571
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,401
dd3181b9b3e9_severity_and_service_id_index_in_.py
infobyte_faraday/faraday/migrations/versions/dd3181b9b3e9_severity_and_service_id_index_in_.py
"""Severity and service_id index in vulnerability model Revision ID: dd3181b9b3e9 Revises: fa73865dc11c Create Date: 2023-06-30 17:24:57.775877+00:00 """ from alembic import op # revision identifiers, used by Alembic. revision = 'dd3181b9b3e9' down_revision = 'fa73865dc11c' branch_labels = None depends_on = None d...
758
Python
.py
19
37.263158
117
0.733607
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,402
f28eae25416b_fix_constraint_in_cve_association.py
infobyte_faraday/faraday/migrations/versions/f28eae25416b_fix_constraint_in_cve_association.py
"""Fix constraint in cve association Revision ID: f28eae25416b Revises: 1574fbcf72f5 Create Date: 2021-11-04 15:38:26.026998+00:00 """ from alembic import op # revision identifiers, used by Alembic. revision = 'f28eae25416b' down_revision = '1574fbcf72f5' branch_labels = None depends_on = None def upgrade(): o...
907
Python
.py
22
34.772727
78
0.702733
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,403
182832ed9733_add_socket_agent_sid.py
infobyte_faraday/faraday/migrations/versions/182832ed9733_add_socket_agent_sid.py
"""add socket agent sid Revision ID: 182832ed9733 Revises: 901344f297fb Create Date: 2023-03-13 16:09:47.543741+00:00 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '182832ed9733' down_revision = '901344f297fb' branch_labels = None depends_on = None def upgr...
654
Python
.py
20
30.1
70
0.707668
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,404
7dea3a6caf51_cascade_in_vuls_relation.py
infobyte_faraday/faraday/migrations/versions/7dea3a6caf51_cascade_in_vuls_relation.py
"""cascade in vuls relation Revision ID: 7dea3a6caf51 Revises: 38bb251889e6 Create Date: 2021-11-10 21:23:24.837776+00:00 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '7dea3a6caf51' down_revision = '38bb251889e6' branch_labels = None depends_on = None def ...
3,030
Python
.py
50
53.92
142
0.688425
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,405
b49d8efbd0c2_add_configuration_table.py
infobyte_faraday/faraday/migrations/versions/b49d8efbd0c2_add_configuration_table.py
"""add configuration table Revision ID: b49d8efbd0c2 Revises: ed403da439d4 Create Date: 2020-08-12 13:53:50.672454+00:00 """ from alembic import op import sqlalchemy as sa from sqlalchemy.dialects.postgresql import JSONB from configparser import ConfigParser from faraday.server.config import LOCAL_CONFIG_FILE # rev...
2,860
Python
.py
76
30.131579
139
0.641721
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,406
__init__.py
infobyte_faraday/faraday/utils/__init__.py
""" Faraday Penetration Test IDE Copyright (C) 2013 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """
151
Python
.py
5
29.2
58
0.767123
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,407
faraday_openapi_plugin.py
infobyte_faraday/faraday/utils/faraday_openapi_plugin.py
"""Flask plugin. Includes a path helper that allows you to pass a view function to `path`. Inspects URL rules and view docstrings. Passing a view function:: from flask import Flask app = Flask(__name__) @app.route('/gists/<gist_id>') def gist_detail(gist_id): '''Gist detail view. ---...
5,964
Python
.py
138
31.369565
118
0.540359
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,408
smtp.py
infobyte_faraday/faraday/utils/smtp.py
""" Faraday Penetration Test IDE Copyright (C) 2020 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Standard library imports import logging import smtplib import ssl from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText # Local applicat...
1,889
Python
.py
42
36.833333
79
0.66214
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,409
decorators.py
infobyte_faraday/faraday/utils/decorators.py
""" Faraday Penetration Test IDE Copyright (C) 2013 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ def simple_decorator(decorator): """this decorator can be used to turn simple functions into well-behaved decorators, so long as the decorators are fairly ...
1,205
Python
.py
31
33.870968
60
0.688889
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,410
elk.py
infobyte_faraday/faraday/settings/elk.py
""" Faraday Penetration Test IDE Copyright (C) 2021 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ import validators # Related third party imports from marshmallow import fields from elasticsearch import __version__ # Local application imports from faraday.server.ap...
2,119
Python
.py
50
35.8
100
0.694363
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,411
dashboard.py
infobyte_faraday/faraday/settings/dashboard.py
""" Faraday Penetration Test IDE Copyright (C) 2021 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Related third party imports from marshmallow import fields # Local application imports from faraday.server.api.base import AutoSchema from faraday.settings.base impor...
804
Python
.py
21
35.333333
92
0.781654
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,412
reports.py
infobyte_faraday/faraday/settings/reports.py
""" Faraday Penetration Test IDE Copyright (C) 2021 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Standard library imports from pathlib import Path # Related third party imports from marshmallow import fields # Local application imports from faraday.server.api.ba...
1,284
Python
.py
29
39.724138
113
0.759646
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,413
__init__.py
infobyte_faraday/faraday/settings/__init__.py
""" Faraday Penetration Test IDE Copyright (C) 2021 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Standard library imports from typing import List # Local application imports from faraday.settings.base import LOADED_SETTINGS def get_settings(name: str): name...
1,024
Python
.py
23
41.304348
116
0.767606
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,414
base.py
infobyte_faraday/faraday/settings/base.py
""" Faraday Penetration Test IDE Copyright (C) 2021 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Standard library imports import logging import os import signal from copy import deepcopy from functools import lru_cache from typing import Dict, Optional from flask...
3,457
Python
.py
89
31.606742
106
0.669058
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,415
smtp.py
infobyte_faraday/faraday/settings/smtp.py
""" Faraday Penetration Test IDE Copyright (C) 2021 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Related third party imports from marshmallow import fields # Local application imports from faraday.server.api.base import AutoSchema from faraday.settings.base impor...
1,769
Python
.py
40
39.675
105
0.735311
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,416
exceptions.py
infobyte_faraday/faraday/settings/exceptions.py
""" Faraday Penetration Test IDE Copyright (C) 2021 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ class MissingConfigurationError(Exception): """Raised when setting configuration is missing""" pass class InvalidConfigurationError(Exception): """Raised...
371
Python
.py
11
30.909091
58
0.775281
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,417
debouncer.py
infobyte_faraday/faraday/server/debouncer.py
from threading import Timer from datetime import datetime from faraday.server.models import db, Workspace def update_workspace_update_date(workspace_dates_dict): from faraday.server.app import get_app # pylint:disable=import-outside-toplevel app = get_app() with app.app_context(): for workspace_i...
4,125
Python
.py
74
46.675676
130
0.676172
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,418
schemas.py
infobyte_faraday/faraday/server/schemas.py
""" Faraday Penetration Test IDE Copyright (C) 2013 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Standard library imports import datetime import json import logging import time # Related third party imports from dateutil.tz import tzutc from flask import g from m...
13,586
Python
.py
311
33.977492
113
0.617926
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,419
models.py
infobyte_faraday/faraday/server/models.py
""" Faraday Penetration Test IDE Copyright (C) 2016 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Standard library imports import logging import operator import string import time from datetime import datetime, timedelta, date from functools import partial from ran...
149,222
Python
.py
3,143
38.944957
176
0.663136
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,420
ui.py
infobyte_faraday/faraday/server/ui.py
import logging from flask import ( Blueprint, current_app, # abort, ) ui = Blueprint('ui', __name__) logger = logging.getLogger(__name__) @ui.route('/') def index(): return current_app.send_static_file('index.html')
237
Python
.py
11
18.636364
53
0.674208
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,421
extensions.py
infobyte_faraday/faraday/server/extensions.py
""" Faraday Penetration Test IDE Copyright (C) 2021 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Related third party imports from flask_socketio import SocketIO from flask_celery import Celery socketio = SocketIO(cors_allowed_origins='*', engineio_logger=True) ce...
336
Python
.py
10
32.5
67
0.793846
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,422
celery_worker.py
infobyte_faraday/faraday/server/celery_worker.py
#!/usr/bin/env python import argparse import os import faraday.server.config from faraday.server.app import celery, get_app # noqa from faraday.server.config import CELERY_LOG_FILE application = get_app() def main(): parser = argparse.ArgumentParser() parser.add_argument('--queue', type=str, help='Celery q...
1,306
Python
.py
43
23.44186
99
0.61262
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,423
config.py
infobyte_faraday/faraday/server/config.py
""" Faraday Penetration Test IDE Copyright (C) 2016 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Standard library imports import errno import logging import os import shutil from configparser import ConfigParser from logging import DEBUG, INFO from pathlib import ...
5,420
Python
.py
138
32.637681
85
0.666603
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,424
celery_worker_gevent.py
infobyte_faraday/faraday/server/celery_worker_gevent.py
#!/usr/bin/env python import argparse import os import gevent.monkey import faraday from faraday.server.config import CELERY_LOG_FILE gevent.monkey.patch_all() # noqa import psycogreen.gevent psycogreen.gevent.patch_psycopg() # noqa from faraday.server.app import celery, get_app # noqa application = get_app() ...
1,463
Python
.py
49
23.081633
99
0.619728
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,425
tasks.py
infobyte_faraday/faraday/server/tasks.py
import time from datetime import datetime from typing import Optional, List from celery import group, chord from celery.utils.log import get_task_logger from sqlalchemy import ( func, or_, and_, ) from faraday.server.config import faraday_server from faraday.server.extensions import celery from faraday.se...
8,984
Python
.py
187
40.673797
162
0.682679
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,426
gunicorn_app.py
infobyte_faraday/faraday/server/gunicorn_app.py
from gunicorn.app.base import BaseApplication class GunicornApp(BaseApplication): """Convert a Flask application to a Gunicorn one. """ def __init__(self, flask_app, settings=None): """Initialize GunicornApp. If no settings are provided the class is initialized using the document...
1,289
Python
.py
29
35.172414
72
0.645367
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,427
app.py
infobyte_faraday/faraday/server/app.py
""" Faraday Penetration Test IDE Copyright (C) 2016 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Standard library imports import datetime import logging import os import string import sys from configparser import ( ConfigParser, NoSectionError, NoOpti...
30,601
Python
.py
574
45.231707
129
0.689915
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,428
events.py
infobyte_faraday/faraday/server/events.py
""" Faraday Penetration Test IDE Copyright (C) 2013 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Standard library imports import inspect import logging import sys from queue import Queue # Related third party imports from sqlalchemy import event, text from sqlalc...
15,572
Python
.py
290
40.765517
120
0.625
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,429
fields.py
infobyte_faraday/faraday/server/fields.py
""" Faraday Penetration Test IDE Copyright (C) 2013 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Standard library imports import imghdr import json from tempfile import SpooledTemporaryFile # Related third party imports import flask import sqlalchemy as sa from d...
4,672
Python
.py
108
34.953704
99
0.659331
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,430
websockets_worker.py
infobyte_faraday/faraday/server/websockets_worker.py
#!/usr/bin/env python from faraday.server.app import celery, create_app # noqa from faraday.server.extensions import socketio from faraday.server.websockets.dispatcher import DispatcherNamespace, remove_sid app = create_app() socketio.init_app(app) with app.app_context(): remove_sid() socketio.on_namespace(Dispa...
351
Python
.py
9
37.333333
80
0.811765
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,431
copy.7e1b1006.svg
infobyte_faraday/faraday/server/www/static/media/copy.7e1b1006.svg
<svg width="15" height="17" viewBox="0 0 15 17" xmlns="http://www.w3.org/2000/svg"><path d="M10.647 0H1.521C.684 0 0 .695 0 1.545v10.819h1.521V1.545h9.126V0Zm2.282 3.09H4.563c-.836 0-1.52.696-1.52 1.546v10.819c0 .85.684 1.545 1.52 1.545h8.366c.837 0 1.521-.695 1.521-1.545V4.636c0-.85-.684-1.545-1.521-1.545Zm0 12.365H4....
387
Python
.py
1
387
387
0.702842
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,432
copy_link.852fb400.svg
infobyte_faraday/faraday/server/www/static/media/copy_link.852fb400.svg
<svg width="17" height="17" xmlns="http://www.w3.org/2000/svg"><path d="M6.485 15.89a3.808 3.808 0 0 1-5.375 0 3.808 3.808 0 0 1 0-5.375l3.36-3.359a3.802 3.802 0 0 1 5.159-.204.715.715 0 0 1-.93 1.086 2.354 2.354 0 0 0-3.222.126l-3.36 3.36c-.938.939-.938 2.42 0 3.358.94.94 2.42.94 3.36 0l3.19-3.19a.714.714 0 1 1 1.009 ...
650
Python
.py
1
650
650
0.653846
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,433
filters.py
infobyte_faraday/faraday/server/utils/filters.py
""" Faraday Penetration Test IDE Copyright (C) 2020 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Standard library imports import datetime import logging import numbers import typing from collections.abc import Iterable from distutils.util import strtobool # Relat...
13,388
Python
.py
295
34.986441
117
0.611533
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,434
reports_processor.py
infobyte_faraday/faraday/server/utils/reports_processor.py
""" Faraday Penetration Test IDE Copyright (C) 2019 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ import json import logging import os from pathlib import Path from typing import Optional, Tuple from queue import Queue, Empty from gevent.event import Event from far...
5,769
Python
.py
126
32.142857
121
0.562367
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,435
command.py
infobyte_faraday/faraday/server/utils/command.py
from faraday.server.models import ( Command, CommandObject ) from faraday.server.api.base import InvalidUsage def set_command_id(session, obj, created, command_id): command = session.query(Command).filter( Command.id == command_id, Command.workspace == obj.workspace ).first() if co...
1,064
Python
.py
32
26.25
62
0.659533
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,436
workflows.py
infobyte_faraday/faraday/server/utils/workflows.py
import logging from datetime import datetime from functools import lru_cache from queue import Empty, Queue import sqlalchemy # Related third party imports from marshmallow import Schema, fields from sqlalchemy import inspect from sqlalchemy.exc import IntegrityError from sqlalchemy.orm import joinedload, subqueryload...
26,437
Python
.py
581
35.125645
120
0.60283
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,437
cvss.py
infobyte_faraday/faraday/server/utils/cvss.py
import logging from decimal import Decimal as D from cvss import CVSS3, CVSS4 from cvss.cvss2 import round_to_1_decimal from cvss.cvss3 import round_up logger = logging.getLogger(__name__) def get_special_score(cvss_instance, index: int) -> [None, float]: cvss2_functions = [lambda cvss2: round_to_1_decimal(cvss...
2,550
Python
.py
48
47.9375
137
0.700323
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,438
export.py
infobyte_faraday/faraday/server/utils/export.py
""" Faraday Penetration Test IDE Copyright (C) 2019 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Standard library imports import csv import logging from io import StringIO, BytesIO # Local application imports from faraday.server.models import ( db, Commen...
8,465
Python
.py
192
35.671875
99
0.602768
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,439
agents.py
infobyte_faraday/faraday/server/utils/agents.py
""" Faraday Penetration Test IDE Copyright (C) 2013 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Standard library imports import logging from datetime import datetime from typing import Tuple # Local application imports from faraday.server.models import Command, ...
1,308
Python
.py
43
24.44186
81
0.666402
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,440
search.py
infobyte_faraday/faraday/server/utils/search.py
""" flask.ext.restless.search ~~~~~~~~~~~~~~~~~~~~~~~~~ Provides querying, searching, and function evaluation on SQLAlchemy models. The most important functions in this module are the :func:`create_query` and :func:`search` functions, which create a SQLAlchemy query object and execute that que...
34,830
Python
.py
697
39.72023
157
0.607828
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,441
ping.py
infobyte_faraday/faraday/server/utils/ping.py
import logging from gevent.event import Event import requests from faraday import __version__ from faraday.server.extensions import socketio logger = logging.getLogger(__name__) RUN_INTERVAL = 43200 HOME_URL = "https://portal.faradaysec.com/api/v1/license_check" stop_ping_event = Event() def ping_home_background...
877
Python
.py
23
31.086957
113
0.655254
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,442
cwe.py
infobyte_faraday/faraday/server/utils/cwe.py
import re import logging from sqlalchemy.exc import IntegrityError from faraday.server.models import db, CWE from faraday.server.utils.database import is_unique_constraint_violation CWE_FORMAT = r'^CWE-\d{1,}$' logger = logging.getLogger(__name__) # TODO: Generalize get_or_create with exception handling. def get_...
1,675
Python
.py
43
30.139535
80
0.608374
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,443
daemonize.py
infobyte_faraday/faraday/server/utils/daemonize.py
""" Faraday Penetration Test IDE Copyright (C) 2016 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information Copyright (C) 2005 Chad J. Schroeder Modified version of a script created by Chad J. Schroeder, obtained from https://code.activestate.com/recipes/278731-creating-a-daemon-...
8,853
Python
.py
199
36.58794
92
0.65065
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,444
__init__.py
infobyte_faraday/faraday/server/utils/__init__.py
""" Faraday Penetration Test IDE Copyright (C) 2016 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """
151
Python
.py
5
29.2
58
0.767123
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,445
logger.py
infobyte_faraday/faraday/server/utils/logger.py
""" Faraday Penetration Test IDE Copyright (C) 2016 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Standard library imports import errno import logging import logging.handlers import os # Related third party imports from syslog_rfc5424_formatter import RFC5424Forma...
2,673
Python
.py
67
35.597015
91
0.733565
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,446
debug.py
infobyte_faraday/faraday/server/utils/debug.py
""" Faraday Penetration Test IDE Copyright (C) 2016 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Standard library imports import contextlib import cProfile import logging import pstats import time from io import StringIO debug_logger = logging.getLogger(__name__)...
1,158
Python
.py
39
25.717949
88
0.678668
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,447
bulk_create.py
infobyte_faraday/faraday/server/utils/bulk_create.py
""" Faraday Penetration Test IDE Copyright (C) 2020 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Standard library imports import logging logger = logging.getLogger(__name__) def add_creator(data, creator_user): hosts_ = [] for host in data["hosts"]: ...
973
Python
.py
27
29.37037
58
0.632306
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,448
database.py
infobyte_faraday/faraday/server/utils/database.py
""" Faraday Penetration Test IDE Copyright (C) 2016 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Standard library imports import operator from functools import reduce from sqlalchemy import distinct, Boolean from sqlalchemy.engine.reflection import Inspector from...
12,570
Python
.py
271
37.184502
108
0.647568
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,449
reference.py
infobyte_faraday/faraday/server/utils/reference.py
import logging from faraday.server.models import db, VulnerabilityReference from faraday.server.utils.database import get_or_create logger = logging.getLogger(__name__) def create_reference(reference_list: list = [], vulnerability_id=None) -> list: reference_obj_set = set() for reference in reference_list:...
643
Python
.py
12
43
100
0.662939
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,450
vulns.py
infobyte_faraday/faraday/server/utils/vulns.py
import re import logging import json from sqlalchemy.exc import IntegrityError from sqlalchemy.inspection import inspect from sqlalchemy import func, update from faraday.server.models import ( CVE, db, Reference, PolicyViolation, OWASP, VulnerabilityGeneric ) from faraday.server.utils.database...
12,782
Python
.py
272
33.463235
113
0.585944
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,451
web.py
infobyte_faraday/faraday/server/utils/web.py
""" Faraday Penetration Test IDE Copyright (C) 2016 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Standard library imports import functools import gzip from io import BytesIO as IO # Related third party imports from flask import after_this_request, request, abort,...
2,645
Python
.py
68
30.926471
99
0.649198
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,452
invalid_chars.py
infobyte_faraday/faraday/server/utils/invalid_chars.py
""" Faraday Penetration Test IDE Copyright (C) 2019 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ def remove_null_characters(string): string = string.replace('\x00', '') string = string.replace('\00', '') string = string.replace('\0', '') return str...
324
Python
.py
10
29.6
58
0.692308
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,453
__init__.py
infobyte_faraday/faraday/server/api/__init__.py
# Faraday Penetration Test IDE # Copyright (C) 2016 Infobyte LLC (http://www.infobytesec.com/) # See the file 'doc/LICENSE' for the license information
153
Python
.py
3
50
64
0.766667
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,454
base.py
infobyte_faraday/faraday/server/api/base.py
""" Faraday Penetration Test IDE Copyright (C) 2013 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Standard library imports import logging import datetime import json from json import JSONDecodeError from typing import Tuple, List, Dict from collections import defa...
82,865
Python
.py
1,936
31.182335
143
0.58522
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,455
export_data.py
infobyte_faraday/faraday/server/api/modules/export_data.py
# Standard library imports import logging from io import BytesIO # Related third party imports from lxml.etree import ( # nosec Element, # We don't use Element for parsing SubElement, tostring, ) from flask import Blueprint, request, abort, send_file from marshmallow import Schema # Local application im...
9,913
Python
.py
223
37.44843
96
0.653946
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,456
agents_schedule.py
infobyte_faraday/faraday/server/api/modules/agents_schedule.py
""" Faraday Penetration Test IDE Copyright (C) 2016 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Standard library imports import http import logging import json import datetime # Related third party imports import flask from flask import ( Blueprint, abor...
10,411
Python
.py
258
30.600775
122
0.599546
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,457
global_commands.py
infobyte_faraday/faraday/server/api/modules/global_commands.py
# Faraday Penetration Test IDE # Copyright (C) 2016 Infobyte LLC (http://www.infobytesec.com/) # See the file 'doc/LICENSE' for the license information import logging from flask import Blueprint from faraday.server.api.base import ( ReadOnlyView, PaginatedMixin ) from faraday.server.models import Command fro...
1,063
Python
.py
30
29.366667
64
0.686829
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,458
handlers.py
infobyte_faraday/faraday/server/api/modules/handlers.py
""" Faraday Penetration Test IDE Copyright (C) 2013 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Related third party imports from flask import jsonify, Blueprint handlers_api = Blueprint('handlers_api', __name__) @handlers_api.errorhandler(500) def error_resp...
421
Python
.py
14
27.5
58
0.738155
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,459
workflow.py
infobyte_faraday/faraday/server/api/modules/workflow.py
# Standard library imports import datetime import json import logging import re from copy import deepcopy # Related third party imports import flask from flask import Blueprint, request, Response from flask_classful import route from marshmallow import fields, validate, validates_schema, ValidationError, post_dump fro...
38,639
Python
.py
935
31.77861
198
0.56458
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,460
licenses.py
infobyte_faraday/faraday/server/api/modules/licenses.py
""" Faraday Penetration Test IDE Copyright (C) 2016 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Related third party imports from flask import Blueprint from marshmallow import fields # Local application imports from faraday.server.models import License from far...
1,135
Python
.py
34
29.147059
79
0.725023
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,461
search_filter.py
infobyte_faraday/faraday/server/api/modules/search_filter.py
""" Faraday Penetration Test IDE Copyright (C) 2016 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Related third party imports import flask_login from flask import Blueprint from marshmallow import fields # Local application imports from faraday.server.models impo...
1,114
Python
.py
32
30.625
83
0.74486
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,462
vulns_context.py
infobyte_faraday/faraday/server/api/modules/vulns_context.py
""" Faraday Penetration Test IDE Copyright (C) 2016 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ import http # Standard library imports import io import logging import json from datetime import datetime from json.decoder import JSONDecodeError # Related third party...
33,393
Python
.py
781
30.989757
183
0.582101
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,463
upload_reports.py
infobyte_faraday/faraday/server/api/modules/upload_reports.py
""" Faraday Penetration Test IDE Copyright (C) 2018 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Standard library imports import string import random import logging from datetime import datetime # Related third party imports import flask_login from flask import ...
6,583
Python
.py
153
28.72549
120
0.550632
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,464
credentials.py
infobyte_faraday/faraday/server/api/modules/credentials.py
""" Faraday Penetration Test IDE Copyright (C) 2016 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Related third party imports from flask import Blueprint from marshmallow import fields, post_load, ValidationError, validate from filteralchemy import FilterSet, oper...
5,215
Python
.py
128
31.15625
95
0.617676
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,465
settings.py
infobyte_faraday/faraday/server/api/modules/settings.py
""" Faraday Penetration Test IDE Copyright (C) 2019 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Standard library imports import logging # Related third party imports import flask from flask import abort, make_response from marshmallow import Schema, ValidationE...
2,350
Python
.py
69
24.898551
83
0.603965
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,466
get_exploits.py
infobyte_faraday/faraday/server/api/modules/get_exploits.py
""" Faraday Penetration Test IDE Copyright (C) 2016 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Standard library imports import logging # Related third party imports import requests import flask from flask import Blueprint, abort, make_response, jsonify from fl...
2,913
Python
.py
73
29.027397
104
0.573357
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,467
vulnerability_template.py
infobyte_faraday/faraday/server/api/modules/vulnerability_template.py
""" Faraday Penetration Test IDE Copyright (C) 2016 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Standard library imports import json import re import threading import logging import csv from io import TextIOWrapper # Related third party imports import wtforms f...
14,897
Python
.py
349
31.69341
117
0.594121
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,468
agent_auth_token.py
infobyte_faraday/faraday/server/api/modules/agent_auth_token.py
""" Faraday Penetration Test IDE Copyright (C) 2016 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Standard library imports import datetime # Related third party imports import pyotp from flask import Blueprint from marshmallow import fields, Schema # Local appli...
1,650
Python
.py
46
28.282609
98
0.659761
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,469
websocket_auth.py
infobyte_faraday/faraday/server/api/modules/websocket_auth.py
""" Faraday Penetration Test IDE Copyright (C) 2016 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Standard library imports import logging # Related third party imports import flask from flask import ( Blueprint, current_app as app, ) from flask_classful i...
3,349
Python
.py
93
30.494624
91
0.695209
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,470
custom_fields.py
infobyte_faraday/faraday/server/api/modules/custom_fields.py
""" Faraday Penetration Test IDE Copyright (C) 2018 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Related third party imports from flask import Blueprint from marshmallow import fields # Local application imports from faraday.server.models import CustomFieldsSche...
1,997
Python
.py
50
33.04
85
0.680455
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,471
token.py
infobyte_faraday/faraday/server/api/modules/token.py
# Standard library imports import logging from datetime import datetime # Related third party imports import flask_login from flask import Blueprint from marshmallow import Schema # Local application imports from faraday.server.api.base import GenericView from faraday.server.app import request_user_ip token_api = Bl...
1,077
Python
.py
34
25.382353
108
0.666989
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,472
commandsrun.py
infobyte_faraday/faraday/server/api/modules/commandsrun.py
# Faraday Penetration Test IDE # Copyright (C) 2016 Infobyte LLC (http://www.infobytesec.com/) # See the file 'doc/LICENSE' for the license information import time import datetime import pytz import flask from flask import Blueprint from flask_classful import route from marshmallow import fields, post_load, Validatio...
5,071
Python
.py
127
30.779528
113
0.620837
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,473
workspaces.py
infobyte_faraday/faraday/server/api/modules/workspaces.py
""" Faraday Penetration Test IDE Copyright (C) 2016 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Standard library imports import re import json import logging from datetime import timedelta, date from itertools import groupby # Related third party imports import...
22,984
Python
.py
482
34.1639
122
0.575421
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,474
hosts.py
infobyte_faraday/faraday/server/api/modules/hosts.py
""" Faraday Penetration Test IDE Copyright (C) 2016 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Standard library imports import logging import csv import re from io import StringIO # Related third party imports import wtforms import pytz import flask from flask...
20,390
Python
.py
485
30.791753
128
0.586881
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,475
settings_dashboard.py
infobyte_faraday/faraday/server/api/modules/settings_dashboard.py
""" Faraday Penetration Test IDE Copyright (C) 2021 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Standard library imports import logging # Related third party imports from flask import Blueprint # Local application imports from faraday.settings.dashboard import...
728
Python
.py
18
38.555556
80
0.830484
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,476
activity_feed.py
infobyte_faraday/faraday/server/api/modules/activity_feed.py
""" Faraday Penetration Test IDE Copyright (C) 2018 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Standard library imports from datetime import datetime # Related third party imports import pytz from flask import Blueprint from marshmallow import fields # Local ...
4,359
Python
.py
91
39.527473
113
0.6749
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,477
comments.py
infobyte_faraday/faraday/server/api/modules/comments.py
""" Faraday Penetration Test IDE Copyright (C) 2017 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Related third party imports from flask import abort, Blueprint from marshmallow import fields, ValidationError from marshmallow.validate import OneOf # Local applica...
3,171
Python
.py
86
29.023256
96
0.650913
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,478
__init__.py
infobyte_faraday/faraday/server/api/modules/__init__.py
""" Faraday Penetration Test IDE Copyright (C) 2013 Infobyte LLC (http://www.infobytesec.com/) See the file 'doc/LICENSE' for the license information """
156
Python
.py
5
30
62
0.766667
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,479
settings_reports.py
infobyte_faraday/faraday/server/api/modules/settings_reports.py
""" Faraday Penetration Test IDE Copyright (C) 2021 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Standard library imports import logging # Related third party imports from flask import Blueprint # Local application imports from faraday.settings.reports import R...
708
Python
.py
18
37.444444
74
0.825513
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,480
bulk_create.py
infobyte_faraday/faraday/server/api/modules/bulk_create.py
# Standard library imports import logging import re import string import random import json from copy import deepcopy import time from datetime import datetime, timedelta, date from typing import Type # Related third party imports import flask_login import flask import sqlalchemy import cvss from flask import abort f...
43,505
Python
.py
953
36.134313
124
0.625849
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,481
settings_elk.py
infobyte_faraday/faraday/server/api/modules/settings_elk.py
""" Faraday Penetration Test IDE Copyright (C) 2021 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Standard library imports import logging # Related third party imports from flask import Blueprint # Local application imports from faraday.settings.elk import ELKSe...
686
Python
.py
19
34.210526
63
0.819149
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,482
preferences.py
infobyte_faraday/faraday/server/api/modules/preferences.py
# Related third party imports import flask_login from flask import Blueprint, request, jsonify, abort from marshmallow import Schema, fields # Local application imports from faraday.server.api.base import GenericView from faraday.server.models import User, db preferences_api = Blueprint('preferences_api', __name__) ...
1,349
Python
.py
43
23.813953
82
0.633901
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,483
hosts_context.py
infobyte_faraday/faraday/server/api/modules/hosts_context.py
""" Faraday Penetration Test IDE Copyright (C) 2016 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Standard library imports import logging # Related third party imports import pytz import flask from flask import Blueprint from flask_classful import route from sqla...
11,359
Python
.py
269
30.438662
128
0.582135
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,484
services_context.py
infobyte_faraday/faraday/server/api/modules/services_context.py
""" Faraday Penetration Test IDE Copyright (C) 2016 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Related third party imports from flask import Blueprint from filteralchemy import FilterSet, operators # pylint:disable=unused-import # Local application imports fro...
2,862
Python
.py
70
33.5
122
0.682979
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,485
vulns.py
infobyte_faraday/faraday/server/api/modules/vulns.py
""" Faraday Penetration Test IDE Copyright (C) 2016 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Standard library imports import http.client import io import logging import json import imghdr from datetime import datetime from json.decoder import JSONDecodeError ...
68,459
Python
.py
1,424
37.17486
170
0.622573
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,486
swagger.py
infobyte_faraday/faraday/server/api/modules/swagger.py
from pathlib import Path from flask import Blueprint, send_file from marshmallow import Schema from faraday.server.api.base import GenericView from faraday.server.config import LOCAL_OPENAPI_FILE swagger_api = Blueprint('swagger_api', __name__) class EmptySchema(Schema): pass class SwaggerView(GenericView): ...
890
Python
.py
26
27
110
0.65808
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,487
info.py
infobyte_faraday/faraday/server/api/modules/info.py
""" Faraday Penetration Test IDE Copyright (C) 2016 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Related third party imports import flask from flask import Blueprint from marshmallow import Schema # Local application imports from faraday import __version__ as f_...
1,660
Python
.py
56
22.964286
85
0.642497
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,488
session.py
infobyte_faraday/faraday/server/api/modules/session.py
""" Faraday Penetration Test IDE Copyright (C) 2013 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Related third party imports import flask_login from flask import jsonify, Blueprint from flask_wtf.csrf import generate_csrf from marshmallow import Schema # Local ...
1,174
Python
.py
37
26
69
0.67762
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,489
services.py
infobyte_faraday/faraday/server/api/modules/services.py
""" Faraday Penetration Test IDE Copyright (C) 2016 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Related third party imports from flask import Blueprint, abort, make_response, jsonify from filteralchemy import FilterSet, operators # pylint:disable=unused-import ...
7,551
Python
.py
171
34.339181
119
0.624609
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,490
agent.py
infobyte_faraday/faraday/server/api/modules/agent.py
""" Faraday Penetration Test IDE Copyright (C) 2019 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ import http import logging from datetime import datetime import pyotp import flask from flask import Blueprint, abort, request, jsonify import flask_login from flask_cl...
11,433
Python
.py
272
30.852941
121
0.587971
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,491
faraday_schema_display.py
infobyte_faraday/faraday/server/commands/faraday_schema_display.py
""" Faraday Penetration Test IDE Copyright (C) 2013 Infobyte LLC (http://www.infobytesec.com/) See the file 'doc/LICENSE' for the license information """ # Standard library imports import sys # Related third party imports from sqlalchemy import MetaData from sqlalchemy.orm import class_mapper # Local application imp...
2,975
Python
.py
68
34.735294
110
0.652174
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,492
sync_hosts_stats.py
infobyte_faraday/faraday/server/commands/sync_hosts_stats.py
from faraday.server.models import db, Host from faraday.server.config import faraday_server from faraday.server.tasks import calc_vulnerability_stats from tqdm import tqdm from colorama import Fore def _sync_hosts_stats(async_mode=False): print(f"[{Fore.GREEN}*{Fore.RESET}] Syncing hosts stats ...") hosts_id ...
1,233
Python
.py
24
42.625
101
0.640431
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,493
change_password.py
infobyte_faraday/faraday/server/commands/change_password.py
""" Faraday Penetration Test IDE Copyright (C) 2018 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Related third party imports from flask_security.utils import hash_password from flask import current_app # Local application imports from faraday.server.models import...
730
Python
.py
20
30.95
62
0.705799
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,494
import_vulnerability_template.py
infobyte_faraday/faraday/server/commands/import_vulnerability_template.py
""" Faraday Penetration Test IDE Copyright (C) 2020 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Standard library imports import csv import logging import tempfile # Related third party imports import requests from colorama import Fore, Style, init from sqlalchem...
3,135
Python
.py
70
34.728571
119
0.63341
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,495
custom_fields.py
infobyte_faraday/faraday/server/commands/custom_fields.py
""" Faraday Penetration Test IDE Copyright (C) 2018 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Standard library imports import sys # Related third party imports import click from flask import current_app # Local application imports from faraday.server.models i...
3,449
Python
.py
82
35.512195
119
0.686754
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,496
reset_db.py
infobyte_faraday/faraday/server/commands/reset_db.py
#!/usr/bin/env python3 """ Faraday Penetration Test IDE Copyright (C) 2013 Infobyte LLC (http://www.infobytesec.com/) See the file 'doc/LICENSE' for the license information """ # Related third party imports import click # Local application imports import faraday.server.config from faraday.server.commands.initdb impor...
1,235
Python
.py
37
28.918919
74
0.698653
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,497
change_username.py
infobyte_faraday/faraday/server/commands/change_username.py
""" Faraday Penetration Test IDE Copyright (C) 2019 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """ # Standard library imports import sys # Related third party imports import click from flask import current_app # Local application imports from faraday.server.models i...
1,127
Python
.py
29
31.068966
92
0.642269
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,498
__init__.py
infobyte_faraday/faraday/server/commands/__init__.py
""" Faraday Penetration Test IDE Copyright (C) 2013 Infobyte LLC (https://faradaysec.com/) See the file 'doc/LICENSE' for the license information """
151
Python
.py
5
29.2
58
0.767123
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)
32,499
move_references.py
infobyte_faraday/faraday/server/commands/move_references.py
from sqlalchemy.dialects.postgresql import insert from faraday.server.models import Workspace, db, VulnerabilityReference def _move_references(all_workspaces=False, workspace_name=None): if all_workspaces: print("This could take a while ...") workspaces = Workspace.query.all() elif workspace_...
2,771
Python
.py
52
44.384615
218
0.664697
infobyte/faraday
4,852
893
45
GPL-3.0
9/5/2024, 5:14:38 PM (Europe/Amsterdam)