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
2,285,700
test_python.py
salatfreak_pyromaniac/tests/compiler/code/test_python.py
from unittest import TestCase from pyromaniac.compiler.code.errors import ( PythonSyntaxError, PythonRuntimeError ) from pyromaniac.compiler.code.python import Python def execute( code: str, context: dict | None = None, pure: bool = False, ) -> dict: context = context or {} Python.create(code, pure).e...
1,745
Python
.pyt
42
34.833333
72
0.668244
salatfreak/pyromaniac
8
1
0
GPL-3.0
9/5/2024, 10:47:52 PM (Europe/Amsterdam)
2,285,701
conftest.py
CWorthy-ocean_roms-tools/conftest.py
import pytest from datetime import datetime from roms_tools import ( Grid, TidalForcing, InitialConditions, BoundaryForcing, SurfaceForcing, ) from roms_tools.setup.download import download_test_data import hashlib def pytest_addoption(parser): parser.addoption( "--overwrite", ...
9,313
Python
.py
293
24.8157
89
0.61149
CWorthy-ocean/roms-tools
8
3
22
GPL-3.0
9/5/2024, 10:47:52 PM (Europe/Amsterdam)
2,285,702
utils.py
CWorthy-ocean_roms-tools/roms_tools/utils.py
from numbers import Integral import numpy as np import xarray as xr from typing import Union from pathlib import Path def partition( ds: xr.Dataset, np_eta: int = 1, np_xi: int = 1 ) -> tuple[list[int], list[xr.Dataset]]: """Partition a ROMS (Regional Ocean Modeling System) dataset into smaller spatial t...
12,105
Python
.py
278
33.510791
116
0.577387
CWorthy-ocean/roms-tools
8
3
22
GPL-3.0
9/5/2024, 10:47:52 PM (Europe/Amsterdam)
2,285,703
__init__.py
CWorthy-ocean_roms-tools/roms_tools/__init__.py
from importlib.metadata import version as _version try: __version__ = _version("roms_tools") except ImportError: # pragma: no cover # Local copy or not installed with setuptools __version__ = "999" from roms_tools.setup.grid import Grid # noqa: F401 from roms_tools.setup.tides import TidalForcing # n...
560
Python
.py
11
48.454545
79
0.776147
CWorthy-ocean/roms-tools
8
3
22
GPL-3.0
9/5/2024, 10:47:52 PM (Europe/Amsterdam)
2,285,704
regrid.py
CWorthy-ocean_roms-tools/roms_tools/setup/regrid.py
import xarray as xr class LateralRegrid: """Applies lateral fill and regridding to data. This class fills missing values in ocean data and interpolates it onto a new grid defined by the provided longitude and latitude. Parameters ---------- data : DataContainer Container with variabl...
6,439
Python
.py
160
31.50625
92
0.622336
CWorthy-ocean/roms-tools
8
3
22
GPL-3.0
9/5/2024, 10:47:52 PM (Europe/Amsterdam)
2,285,705
vertical_coordinate.py
CWorthy-ocean_roms-tools/roms_tools/setup/vertical_coordinate.py
import numpy as np import xarray as xr def compute_cs(sigma, theta_s, theta_b): """Compute the S-coordinate stretching curves according to Shchepetkin and McWilliams (2009). Parameters ---------- sigma : np.ndarray or float The sigma-coordinate values. theta_s : float The surf...
3,023
Python
.py
97
24.85567
89
0.582501
CWorthy-ocean/roms-tools
8
3
22
GPL-3.0
9/5/2024, 10:47:52 PM (Europe/Amsterdam)
2,285,706
download.py
CWorthy-ocean_roms-tools/roms_tools/setup/download.py
import pooch import xarray as xr # Create a Pooch object to manage the global topography data topo_data = pooch.create( # Use the default cache folder for the operating system path=pooch.os_cache("roms-tools"), base_url="https://github.com/CWorthy-ocean/roms-tools-data/raw/main/", # The registry specif...
5,102
Python
.py
104
43.067308
124
0.739506
CWorthy-ocean/roms-tools
8
3
22
GPL-3.0
9/5/2024, 10:47:52 PM (Europe/Amsterdam)
2,285,707
datasets.py
CWorthy-ocean_roms-tools/roms_tools/setup/datasets.py
import re import xarray as xr from dataclasses import dataclass, field import glob from datetime import datetime, timedelta import numpy as np from typing import Dict, Optional, Union, List from pathlib import Path import warnings from roms_tools.setup.utils import ( assign_dates_to_climatology, interpolate_fro...
53,466
Python
.py
1,190
33.783193
303
0.581234
CWorthy-ocean/roms-tools
8
3
22
GPL-3.0
9/5/2024, 10:47:52 PM (Europe/Amsterdam)
2,285,708
initial_conditions.py
CWorthy-ocean_roms-tools/roms_tools/setup/initial_conditions.py
import xarray as xr import numpy as np import yaml import importlib.metadata from dataclasses import dataclass, field, asdict from typing import Dict, Union, List, Optional from roms_tools.setup.grid import Grid from datetime import datetime from roms_tools.setup.datasets import GLORYSDataset, CESMBGCDataset from roms_...
29,749
Python
.py
659
33.186646
151
0.556381
CWorthy-ocean/roms-tools
8
3
22
GPL-3.0
9/5/2024, 10:47:52 PM (Europe/Amsterdam)
2,285,709
utils.py
CWorthy-ocean_roms-tools/roms_tools/setup/utils.py
import xarray as xr import numpy as np from typing import Union import pandas as pd import cftime from roms_tools.utils import partition from pathlib import Path def nan_check(field, mask) -> None: """Checks for NaN values at wet points in the field. This function examines the interpolated input field for Na...
33,581
Python
.py
771
35.726329
148
0.633904
CWorthy-ocean/roms-tools
8
3
22
GPL-3.0
9/5/2024, 10:47:52 PM (Europe/Amsterdam)
2,285,710
plot.py
CWorthy-ocean_roms-tools/roms_tools/setup/plot.py
import cartopy.crs as ccrs import matplotlib.pyplot as plt import xarray as xr def _plot( grid_ds, field=None, depth_contours=False, straddle=False, c="red", title="", kwargs={}, ): if field is None: lon_deg = grid_ds["lon_rho"] lat_deg = grid_ds["lat_rho"] else: ...
4,856
Python
.py
134
28.447761
178
0.594283
CWorthy-ocean/roms-tools
8
3
22
GPL-3.0
9/5/2024, 10:47:52 PM (Europe/Amsterdam)
2,285,711
grid.py
CWorthy-ocean_roms-tools/roms_tools/setup/grid.py
import copy from dataclasses import dataclass, field, asdict import numpy as np import xarray as xr import matplotlib.pyplot as plt import yaml import importlib.metadata from typing import Union from roms_tools.setup.topography import _add_topography_and_mask, _add_velocity_masks from roms_tools.setup.plot import _pl...
45,074
Python
.py
1,086
32.552486
158
0.569483
CWorthy-ocean/roms-tools
8
3
22
GPL-3.0
9/5/2024, 10:47:52 PM (Europe/Amsterdam)
2,285,712
boundary_forcing.py
CWorthy-ocean_roms-tools/roms_tools/setup/boundary_forcing.py
import xarray as xr import numpy as np import pandas as pd import yaml import importlib.metadata from typing import Dict, Union, List from dataclasses import dataclass, field, asdict from roms_tools.setup.grid import Grid from roms_tools.setup.fill import _lateral_fill from roms_tools.setup.regrid import _lateral_regri...
30,800
Python
.py
679
32.886598
151
0.547417
CWorthy-ocean/roms-tools
8
3
22
GPL-3.0
9/5/2024, 10:47:52 PM (Europe/Amsterdam)
2,285,713
fill.py
CWorthy-ocean_roms-tools/roms_tools/setup/fill.py
import numpy as np import xarray as xr import pyamg from scipy import sparse class LateralFill: def __init__(self, mask, dims, tol=1.0e-4): """Initializes the LateralFill class, which fills NaN values in a DataArray by iteratively solving a Poisson equation using a lateral diffusion approach. ...
12,130
Python
.py
275
35.858182
113
0.625138
CWorthy-ocean/roms-tools
8
3
22
GPL-3.0
9/5/2024, 10:47:52 PM (Europe/Amsterdam)
2,285,714
tides.py
CWorthy-ocean_roms-tools/roms_tools/setup/tides.py
from datetime import datetime import xarray as xr import numpy as np import yaml import importlib.metadata from typing import Dict, Union, List from dataclasses import dataclass, field, asdict from roms_tools.setup.grid import Grid from roms_tools.setup.plot import _plot from roms_tools.setup.datasets import TPXODatas...
28,080
Python
.py
701
30.63766
151
0.559822
CWorthy-ocean/roms-tools
8
3
22
GPL-3.0
9/5/2024, 10:47:52 PM (Europe/Amsterdam)
2,285,715
surface_forcing.py
CWorthy-ocean_roms-tools/roms_tools/setup/surface_forcing.py
import xarray as xr import pandas as pd import yaml import importlib.metadata from dataclasses import dataclass, field, asdict from roms_tools.setup.grid import Grid from datetime import datetime import numpy as np from typing import Dict, Union, List from roms_tools.setup.fill import _lateral_fill, LateralFill from ro...
23,467
Python
.py
539
32.730983
151
0.578204
CWorthy-ocean/roms-tools
8
3
22
GPL-3.0
9/5/2024, 10:47:52 PM (Europe/Amsterdam)
2,285,716
topography.py
CWorthy-ocean_roms-tools/roms_tools/setup/topography.py
import xarray as xr import numpy as np import gcm_filters from scipy.interpolate import RegularGridInterpolator from scipy.ndimage import label from roms_tools.setup.download import fetch_topo from roms_tools.setup.utils import interpolate_from_rho_to_u, interpolate_from_rho_to_v import warnings from itertools import c...
10,348
Python
.py
242
35.735537
113
0.628187
CWorthy-ocean/roms-tools
8
3
22
GPL-3.0
9/5/2024, 10:47:52 PM (Europe/Amsterdam)
2,285,717
test_utils.py
CWorthy-ocean_roms-tools/roms_tools/tests/test_utils.py
import pytest from pathlib import Path import xarray.testing as xrt from roms_tools.utils import partition, partition_netcdf from roms_tools import Grid @pytest.fixture def grid(): grid = Grid(nx=30, ny=30, size_x=80, size_y=80, center_lon=-20, center_lat=0, rot=0) return grid class TestPartitionGrid: ...
7,966
Python
.py
249
20.831325
111
0.444604
CWorthy-ocean/roms-tools
8
3
22
GPL-3.0
9/5/2024, 10:47:52 PM (Europe/Amsterdam)
2,285,718
test_tides.py
CWorthy-ocean_roms-tools/roms_tools/tests/test_setup/test_tides.py
import pytest from roms_tools import Grid, TidalForcing import xarray as xr from roms_tools.setup.download import download_test_data import textwrap from pathlib import Path from conftest import calculate_file_hash @pytest.fixture def grid_that_lies_within_bounds_of_regional_tpxo_data(): grid = Grid( nx=3...
8,603
Python
.py
230
30.308696
88
0.650138
CWorthy-ocean/roms-tools
8
3
22
GPL-3.0
9/5/2024, 10:47:52 PM (Europe/Amsterdam)
2,285,719
test_vertical_coordinate.py
CWorthy-ocean_roms-tools/roms_tools/tests/test_setup/test_vertical_coordinate.py
import pytest from roms_tools import Grid def test_invalid_theta_s_value(): """Test the validation of the theta_s value.""" with pytest.raises(ValueError): Grid( nx=2, ny=2, size_x=500, size_y=1000, center_lon=0, center_lat=55, ...
2,596
Python
.py
78
25.346154
80
0.583633
CWorthy-ocean/roms-tools
8
3
22
GPL-3.0
9/5/2024, 10:47:52 PM (Europe/Amsterdam)
2,285,720
test_utils.py
CWorthy-ocean_roms-tools/roms_tools/tests/test_setup/test_utils.py
from roms_tools.setup.utils import interpolate_from_climatology from roms_tools.setup.datasets import ERA5Correction from roms_tools.setup.download import download_test_data import xarray as xr def test_interpolate_from_climatology(use_dask): fname = download_test_data("ERA5_regional_test_data.nc") era5_time...
585
Python
.py
11
49.545455
80
0.783831
CWorthy-ocean/roms-tools
8
3
22
GPL-3.0
9/5/2024, 10:47:52 PM (Europe/Amsterdam)
2,285,721
test_grid.py
CWorthy-ocean_roms-tools/roms_tools/tests/test_setup/test_grid.py
import pytest import xarray as xr from roms_tools import Grid import importlib.metadata import textwrap from roms_tools.setup.download import download_test_data from conftest import calculate_file_hash from pathlib import Path @pytest.fixture() def counter_clockwise_rotated_grid(): grid = Grid( nx=1, ny=...
12,177
Python
.py
342
27.614035
108
0.608311
CWorthy-ocean/roms-tools
8
3
22
GPL-3.0
9/5/2024, 10:47:52 PM (Europe/Amsterdam)
2,285,722
test_fill.py
CWorthy-ocean_roms-tools/roms_tools/tests/test_setup/test_fill.py
import pytest from roms_tools.setup.datasets import ( GLORYSDataset, ERA5Dataset, CESMBGCDataset, CESMBGCSurfaceForcingDataset, TPXODataset, ) from roms_tools.setup.download import download_test_data from roms_tools.setup.fill import LateralFill from roms_tools.setup.utils import extrapolate_deepest...
6,100
Python
.py
166
29.650602
96
0.634883
CWorthy-ocean/roms-tools
8
3
22
GPL-3.0
9/5/2024, 10:47:52 PM (Europe/Amsterdam)
2,285,723
test_validation.py
CWorthy-ocean_roms-tools/roms_tools/tests/test_setup/test_validation.py
import pytest import os import shutil import xarray as xr def _get_fname(name): dirname = os.path.dirname(__file__) return os.path.join(dirname, "test_data", f"{name}.zarr") @pytest.mark.parametrize( "forcing_fixture", [ "grid", "grid_that_straddles_dateline", "tidal_forcing"...
2,146
Python
.py
58
31.068966
90
0.689489
CWorthy-ocean/roms-tools
8
3
22
GPL-3.0
9/5/2024, 10:47:52 PM (Europe/Amsterdam)
2,285,724
test_boundary_forcing.py
CWorthy-ocean_roms-tools/roms_tools/tests/test_setup/test_boundary_forcing.py
import pytest from datetime import datetime from roms_tools import BoundaryForcing import textwrap from roms_tools.setup.download import download_test_data from conftest import calculate_file_hash from pathlib import Path def test_boundary_forcing_creation(boundary_forcing): """Test the creation of the BoundaryFo...
10,057
Python
.py
227
36.740088
88
0.666018
CWorthy-ocean/roms-tools
8
3
22
GPL-3.0
9/5/2024, 10:47:52 PM (Europe/Amsterdam)
2,285,725
test_initial_conditions.py
CWorthy-ocean_roms-tools/roms_tools/tests/test_setup/test_initial_conditions.py
import pytest from datetime import datetime from roms_tools import InitialConditions, Grid import xarray as xr import numpy as np import textwrap from roms_tools.setup.download import download_test_data from roms_tools.setup.datasets import CESMBGCDataset from pathlib import Path from conftest import calculate_file_has...
11,074
Python
.py
275
32.847273
109
0.655927
CWorthy-ocean/roms-tools
8
3
22
GPL-3.0
9/5/2024, 10:47:52 PM (Europe/Amsterdam)
2,285,726
test_surface_forcing.py
CWorthy-ocean_roms-tools/roms_tools/tests/test_setup/test_surface_forcing.py
import pytest from datetime import datetime import xarray as xr from roms_tools import Grid, SurfaceForcing from roms_tools.setup.download import download_test_data import textwrap from pathlib import Path from conftest import calculate_file_hash @pytest.fixture def grid_that_straddles_dateline(): """Fixture for ...
24,490
Python
.py
615
32.017886
119
0.645852
CWorthy-ocean/roms-tools
8
3
22
GPL-3.0
9/5/2024, 10:47:52 PM (Europe/Amsterdam)
2,285,727
test_regrid.py
CWorthy-ocean_roms-tools/roms_tools/tests/test_setup/test_regrid.py
import pytest import numpy as np import xarray as xr from roms_tools.setup.regrid import VerticalRegrid def vertical_regridder(depth_values, layer_depth_rho_values): class DataContainer: """Mock class for holding data and dimension names.""" def __init__(self, ds): self.ds = ds ...
2,120
Python
.py
46
40.108696
83
0.657933
CWorthy-ocean/roms-tools
8
3
22
GPL-3.0
9/5/2024, 10:47:52 PM (Europe/Amsterdam)
2,285,728
test_topography.py
CWorthy-ocean_roms-tools/roms_tools/tests/test_setup/test_topography.py
from roms_tools import Grid from roms_tools.setup.topography import _compute_rfactor import numpy as np import numpy.testing as npt from scipy.ndimage import label def test_enclosed_regions(): """Test that there are only two connected regions, one dry and one wet.""" grid = Grid( nx=100, ny=1...
2,581
Python
.py
80
25.9625
87
0.624145
CWorthy-ocean/roms-tools
8
3
22
GPL-3.0
9/5/2024, 10:47:52 PM (Europe/Amsterdam)
2,285,729
test_datasets.py
CWorthy-ocean_roms-tools/roms_tools/tests/test_setup/test_datasets.py
import pytest from datetime import datetime import numpy as np import xarray as xr from roms_tools.setup.datasets import ( Dataset, GLORYSDataset, ERA5Correction, CESMBGCDataset, ) from roms_tools.setup.download import download_test_data from pathlib import Path @pytest.fixture def global_dataset(): ...
14,405
Python
.py
399
28.661654
173
0.610569
CWorthy-ocean/roms-tools
8
3
22
GPL-3.0
9/5/2024, 10:47:52 PM (Europe/Amsterdam)
2,285,730
partition.ipynb
CWorthy-ocean_roms-tools/docs/partition.ipynb
{ "cells": [ { "cell_type": "markdown", "id": "ce8e1e7c-bc05-435a-ab05-68e03a5866a4", "metadata": {}, "source": [ "# Partitioning the input files\n", "\n", "ROMS requires partitioned (or tiled) input files so that the simulation can be parallelized over multiple nodes. `ROMS-Tools` can create...
6,586
Python
.py
235
23.710638
232
0.616281
CWorthy-ocean/roms-tools
8
3
22
GPL-3.0
9/5/2024, 10:47:52 PM (Europe/Amsterdam)
2,285,731
surface_forcing.ipynb
CWorthy-ocean_roms-tools/docs/surface_forcing.ipynb
{ "cells": [ { "cell_type": "markdown", "id": "92a7b10b-1698-4290-b0c4-ea8852c39a1b", "metadata": {}, "source": [ "# Creating surface forcing" ] }, { "cell_type": "code", "execution_count": 1, "id": "75577358-2fd7-46ad-8c3a-f617aabb960f", "metadata": { "tags": [] }, "outp...
1,316,853
Python
.py
8,359
149.912549
213,854
0.788686
CWorthy-ocean/roms-tools
8
3
22
GPL-3.0
9/5/2024, 10:47:52 PM (Europe/Amsterdam)
2,285,732
grid.ipynb
CWorthy-ocean_roms-tools/docs/grid.ipynb
{ "cells": [ { "cell_type": "markdown", "id": "ce8e1e7c-bc05-435a-ab05-68e03a5866a4", "metadata": {}, "source": [ "# Creating the grid, mask, and topography" ] }, { "cell_type": "markdown", "id": "60bb804f-c1ad-4a29-9983-016c9ba51921", "metadata": {}, "source": [ "## The Grid o...
3,094,323
Python
.py
3,780
811.726984
246,890
0.939109
CWorthy-ocean/roms-tools
8
3
22
GPL-3.0
9/5/2024, 10:47:52 PM (Europe/Amsterdam)
2,285,733
boundary_forcing.ipynb
CWorthy-ocean_roms-tools/docs/boundary_forcing.ipynb
{ "cells": [ { "cell_type": "markdown", "id": "49250a1f-8799-4458-adec-6961cf9e5ffa", "metadata": {}, "source": [ "# Creating the boundary forcing" ] }, { "cell_type": "code", "execution_count": 1, "id": "70e99af9-1acb-4fd4-b741-b68a2579dc48", "metadata": { "tags": [] }, ...
1,594,416
Python
.py
16,908
86.44612
133,890
0.618576
CWorthy-ocean/roms-tools
8
3
22
GPL-3.0
9/5/2024, 10:47:52 PM (Europe/Amsterdam)
2,285,734
initial_conditions.ipynb
CWorthy-ocean_roms-tools/docs/initial_conditions.ipynb
{ "cells": [ { "cell_type": "markdown", "id": "648a0bd8-6edb-4c9b-b703-af6c466c040b", "metadata": {}, "source": [ "# Creating the initial conditions" ] }, { "cell_type": "code", "execution_count": 1, "id": "c5f85425-c9bd-4665-8319-e985a91e4535", "metadata": { "tags": [] }, ...
2,776,551
Python
.py
11,191
240.399696
343,494
0.844967
CWorthy-ocean/roms-tools
8
3
22
GPL-3.0
9/5/2024, 10:47:52 PM (Europe/Amsterdam)
2,285,735
conf.py
CWorthy-ocean_roms-tools/docs/conf.py
# Configuration file for the Sphinx documentation builder. # # For the full list of built-in configuration values, see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html # -- Project information ----------------------------------------------------- # https://www.sphinx-doc.org/en/master...
1,765
Python
.py
45
36.844444
87
0.669988
CWorthy-ocean/roms-tools
8
3
22
GPL-3.0
9/5/2024, 10:47:52 PM (Europe/Amsterdam)
2,285,736
tides.ipynb
CWorthy-ocean_roms-tools/docs/tides.ipynb
{ "cells": [ { "cell_type": "markdown", "id": "b18d3444-3999-4ead-b2aa-e4b468ef2499", "metadata": {}, "source": [ "# Creating the tidal forcing" ] }, { "cell_type": "code", "execution_count": 1, "id": "b1c20782-4612-49a2-9076-bfe570ed4379", "metadata": { "tags": [] }, "ou...
341,157
Python
.py
2,678
119.964152
197,702
0.760429
CWorthy-ocean/roms-tools
8
3
22
GPL-3.0
9/5/2024, 10:47:52 PM (Europe/Amsterdam)
2,285,737
installer.py
CHEGEBB_africana-framework/installer.py
#! /usr/bin/python3 # coding=utf-8 from src.core.system import * while True: try: installer.update_system(); break except: os.system('clear') beauty.graphics(), scriptures.verses() break
229
Python
.py
10
17.7
46
0.635945
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,738
africana.py
CHEGEBB_africana-framework/africana.py
#! /usr/bin/python3 # coding=utf-8 import src.core.langa def main(): try: if __name__ == '__main__': sys.exit(main()) except KeyboardInterrupt: sys.exit(1)
194
Python
.py
9
16.333333
34
0.562842
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,739
config.py
CHEGEBB_africana-framework/configs/config.py
import sys import time import subprocess from src.core.bcolors import * torstring = ['# Created by africana-framework. Delete at your own risk!', '', 'VirtualAddrNetworkIPv4 10.192.0.0/10', 'AutomapHostsOnResolve 1', 'TransPort 9040 IsolateClientAddr IsolateClientProtocol IsolateDestAddr IsolateDestPort'...
17,781
Python
.py
233
60.600858
363
0.51888
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,740
verses.py
CHEGEBB_africana-framework/scriptures/verses.py
import random from src.core.bcolors import * class bible_verse(object): def __init__(self): pass def verses(self): verse = random.randrange(0, 105) if verse == 0: print(bcolors.GREEN + " ~[ " + color() + " God saw the light, that it was good: & God divided the " + bcolors....
31,873
Python
.py
222
132.77027
275
0.454864
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,741
english-kjv.py
CHEGEBB_africana-framework/scriptures/english-kjv.py
[ They that seek the LORD shall not want any good thing ] [Ps.34:10 ] [ The LORD is nigh unto them that are of a broken heart Ps.34:18 [ And my soul shall be joyful in the LORD: it shall rejoice in His salvation. Ps.35:9 [ Trust in the LORD, and do good Ps.37:3 [ Dwell in the land, and verily ...
63,136
Python
.py
894
66.560403
114
0.697268
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,742
phisher.py
CHEGEBB_africana-framework/src/phishing/phisher.py
import sys import time import subprocess from src.core.bcolors import * class phish_hack(object): def __init__(self): pass def phish_gophish(self): os.system('clear') process = subprocess.Popen('gophish', shell = True).wait() time.sleep(0.03) return process def phi...
1,188
Python
.py
33
29.212121
138
0.648084
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,743
scanner.py
CHEGEBB_africana-framework/src/internal/scanner.py
import sys import time import subprocess from src.core.banner import * from src.core.bcolors import * from scriptures.verses import * class Interna_Attack(object): def __init__(self, host): self.host = host os.system('echo "1" > /proc/sys/net/ipv4/ip_forward 2> /dev/null') def bettercap_discover(s...
11,777
Python
.py
156
60.653846
418
0.538355
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,744
wifi.py
CHEGEBB_africana-framework/src/wireles/wifi.py
import sys import time import subprocess from src.core.banner import * from src.core.bcolors import * class wifi_hack(object): def __init__(self): pass rc = '/usr/share/wordlists/rockyou.txt.gz' if os.path.exists(rc): os.system('gunzip /usr/share/wordlists/rockyou.txt.gz') else: ...
3,545
Python
.py
66
46.045455
352
0.546243
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,745
scanner.py
CHEGEBB_africana-framework/src/webattack/scanner.py
import sys import time import subprocess from src.core.bcolors import * class scanners(object): def __init__(self, host): self.host = host def wafw00f(self, host): print("\n") print(bcolors.BLUE + " -{ " + bcolors.RED + "trying waf tech detection" + bcolors.BLUE + " }" + bcolors.BLUE...
6,828
Python
.py
85
72.4
261
0.590693
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,746
anonym.py
CHEGEBB_africana-framework/src/security/anonym.py
import sys import subprocess from modules.secmon import * from configs.config import * from src.core.banner import * from src.core.bcolors import * from scriptures.verses import * class anonym(object): def __init__(self): pass def vanish_install(self): os.system('clear') beauty.graphic...
2,439
Python
.py
42
51.095238
261
0.632218
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,747
cracker.py
CHEGEBB_africana-framework/src/passcrack/cracker.py
import sys import time import subprocess from src.core.banner import * from src.core.bcolors import * class pass_killer(object): def __init__(self): pass rc = '/usr/share/wordlists/rockyou.txt.gz' if os.path.exists(rc): os.system('gunzip /usr/share/wordlists/rockyou.txt.gz') else: ...
2,073
Python
.py
36
50.916667
170
0.620266
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,748
bcolors.py
CHEGEBB_africana-framework/src/core/bcolors.py
import os import random def check_os(): if os.name == "nt": operating_system = "windows" if os.name == "posix": operating_system = "posix" return operating_system if check_os() == "posix": class bcolors: PURPLE = '\033[95m' CYAN = '\033[96m' DARKCYAN = '\033[36m...
2,668
Python
.py
98
17.581633
90
0.452985
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,749
banner.py
CHEGEBB_africana-framework/src/core/banner.py
import time import random from src.core.bcolors import * class banners(object): def __init__(self): pass def graphics(self): menu = random.randrange(1, 61) if menu == 1: print(color() + r""" _,._ __.' _) <_,)'.-"a\ /'...
29,307
Python
.py
907
20.485116
89
0.095843
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,750
malware.py
CHEGEBB_africana-framework/src/payload/malware.py
import sys import time import subprocess from src.core.banner import * from src.core.bcolors import * class generator(object): def __init__(self): pass def shellz(self): process = subprocess.Popen('bash externals/shells/shells.py ', shell = True).wait() return process def shakamur...
3,204
Python
.py
46
62.543478
198
0.635757
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,751
malware.py
CHEGEBB_africana-framework/src/c2/malware.py
import sys import time import subprocess from src.core.banner import * from src.core.bcolors import * class generator(object): def __init__(self): pass def shellz(self): process = subprocess.Popen('bash externals/shells/shells.py ', shell = True).wait() return process def shakamur...
3,323
Python
.py
49
60.591837
209
0.632159
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,752
shakamura.py
CHEGEBB_africana-framework/externals/shakamura/shakamura.py
#!/usr/bin/env python3 # # Author: Panagiotis Chartas (r0jahsm0ntar1) # # This script is part of the Shakamura framework: # https://github.com/r0jahsm0ntar1/Shakamura import argparse from subprocess import check_output from Core.common import * from Core.settings import Shakamura_Settings, Core_Server_Settings, TCP...
62,531
Python
.py
1,032
37.943798
541
0.503967
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,753
shakamura_core.py
CHEGEBB_africana-framework/externals/shakamura/Core/shakamura_core.py
#!/usr/bin/env python3 # # Author: Panagiotis Chartas (r0jahsm0ntar1) # # This script is part of the Shakamura framework: # https://github.com/r0jahsm0ntar1/Shakamura import ssl, socket, struct from http.server import HTTPServer, BaseHTTPRequestHandler from warnings import filterwarnings from datetime import date, da...
118,823
Python
.py
2,123
40.235516
300
0.558565
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,754
settings.py
CHEGEBB_africana-framework/externals/shakamura/Core/settings.py
#!/usr/bin/env python3 # # Author: Panagiotis Chartas (r0jahsm0ntar1) # # This script is part of the Shakamura framework: # https://github.com/r0jahsm0ntar1/Shakamura import os from threading import BoundedSemaphore from uuid import uuid4 from time import sleep class Threading_params: MAX_THREADS = 100 ...
3,606
Python
.py
88
34.034091
140
0.683637
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,755
logging.py
CHEGEBB_africana-framework/externals/shakamura/Core/logging.py
#!/usr/bin/env python3 # # Author: Panagiotis Chartas (r0jahsm0ntar1) # # This script is part of the Shakamura framework: # https://github.com/r0jahsm0ntar1/Shakamura import os from .common import system_type from .settings import Logging_Settings main_meta_folder = Logging_Settings.main_meta_folder_unix if system_...
2,449
Python
.py
55
34.109091
142
0.655423
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,756
common.py
CHEGEBB_africana-framework/externals/shakamura/Core/common.py
#!/usr/bin/env python3 # # Author: Panagiotis Chartas (r0jahsm0ntar1) # # This script is part of the Shakamura framework: # https://github.com/r0jahsm0ntar1/Shakamura import sys, string, base64, os, re, traceback import netifaces as ni from random import randint, choice, randrange from threading import Thread, enum...
7,987
Python
.py
213
31.140845
129
0.634991
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,757
powershell_outfile_https.py
CHEGEBB_africana-framework/externals/shakamura/Core/payload_templates/windows/shakamura/powershell_outfile_https.py
# This module is part of the Shakamura framework class Payload: info = { 'Title' : 'Windows PowerShell outfile Shakamura https', 'Author' : 'Panagiotis Chartas (r0jahsm0ntar1)', 'Description' : 'An Https based beacon-like reverse shell that writes and executes commands from disc', ...
1,952
Python
.py
32
55.15625
711
0.664401
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,758
powershell_outfile_constr_lang.py
CHEGEBB_africana-framework/externals/shakamura/Core/payload_templates/windows/shakamura/powershell_outfile_constr_lang.py
# This module is part of the Shakamura framework class Payload: info = { 'Title' : 'Windows PowerShell outfile Shakamura - Constraint Language Mode', 'Author' : 'Panagiotis Chartas (r0jahsm0ntar1)', 'Description' : 'An Http based beacon-like reverse shell that writes and executes commands ...
1,609
Python
.py
26
54.923077
717
0.630711
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,759
powershell_outfile_constr_lang_https.py
CHEGEBB_africana-framework/externals/shakamura/Core/payload_templates/windows/shakamura/powershell_outfile_constr_lang_https.py
# This module is part of the Shakamura framework class Payload: info = { 'Title' : 'Windows PowerShell outfile Shakamura https - Constraint Language Mode', 'Author' : 'Panagiotis Chartas (r0jahsm0ntar1)', 'Description' : 'An Https based beacon-like reverse shell that writes and executes co...
2,001
Python
.py
32
56.6875
661
0.671764
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,760
powershell_iex_constr_lang.py
CHEGEBB_africana-framework/externals/shakamura/Core/payload_templates/windows/shakamura/powershell_iex_constr_lang.py
# This module is part of the Shakamura framework class Payload: info = { 'Title' : 'Windows PowerShell IEX Shakamura - Constraint Language Mode', 'Author' : 'Panagiotis Chartas (r0jahsm0ntar1)', 'Description' : 'An Http based beacon-like reverse shell that utilizes IEX and will work even i...
1,378
Python
.py
25
48.24
587
0.627786
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,761
powershell_iex_constr_lang_https.py
CHEGEBB_africana-framework/externals/shakamura/Core/payload_templates/windows/shakamura/powershell_iex_constr_lang_https.py
# This module is part of the Shakamura framework class Payload: info = { 'Title' : 'Windows PowerShell IEX Shakamura https - Constraint Language Mode', 'Author' : 'Panagiotis Chartas (r0jahsm0ntar1)', 'Description' : 'An Https based beacon-like reverse shell that utilizes IEX and will work...
1,753
Python
.py
31
50.806452
514
0.674052
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,762
cmd_curl.py
CHEGEBB_africana-framework/externals/shakamura/Core/payload_templates/windows/shakamura/cmd_curl.py
# This module is part of the Shakamura framework class Payload: info = { 'Title' : 'Windows CMD cURL Shakamura', 'Author' : 'Panagiotis Chartas (r0jahsm0ntar1)', 'Description' : 'An Http based beacon-like reverse shell that utilizes cURL', 'References' : ['https://github.com/r0jahs...
1,085
Python
.py
22
42.545455
465
0.585227
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,763
cmd_curl_https.py
CHEGEBB_africana-framework/externals/shakamura/Core/payload_templates/windows/shakamura/cmd_curl_https.py
# This module is part of the Shakamura framework class Payload: info = { 'Title' : 'Windows CMD cURL Shakamura https', 'Author' : 'Panagiotis Chartas (r0jahsm0ntar1)', 'Description' : 'An Https based beacon-like reverse shell that utilizes cURL', 'References' : ['https://github.com...
1,114
Python
.py
22
43.863636
483
0.586175
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,764
powershell_iex_https.py
CHEGEBB_africana-framework/externals/shakamura/Core/payload_templates/windows/shakamura/powershell_iex_https.py
# This module is part of the Shakamura framework class Payload: info = { 'Title' : 'Windows PowerShell IEX Shakamura https', 'Author' : 'Panagiotis Chartas (r0jahsm0ntar1)', 'Description' : 'An Https based beacon-like reverse shell that utilizes IEX', 'References' : ['https://githu...
1,702
Python
.py
31
49.16129
565
0.665264
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,765
powershell_iex.py
CHEGEBB_africana-framework/externals/shakamura/Core/payload_templates/windows/shakamura/powershell_iex.py
# This module is part of the Shakamura framework class Payload: info = { 'Title' : 'Windows PowerShell IEX Shakamura', 'Author' : 'Panagiotis Chartas (r0jahsm0ntar1)', 'Description' : 'An Http based beacon-like reverse shell that utilizes IEX', 'References' : ['https://github.com/r...
1,327
Python
.py
25
46.2
638
0.614672
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,766
powershell_outfile.py
CHEGEBB_africana-framework/externals/shakamura/Core/payload_templates/windows/shakamura/powershell_outfile.py
# This module is part of the Shakamura framework class Payload: info = { 'Title' : 'Windows PowerShell outfile Shakamura', 'Author' : 'Panagiotis Chartas (r0jahsm0ntar1)', 'Description' : 'An Http based beacon-like reverse shell that writes and executes commands from disc', 'Refere...
1,556
Python
.py
26
52.884615
766
0.620486
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,767
powershell_reverse_tcp_v2.py
CHEGEBB_africana-framework/externals/shakamura/Core/payload_templates/windows/netcat/powershell_reverse_tcp_v2.py
# This module is part of the Shakamura framework class Payload: info = { 'Title' : 'Windows PowerShell Reverse TCP', 'Author' : 'Unknown', 'Description' : 'Classic PowerShell Reverse TCP', 'References' : ['https://revshells.com'] } meta = { 'handler' : 'netcat', ...
2,395
Python
.py
44
48.636364
354
0.548097
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,768
powershell_reverse_tcp.py
CHEGEBB_africana-framework/externals/shakamura/Core/payload_templates/windows/netcat/powershell_reverse_tcp.py
# This module is part of the Shakamura framework class Payload: info = { 'Title' : 'Windows PowerShell Reverse TCP', 'Author' : 'Unknown', 'Description' : 'Classic PowerShell Reverse TCP', 'References' : ['https://revshells.com'] } meta = { 'handler' : 'netcat', ...
2,395
Python
.py
44
48.636364
354
0.548097
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,769
python3_reverse_tcp.py
CHEGEBB_africana-framework/externals/shakamura/Core/payload_templates/windows/netcat/python3_reverse_tcp.py
# This module is part of the Shakamura framework class Payload: info = { 'Title' : 'Python3 Reverse TCP', 'Author' : 'Unknown', 'Description' : 'Python3 Reverse TCP', 'References' : ['https://github.com/swisskyrepo/PayloadsAllTheThings'] } meta = { 'handler' : 'net...
934
Python
.py
19
42.263158
448
0.620155
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,770
sh_curl.py
CHEGEBB_africana-framework/externals/shakamura/Core/payload_templates/linux/shakamura/sh_curl.py
# This module is part of the Shakamura framework class Payload: info = { 'Title' : 'Linux cURL Shakamura', 'Author' : 'Panagiotis Chartas (r0jahsm0ntar1)', 'Description' : 'An Http based beacon-like reverse shell that utilizes cURL', 'References' : ['https://github.com/r0jahsm0ntar...
1,023
Python
.py
22
39.727273
413
0.54326
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,771
sh_curl_https.py
CHEGEBB_africana-framework/externals/shakamura/Core/payload_templates/linux/shakamura/sh_curl_https.py
# This module is part of the Shakamura framework class Payload: info = { 'Title' : 'Linux cURL Shakamura', 'Author' : 'Panagiotis Chartas (r0jahsm0ntar1)', 'Description' : 'An Http based beacon-like reverse shell that utilizes cURL', 'References' : ['https://github.com/r0jahsm0ntar...
1,034
Python
.py
22
40.227273
420
0.546269
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,772
bash_read_line_reverse_tcp.py
CHEGEBB_africana-framework/externals/shakamura/Core/payload_templates/linux/netcat/bash_read_line_reverse_tcp.py
# This module is part of the Shakamura framework class Payload: info = { 'Title' : 'Bash read line reverse TCP', 'Author' : 'Unknown', 'Description' : 'Bash read line reverse TCP', 'References' : ['https://revshells.com'] } meta = { 'handler' : 'netcat', 't...
566
Python
.py
19
23.052632
106
0.527778
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,773
php_popen_reverse_tcp.py
CHEGEBB_africana-framework/externals/shakamura/Core/payload_templates/linux/netcat/php_popen_reverse_tcp.py
# This module is part of the Shakamura framework class Payload: info = { 'Title' : 'PHP popen reverse TCP', 'Author' : 'Unknown', 'Description' : 'PHP popen reverse TCP', 'References' : ['https://revshells.com'] } meta = { 'handler' : 'netcat', 'type' : 'ph...
601
Python
.py
19
24.842105
155
0.513043
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,774
awk_reverse_tcp.py
CHEGEBB_africana-framework/externals/shakamura/Core/payload_templates/linux/netcat/awk_reverse_tcp.py
# This module is part of the Shakamura framework class Payload: info = { 'Title' : 'Awk reverse TCP', 'Author' : 'Unknown', 'Description' : 'Awk reverse TCP', 'References' : ['https://revshells.com'] } meta = { 'handler' : 'netcat', 'type' : 'awk-reverse-tc...
687
Python
.py
19
29.368421
247
0.506808
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,775
php_proc_open_reverse_tcp.py
CHEGEBB_africana-framework/externals/shakamura/Core/payload_templates/linux/netcat/php_proc_open_reverse_tcp.py
# This module is part of the Shakamura framework class Payload: info = { 'Title' : 'PHP proc_open reverse TCP', 'Author' : 'Unknown', 'Description' : 'PHP proc_open reverse TCP', 'References' : ['https://revshells.com'] } meta = { 'handler' : 'netcat', 'typ...
618
Python
.py
19
25.789474
161
0.530405
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,776
ruby_no_sh_reverse_tcp.py
CHEGEBB_africana-framework/externals/shakamura/Core/payload_templates/linux/netcat/ruby_no_sh_reverse_tcp.py
# This module is part of the Shakamura framework class Payload: info = { 'Title' : 'Ruby no sh reverse TCP', 'Author' : 'Unknown', 'Description' : 'Ruby no sh reverse TCP', 'References' : ['https://revshells.com'] } meta = { 'handler' : 'netcat', 'type' : '...
722
Python
.py
19
31.315789
263
0.527299
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,777
php_passthru_reverse_tcp.py
CHEGEBB_africana-framework/externals/shakamura/Core/payload_templates/linux/netcat/php_passthru_reverse_tcp.py
# This module is part of the Shakamura framework class Payload: info = { 'Title' : 'PHP passthru reverse TCP', 'Author' : 'Panagiotis Chartas (r0jahsm0ntar1)', 'Description' : 'PHP popen reverse TCP', 'References' : ['https://revshells.com'] } meta = { 'handler' : ...
627
Python
.py
19
26.368421
151
0.542429
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,778
python3_reverse_tcp.py
CHEGEBB_africana-framework/externals/shakamura/Core/payload_templates/linux/netcat/python3_reverse_tcp.py
# This module is part of the Shakamura framework class Payload: info = { 'Title' : 'Linux Python3 reverse TCP', 'Author' : 'Unknown', 'Description' : 'Classic Python3 reverse TCP', 'References' : ['https://revshells.com'] } meta = { 'handler' : 'netcat', 't...
733
Python
.py
19
31.842105
268
0.579915
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,779
python3_reverse_tcp_v2.py
CHEGEBB_africana-framework/externals/shakamura/Core/payload_templates/linux/netcat/python3_reverse_tcp_v2.py
# This module is part of the Shakamura framework class Payload: info = { 'Title' : 'Linux Python3 reverse TCP', 'Author' : 'Unknown', 'Description' : 'Classic Python3 reverse TCP', 'References' : ['https://revshells.com'] } meta = { 'handler' : 'netcat', 't...
737
Python
.py
19
32
271
0.566807
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,780
ruby_reverse_tcp.py
CHEGEBB_africana-framework/externals/shakamura/Core/payload_templates/linux/netcat/ruby_reverse_tcp.py
# This module is part of the Shakamura framework class Payload: info = { 'Title' : 'Ruby reverse TCP', 'Author' : 'Unknown', 'Description' : 'Ruby reverse TCP', 'References' : ['https://revshells.com'] } meta = { 'handler' : 'netcat', 'type' : 'ruby-reverse...
578
Python
.py
19
23.421053
131
0.522852
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,781
perl_no_sh_reverse_tcp.py
CHEGEBB_africana-framework/externals/shakamura/Core/payload_templates/linux/netcat/perl_no_sh_reverse_tcp.py
# This module is part of the Shakamura framework class Payload: info = { 'Title' : 'Linux Perl reverse TCP', 'Author' : 'Unknown', 'Description' : 'Classic Perl reverse TCP', 'References' : ['https://revshells.com'] } meta = { 'handler' : 'netcat', 'type' :...
698
Python
.py
19
29.894737
246
0.540419
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,782
shells.py
CHEGEBB_africana-framework/externals/shells/shells.py
#!/bin/bash DIR="$1" version="2.0" ### Colors ## ESC=$(printf '\033') RESET="${ESC}[0m" BLACK="${ESC}[30m" RED="${ESC}[31m" GREEN="${ESC}[32m" YELLOW="${ESC}[33m" BLUE="${ESC}[34m" MAGENTA="${ESC}[35m" CYAN="${ESC}[36m" WHITE="${ESC}[37m" DEFAULT="${ESC}[39m" ### Color Functions ## greenprint() { printf "${GREEN}%s...
1,755,663
Python
.py
3,103
558.604898
1,039,788
0.926139
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,783
joker.py
CHEGEBB_africana-framework/externals/joker/joker.py
import random import time import uuid import base64 import argparse import logging import subprocess from tqdm import tqdm from colorama import init, Fore import string import socket import threading init(autoreset=True) # - This tool is an obfuscated PowerShell payload designed to bypass RTP # - and allow for RCE on ...
18,974
Python
.py
385
41.841558
236
0.563999
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,784
smtp_client.py
CHEGEBB_africana-framework/externals/set/src/phishing/smtp/client/smtp_client.py
#!/usr/bin/env python3 # for client emails import smtplib import os import getpass import sys import subprocess import re import glob import random import pexpect import base64 # python 2 to 3 fixes try: import _thread as thread # Py3 except ImportError: import thread # Py2 try: from cStringIO import Strin...
19,223
Python
.py
452
32.300885
196
0.573763
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,785
smtp_web.py
CHEGEBB_africana-framework/externals/set/src/phishing/smtp/client/smtp_web.py
#!/usr/bin/env python3 import smtplib import os import getpass import sys import subprocess import re import glob import random import time import base64 # fix for python2 to 3 compatibility try: from cStringIO import StringIO except ImportError: from io import StringIO import email import email.encoders import...
16,555
Python
.py
392
33.216837
152
0.602446
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,786
custom_template.py
CHEGEBB_africana-framework/externals/set/src/phishing/smtp/client/custom_template.py
#!/usr/bin/env python3 import random from src.core import setcore as core try: print ("\n [****] Custom Template Generator [****]\n") print ("\n Always looking for new templates! In the set/src/templates directory send an email\nto davek@secmaniac.com if you got a good template!") author = input...
1,286
Python
.py
29
37.517241
153
0.609076
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,787
wifiattack.py
CHEGEBB_africana-framework/externals/set/src/wireless/wifiattack.py
#!/usr/bin/env python3 # coding=utf-8 ############################################## # # This is a basic setup for an access point # attack vector in set. # ############################################## import sys import os import subprocess import pexpect import time import src.core.setcore as core from src.core.men...
6,339
Python
.py
141
41.503546
125
0.709819
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,788
stop_wifiattack.py
CHEGEBB_africana-framework/externals/set/src/wireless/stop_wifiattack.py
#!/usr/bin/env python3 # coding=utf-8 import subprocess import src.core.setcore as core # # Simple python script to kill things created by the SET wifi attack vector # try: input = raw_input except NameError: pass interface = input(core.setprompt(["8"], "Enter your wireless interface (ex: wlan0): ")) # fix a bug i...
1,549
Python
.py
34
41.205882
101
0.713906
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,789
teensy_gen.py
CHEGEBB_africana-framework/externals/set/src/teensy/teensy_gen.py
from __future__ import print_function # teensy_gen Functions def check_input(orig_value, user_value): if ( user_value == '' ): print('Keeping orginal value') return (orig_value) else: print('Value changed from - '+orig_value+' to '+user_value) return (user_value) def ino_print_...
913
Python
.py
13
65.307692
191
0.627648
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,790
ino_gen.py
CHEGEBB_africana-framework/externals/set/src/teensy/ino_gen.py
#!/usr/bin/python3 from __future__ import print_function import os,subprocess,sys import teensy_gen try: input = raw_input except NameError: pass # Python script to automate the generation of ino files for the Teensy HID attack executing shellcode using msbuild.exe # This appears to be functional with my limi...
11,865
Python
.py
119
90.94958
276
0.56692
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,791
binary2teensy.py
CHEGEBB_africana-framework/externals/set/src/teensy/binary2teensy.py
#!/usr/bin/python3 from __future__ import print_function import binascii,base64,sys,os,random,string,subprocess,socket from src.core.setcore import * from src.core.dictionaries import * from src.core.menu.text import * try: input = raw_input except NameError: pass #############################################...
22,179
Python
.py
304
70.095395
10,255
0.795852
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,792
teensy.py
CHEGEBB_africana-framework/externals/set/src/teensy/teensy.py
#!/usr/bin/env python3 # coding=utf-8 ############################ # # Teensy HID Attack Vector # ############################ import datetime import os import re import subprocess import src.core.setcore as core # Py2/3 compatibility # Python3 renamed raw_input to input try: input = raw_input except NameError: ...
5,730
Python
.py
143
31.160839
144
0.587187
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,793
powershell_shellcode.py
CHEGEBB_africana-framework/externals/set/src/teensy/powershell_shellcode.py
#!/usr/bin/python3 # coding=utf-8 import os import time import pexpect import src.core.setcore as core # Py2/3 compatibility # Python3 renamed raw_input to input try: input = raw_input except NameError: pass print(""" The powershell - shellcode injection leverages powershell to send a meterpreter session st...
5,484
Python
.py
166
28.831325
136
0.681715
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,794
sd2teensy.py
CHEGEBB_africana-framework/externals/set/src/teensy/sd2teensy.py
#!/usr/bin/python3 import base64 import binascii import os import subprocess import src.core.setcore as core ########################################################################## # # BSIDES LV SDCARD to Teensy Creator # # by Josh Kelley (@winfang98) # ...
8,729
Python
.py
221
36.325792
148
0.634627
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,795
delldrac.py
CHEGEBB_africana-framework/externals/set/src/fasttrack/delldrac.py
#!/usr/bin/env python3 # coding=utf-8 ########################################### # # Dell DRAC and Chassis Scanner # Default Credential Check # UN: root PW: calvin # # Written by Dave Kennedy (ReL1K) # Company: TrustedSec, LLC # Website: https://www.trustedsec.com # @TrustedSec # #####################################...
13,192
Python
.py
318
29.141509
135
0.506895
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,796
mssql.py
CHEGEBB_africana-framework/externals/set/src/fasttrack/mssql.py
#!/usr/bin/env python3 # coding=utf-8 import _mssql import binascii import os import shutil import subprocess import thread import time import pexpect import src.core.setcore as core import impacket.tds as tds #from src.core.payloadgen import create_payloads # Py2/3 compatibility # Python3 renamed raw_input to input ...
18,825
Python
.py
378
35.677249
214
0.55819
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,797
autopwn.py
CHEGEBB_africana-framework/externals/set/src/fasttrack/autopwn.py
#!/usr/bin/env python3 # coding=utf-8 # # # Metasploit Autopwn functionality # # import os import pexpect import src.core.setcore as core # Py2/3 compatibility # Python3 renamed raw_input to input try: input = raw_input except NameError: pass # this will load the database def prep(database, ranges): pr...
2,403
Python
.py
55
37.618182
116
0.67152
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,798
ridenum.py
CHEGEBB_africana-framework/externals/set/src/fasttrack/ridenum.py
#!/usr/bin/python3 # coding=utf-8 import os import subprocess import sys # check for python pexpect try: import pexpect # if we don't have it except ImportError: print("[!] Sorry boss, python-pexpect is not installed. You need to install this first.") sys.exit() ##########################################...
16,296
Python
.py
335
34.561194
151
0.503457
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)
2,285,799
psexec.py
CHEGEBB_africana-framework/externals/set/src/fasttrack/psexec.py
# coding=utf-8 ############################################# # # Main SET module for psexec # ############################################# import os import subprocess import src import src.core.setcore as core # Py2/3 compatibility # Python3 renamed raw_input to input try: input = raw_input except NameError: ...
5,389
Python
.py
105
44.580952
161
0.604709
CHEGEBB/africana-framework
8
1
0
GPL-3.0
9/5/2024, 10:48:01 PM (Europe/Amsterdam)