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,289,400
custom_env.py
WindyLab_Gym-PPS/example_pps/custom_env.py
import gym from gym import spaces import numpy as np """Define your own Observation and Reward in this script: You may use the following properties to define your observation/reward functions: self.env.p, dp, ddp, theta, heading, d_b2b_center, is_collide_b2b, energy """ class MyObs(gym.ObservationWrapper): def ...
852
Python
.py
24
28.458333
97
0.642225
WindyLab/Gym-PPS
8
2
1
GPL-2.0
9/5/2024, 10:48:35 PM (Europe/Amsterdam)
2,289,401
test_pps.py
WindyLab_Gym-PPS/example_pps/test_pps.py
import os import json import numpy as np import time import gym from gym.wrappers import PredatorPreySwarmCustomizer from custom_env import MyObs, MyReward ## Define the Predator-Prey Swarm (PPS) environment scenario_name = 'PredatorPreySwarm-v0' # customize PPS environment parameters in the .json file custom_param...
1,298
Python
.py
33
33.454545
88
0.648281
WindyLab/Gym-PPS
8
2
1
GPL-2.0
9/5/2024, 10:48:35 PM (Europe/Amsterdam)
2,289,402
custom_param.py
WindyLab_Gym-PPS/example_pps/custom_param.py
''' Specify parameters of the PredatorPreySwarm environment ''' from typing import Union import numpy as np import argparse parser = argparse.ArgumentParser("Gym-PredatorPreySwarm Arguments") parser.add_argument("--n-p", type=int, default=3, help='number of predators') parser.add_argument("--n-e", type=int, default=...
884
Python
.py
14
61.428571
136
0.737875
WindyLab/Gym-PPS
8
2
1
GPL-2.0
9/5/2024, 10:48:35 PM (Europe/Amsterdam)
2,289,403
generate_json.py
WindyLab_Gym-PPS/scripts/generate_json.py
from gym import envs, spaces, logger import json import os import sys import argparse from gym.envs.tests.spec_list import should_skip_env_spec_for_tests from gym.envs.tests.test_envs_semantics import generate_rollout_hash, hash_object DATA_DIR = os.path.join(os.path.dirname(__file__), os.pardir, "gym", "envs", "test...
3,910
Python
.py
102
31.441176
93
0.64996
WindyLab/Gym-PPS
8
2
1
GPL-2.0
9/5/2024, 10:48:35 PM (Europe/Amsterdam)
2,289,404
lint_python.yml
WindyLab_Gym-PPS/.github/workflows/lint_python.yml
name: lint_python on: [pull_request, push] jobs: lint_python: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 - run: pip install isort mypy pytest pyupgrade safety - run: isort --check-only --profile black . || true - run: pip install -e ...
544
Python
.pyt
15
31
71
0.620038
WindyLab/Gym-PPS
8
2
1
GPL-2.0
9/5/2024, 10:48:35 PM (Europe/Amsterdam)
2,289,405
test_frame_stack.py
WindyLab_Gym-PPS/gym/wrappers/test_frame_stack.py
import pytest pytest.importorskip("atari_py") import numpy as np import gym from gym.wrappers import FrameStack try: import lz4 except ImportError: lz4 = None @pytest.mark.parametrize("env_id", ["CartPole-v1", "Pendulum-v0", "Pong-v0"]) @pytest.mark.parametrize("num_stack", [2, 3, 4]) @pytest.mark.parametr...
1,387
Python
.tac
42
27.642857
77
0.632012
WindyLab/Gym-PPS
8
2
1
GPL-2.0
9/5/2024, 10:48:35 PM (Europe/Amsterdam)
2,289,406
frame_stack.py
WindyLab_Gym-PPS/gym/wrappers/frame_stack.py
from collections import deque import numpy as np from gym.spaces import Box from gym import ObservationWrapper class LazyFrames(object): r"""Ensures common frames are only stored once to optimize memory use. To further reduce the memory use, it is optionally to turn on lz4 to compress the observations. ...
3,939
Python
.tac
90
35.611111
91
0.641865
WindyLab/Gym-PPS
8
2
1
GPL-2.0
9/5/2024, 10:48:35 PM (Europe/Amsterdam)
2,289,407
sensor.py
TeDeVPrime_energy_grabber_by_ted/sensor.py
import logging from datetime import timedelta, datetime from bs4 import BeautifulSoup from homeassistant.components.sensor import SensorEntity from homeassistant.core import callback from homeassistant.helpers.aiohttp_client import async_get_clientsession from homeassistant.helpers.update_coordinator import DataUpdateC...
5,407
Python
.py
131
32.137405
105
0.61974
TeDeVPrime/energy_grabber_by_ted
8
1
0
GPL-3.0
9/5/2024, 10:48:35 PM (Europe/Amsterdam)
2,289,408
config_flow.py
TeDeVPrime_energy_grabber_by_ted/config_flow.py
import voluptuous as vol from homeassistant import config_entries from homeassistant.core import HomeAssistant from homeassistant.const import CONF_NAME, CONF_URL from homeassistant.helpers.aiohttp_client import async_get_clientsession from .const import DOMAIN, CONF_URL import logging _LOGGER = logging.getLogger(__na...
3,196
Python
.py
65
39.076923
148
0.633333
TeDeVPrime/energy_grabber_by_ted
8
1
0
GPL-3.0
9/5/2024, 10:48:35 PM (Europe/Amsterdam)
2,289,409
const.py
TeDeVPrime_energy_grabber_by_ted/const.py
# Constants file for Greek Energy Prices Monitor DOMAIN = "energy_grabber_by_ted" CONF_URL = 'url' # This is the configuration key for URL used in the config flow and sensor setup
181
Python
.py
3
59.333333
98
0.775281
TeDeVPrime/energy_grabber_by_ted
8
1
0
GPL-3.0
9/5/2024, 10:48:35 PM (Europe/Amsterdam)
2,289,410
__init__.py
TeDeVPrime_energy_grabber_by_ted/__init__.py
from homeassistant.core import HomeAssistant from homeassistant import config_entries from homeassistant.helpers.dispatcher import async_dispatcher_send import logging from .const import DOMAIN, CONF_URL _LOGGER = logging.getLogger(__name__) async def async_setup(hass: HomeAssistant, config: dict): """Set up the...
2,142
Python
.py
40
48.55
107
0.726839
TeDeVPrime/energy_grabber_by_ted
8
1
0
GPL-3.0
9/5/2024, 10:48:35 PM (Europe/Amsterdam)
2,289,411
sensor.py
TeDeVPrime_energy_grabber_by_ted/custom_components/energy_grabber_by_ted/sensor.py
import logging from datetime import timedelta, datetime from bs4 import BeautifulSoup from homeassistant.components.sensor import SensorEntity from homeassistant.core import callback from homeassistant.helpers.aiohttp_client import async_get_clientsession from homeassistant.helpers.update_coordinator import DataUpdateC...
5,407
Python
.py
131
32.137405
105
0.61974
TeDeVPrime/energy_grabber_by_ted
8
1
0
GPL-3.0
9/5/2024, 10:48:35 PM (Europe/Amsterdam)
2,289,412
config_flow.py
TeDeVPrime_energy_grabber_by_ted/custom_components/energy_grabber_by_ted/config_flow.py
import voluptuous as vol from homeassistant import config_entries from homeassistant.core import HomeAssistant from homeassistant.const import CONF_NAME, CONF_URL from homeassistant.helpers.aiohttp_client import async_get_clientsession from .const import DOMAIN, CONF_URL import logging _LOGGER = logging.getLogger(__na...
3,196
Python
.py
65
39.076923
148
0.633333
TeDeVPrime/energy_grabber_by_ted
8
1
0
GPL-3.0
9/5/2024, 10:48:35 PM (Europe/Amsterdam)
2,289,413
const.py
TeDeVPrime_energy_grabber_by_ted/custom_components/energy_grabber_by_ted/const.py
# Constants file for Greek Energy Prices Monitor DOMAIN = "energy_grabber_by_ted" CONF_URL = 'url' # This is the configuration key for URL used in the config flow and sensor setup
181
Python
.py
3
59.333333
98
0.775281
TeDeVPrime/energy_grabber_by_ted
8
1
0
GPL-3.0
9/5/2024, 10:48:35 PM (Europe/Amsterdam)
2,289,414
__init__.py
TeDeVPrime_energy_grabber_by_ted/custom_components/energy_grabber_by_ted/__init__.py
from homeassistant.core import HomeAssistant from homeassistant import config_entries from homeassistant.helpers.dispatcher import async_dispatcher_send import logging from .const import DOMAIN, CONF_URL _LOGGER = logging.getLogger(__name__) async def async_setup(hass: HomeAssistant, config: dict): """Set up the...
2,142
Python
.py
40
48.55
107
0.726839
TeDeVPrime/energy_grabber_by_ted
8
1
0
GPL-3.0
9/5/2024, 10:48:35 PM (Europe/Amsterdam)
2,289,415
detr3d_roscene_res101.py
roscenes_RoScenes/examples/mmdet3d/configs/detr3d_roscene_res101.py
_base_ = [ '/mmdetection3d/configs/_base_/datasets/nus-3d.py', '/mmdetection3d/configs/_base_/default_runtime.py' ] plugin=True plugin_dir='projects/mmdet3d_plugin/' # If point cloud range is changed, the models should also change their point # cloud range accordingly point_cloud_range = [-400., -40., -0., 40...
8,175
Python
.py
216
28.541667
176
0.592294
roscenes/RoScenes
8
0
2
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,416
roscenes_dataset.py
roscenes_RoScenes/examples/mmdet3d/mmdet3d_plugin/datasets/roscenes_dataset.py
# RoScenes # Copyright (C) 2024 Alibaba Cloud # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # ...
13,791
Python
.py
297
34.750842
201
0.547855
roscenes/RoScenes
8
0
2
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,417
__init__.py
roscenes_RoScenes/examples/mmdet3d/mmdet3d_plugin/datasets/__init__.py
###################### OTHER IMPORTS ###################### ###################### OTHER IMPORTS ###################### ###################### OTHER IMPORTS ###################### "..." from .roscenes_dataset import RoScenesDataset __all__ = [ '...' '...' '...' '...' 'RoScenesDataset' ]
309
Python
.py
12
23
59
0.317568
roscenes/RoScenes
8
0
2
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,418
transform.py
roscenes_RoScenes/roscenes/transform.py
# RoScenes # Copyright (C) 2024 Alibaba Cloud # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # ...
10,588
Python
.py
311
25.681672
180
0.466817
roscenes/RoScenes
8
0
2
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,419
__init__.py
roscenes_RoScenes/roscenes/__init__.py
# RoScenes # Copyright (C) 2024 Alibaba Cloud # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # ...
854
Python
.py
20
41.55
75
0.760529
roscenes/RoScenes
8
0
2
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,420
consts.py
roscenes_RoScenes/roscenes/consts.py
# RoScenes # Copyright (C) 2024 Alibaba Cloud # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # ...
1,395
Python
.py
38
33.078947
190
0.682927
roscenes/RoScenes
8
0
2
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,421
misc.py
roscenes_RoScenes/roscenes/misc.py
# RoScenes # Copyright (C) 2024 Alibaba Cloud # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # ...
13,299
Python
.py
354
29.087571
164
0.569819
roscenes/RoScenes
8
0
2
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,422
typing.py
roscenes_RoScenes/roscenes/typing.py
# RoScenes # Copyright (C) 2024 Alibaba Cloud # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # ...
851
Python
.py
19
43.789474
75
0.747596
roscenes/RoScenes
8
0
2
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,423
clip.py
roscenes_RoScenes/roscenes/data/clip.py
# RoScenes # Copyright (C) 2024 Alibaba Cloud # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # ...
6,288
Python
.py
151
34.860927
170
0.6096
roscenes/RoScenes
8
0
2
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,424
camera.py
roscenes_RoScenes/roscenes/data/camera.py
# RoScenes # Copyright (C) 2024 Alibaba Cloud # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # ...
1,918
Python
.py
44
40.363636
154
0.685086
roscenes/RoScenes
8
0
2
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,425
metadata.py
roscenes_RoScenes/roscenes/data/metadata.py
# RoScenes # Copyright (C) 2024 Alibaba Cloud # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # ...
1,361
Python
.py
49
24.612245
75
0.699081
roscenes/RoScenes
8
0
2
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,426
__init__.py
roscenes_RoScenes/roscenes/data/__init__.py
# RoScenes # Copyright (C) 2024 Alibaba Cloud # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # ...
968
Python
.py
29
31.482759
75
0.72572
roscenes/RoScenes
8
0
2
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,427
frame.py
roscenes_RoScenes/roscenes/data/frame.py
# RoScenes # Copyright (C) 2024 Alibaba Cloud # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # ...
7,081
Python
.py
129
47.813953
232
0.640704
roscenes/RoScenes
8
0
2
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,428
scene.py
roscenes_RoScenes/roscenes/data/scene.py
# RoScenes # Copyright (C) 2024 Alibaba Cloud # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # ...
7,301
Python
.py
170
34.811765
199
0.6363
roscenes/RoScenes
8
0
2
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,429
__init__.py
roscenes_RoScenes/roscenes/evaluation/__init__.py
# RoScenes # Copyright (C) 2024 Alibaba Cloud # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # ...
756
Python
.py
16
46.3125
75
0.747638
roscenes/RoScenes
8
0
2
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,430
result.py
roscenes_RoScenes/roscenes/evaluation/detection/result.py
# RoScenes # Copyright (C) 2024 Alibaba Cloud # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # ...
9,304
Python
.py
222
33.418919
178
0.597589
roscenes/RoScenes
8
0
2
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,431
handlers.py
roscenes_RoScenes/roscenes/evaluation/detection/handlers.py
# RoScenes # Copyright (C) 2024 Alibaba Cloud # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # ...
7,394
Python
.py
143
44.979021
250
0.675526
roscenes/RoScenes
8
0
2
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,432
config.py
roscenes_RoScenes/roscenes/evaluation/detection/config.py
# RoScenes # Copyright (C) 2024 Alibaba Cloud # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # ...
3,169
Python
.py
66
42.621212
186
0.707081
roscenes/RoScenes
8
0
2
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,433
aggregator.py
roscenes_RoScenes/roscenes/evaluation/detection/aggregator.py
# RoScenes # Copyright (C) 2024 Alibaba Cloud # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # ...
1,679
Python
.py
32
47.75
144
0.719586
roscenes/RoScenes
8
0
2
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,434
prediction.py
roscenes_RoScenes/roscenes/evaluation/detection/prediction.py
# RoScenes # Copyright (C) 2024 Alibaba Cloud # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # ...
1,590
Python
.py
36
40.166667
178
0.717419
roscenes/RoScenes
8
0
2
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,435
__init__.py
roscenes_RoScenes/roscenes/evaluation/detection/__init__.py
# RoScenes # Copyright (C) 2024 Alibaba Cloud # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # ...
948
Python
.py
18
51.722222
91
0.780881
roscenes/RoScenes
8
0
2
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,436
evaluator.py
roscenes_RoScenes/roscenes/evaluation/detection/evaluator.py
# RoScenes # Copyright (C) 2024 Alibaba Cloud # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # ...
12,179
Python
.py
192
53.697917
339
0.676485
roscenes/RoScenes
8
0
2
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,437
__main__.py
roscenes_RoScenes/roscenes/visualizer/__main__.py
# RoScenes # Copyright (C) 2024 Alibaba Cloud # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # ...
6,640
Python
.py
143
37.937063
171
0.613162
roscenes/RoScenes
8
0
2
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,438
__init__.py
roscenes_RoScenes/roscenes/visualizer/__init__.py
# RoScenes # Copyright (C) 2024 Alibaba Cloud # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # ...
836
Python
.py
18
45.5
75
0.746032
roscenes/RoScenes
8
0
2
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,439
rename_lexmark_functions.py
boredpentester_pwn2own_lexmark/rename_lexmark_functions.py
# dirty script to rename Lexmark subroutines based on logging strings from idc import * from ida_xref import * import idautils # You must have identified the printf function. def printf_follow(addr): instcount = 0 xref_addr = addr func = idaapi.get_func(addr) addr = func.startEA print("-...
5,835
Python
.py
104
45.865385
474
0.598027
boredpentester/pwn2own_lexmark
8
0
0
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,440
rename_lexmark_pagemaker_sym_table.py
boredpentester_pwn2own_lexmark/rename_lexmark_pagemaker_sym_table.py
''' Lexmark's Pagemaker has what appears to be a symbol table for Postscript (and other) handlers. .rodata:00378A1C sym_table postscript_handler <aAbs, sub_103A10, 0, 0> .rodata:00378A1C ; DATA XREF: sub_6690C+48↑o .rodata:00378A1C ...
3,380
Python
.py
55
57.581818
106
0.632073
boredpentester/pwn2own_lexmark
8
0
0
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,441
main.py
wish2333_VideoExtractAndConcat/main.py
import sys # import logging import os # 第三方库 from PySide6.QtCore import Qt from PySide6.QtGui import QIcon from PySide6.QtWidgets import QApplication, QWidget from qfluentwidgets import FluentWindow, FluentIcon, NavigationItemPosition # 自定义模块 from modules.logger_config import logger from modules.setting_Interface impor...
3,632
Python
.py
76
40.894737
138
0.754762
wish2333/VideoExtractAndConcat
8
0
0
LGPL-2.1
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,442
Ui_vcodecInterfacee.py
wish2333_VideoExtractAndConcat/modules/Ui_vcodecInterfacee.py
# -*- coding: utf-8 -*- ################################################################################ ## Form generated from reading UI file 'vencoInterface.ui' ## ## Created by: Qt User Interface Compiler version 6.7.0 ## ## WARNING! All changes made in this file will be lost when recompiling UI file! ############...
26,328
Python
.py
477
46.234801
146
0.69668
wish2333/VideoExtractAndConcat
8
0
0
LGPL-2.1
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,443
Ui_VautocutInterface.py
wish2333_VideoExtractAndConcat/modules/Ui_VautocutInterface.py
# -*- coding: utf-8 -*- ################################################################################ ## Form generated from reading UI file 'VautocutInterface.ui' ## ## Created by: Qt User Interface Compiler version 6.7.0 ## ## WARNING! All changes made in this file will be lost when recompiling UI file! #########...
31,143
Python
.py
457
59.201313
147
0.752676
wish2333/VideoExtractAndConcat
8
0
0
LGPL-2.1
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,444
config.py
wish2333_VideoExtractAndConcat/modules/config.py
import os import configparser from modules.logger_config import logger def init_ffpath(): configinit = configparser.ConfigParser() configinit.read('.\\modules\\config.ini', 'UTF-8') if configinit['PATHS']['ffmpeg_path'] == '': ffmpeg_path_relative = '.\\FFmpeg\\bin\\ffmpeg.exe' ffprobe_pa...
3,690
Python
.py
74
40.864865
81
0.6461
wish2333/VideoExtractAndConcat
8
0
0
LGPL-2.1
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,445
VautocutInterface.py
wish2333_VideoExtractAndConcat/modules/VautocutInterface.py
import os from PySide6.QtCore import QThread, Qt, Signal, QObject from PySide6.QtWidgets import QWidget, QFileDialog, QListWidgetItem from qfluentwidgets import MessageBox from modules.config import autopath, ffpath from modules.autoEditorApi import AutoEditor from modules.Ui_VautocutInterface import Ui_VautocutInterf...
17,431
Python
.py
340
39.691176
191
0.639431
wish2333/VideoExtractAndConcat
8
0
0
LGPL-2.1
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,446
autoEditorApi.py
wish2333_VideoExtractAndConcat/modules/autoEditorApi.py
# autoEditorApi.py # 实现了FFmpeg的命令行接口,可以对视频进行各种操作,如截取、合并、转码、截图等。 import subprocess import os from modules.logger_config import logger import time import threading from modules.config import autopath import configparser class AutoEditor: # 初始化函数,用于初始化实例的ffmpeg_path属性 def __init__( self, ...
4,069
Python
.py
96
23.458333
66
0.529325
wish2333/VideoExtractAndConcat
8
0
0
LGPL-2.1
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,447
about_Interface.py
wish2333_VideoExtractAndConcat/modules/about_Interface.py
from PySide6.QtCore import QUrl from PySide6.QtGui import QDesktopServices from PySide6.QtWidgets import QWidget, QFileDialog, QMessageBox, QListWidgetItem from qfluentwidgets import FluentIcon from modules.config import ffpath, set_config from modules.Ui_aboutInterface import Ui_AboutInterface class AboutInterface(Q...
1,511
Python
.py
32
38.90625
91
0.736062
wish2333/VideoExtractAndConcat
8
0
0
LGPL-2.1
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,448
Ui_vcodecpInterface.py
wish2333_VideoExtractAndConcat/modules/Ui_vcodecpInterface.py
# -*- coding: utf-8 -*- ################################################################################ ## Form generated from reading UI file 'vcodecpInterface.ui' ## ## Created by: Qt User Interface Compiler version 6.7.0 ## ## WARNING! All changes made in this file will be lost when recompiling UI file! ##########...
35,063
Python
.py
516
59
167
0.753283
wish2333/VideoExtractAndConcat
8
0
0
LGPL-2.1
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,449
vcodecp_Interface.py
wish2333_VideoExtractAndConcat/modules/vcodecp_Interface.py
from modules.logger_config import logger import os from PySide6.QtCore import Qt, QThread, Signal, QObject, QTime from PySide6.QtGui import QPixmap, QPainter, QColor from PySide6.QtWidgets import QWidget, QFileDialog, QMessageBox, QListWidgetItem from qfluentwidgets import MessageBox from modules.config import ffpath...
54,329
Python
.py
715
56.753846
264
0.666542
wish2333/VideoExtractAndConcat
8
0
0
LGPL-2.1
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,450
ffmpegApi.py
wish2333_VideoExtractAndConcat/modules/ffmpegApi.py
# ffmpegApi.py # 实现了FFmpeg的命令行接口,可以对视频进行各种操作,如截取、合并、转码、截图等。 import subprocess import os from modules.logger_config import logger import time import threading from modules.config import ffpath class FFmpeg: # 初始化函数,用于初始化实例的ffmpeg_path属性 def __init__(self, ffmpeg_path=ffpath.ffmpeg_path, ffpr...
16,894
Python
.py
420
24.354762
419
0.507869
wish2333/VideoExtractAndConcat
8
0
0
LGPL-2.1
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,451
VfilterInterface.py
wish2333_VideoExtractAndConcat/modules/VfilterInterface.py
import os from PySide6.QtCore import Qt, QThread, Signal, QObject, QTime from PySide6.QtGui import QPixmap, QPainter, QColor from PySide6.QtWidgets import QWidget, QFileDialog, QMessageBox, QListWidgetItem from qfluentwidgets import MessageBox from modules.config import ffpath from modules.ffmpegApi import FFmpeg fr...
17,047
Python
.py
296
40.462838
176
0.617463
wish2333/VideoExtractAndConcat
8
0
0
LGPL-2.1
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,452
setting_Interface.py
wish2333_VideoExtractAndConcat/modules/setting_Interface.py
from modules.logger_config import logger import os import configparser from PySide6.QtCore import Qt, QThread, Signal, QObject, QTime from PySide6.QtGui import QPixmap, QPainter, QColor from PySide6.QtWidgets import QWidget, QFileDialog, QMessageBox, QListWidgetItem from qfluentwidgets import MessageBox from modules....
4,341
Python
.py
93
35.763441
98
0.672353
wish2333/VideoExtractAndConcat
8
0
0
LGPL-2.1
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,453
__init__.py
wish2333_VideoExtractAndConcat/modules/__init__.py
from PySide6.QtCore import * from PySide6.QtGui import * from PySide6.QtWidgets import * import os
99
Python
.py
4
23.75
31
0.831579
wish2333/VideoExtractAndConcat
8
0
0
LGPL-2.1
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,454
Ui_VfilterInterface.py
wish2333_VideoExtractAndConcat/modules/Ui_VfilterInterface.py
# -*- coding: utf-8 -*- ################################################################################ ## Form generated from reading UI file 'VfilterInterface.ui' ## ## Created by: Qt User Interface Compiler version 6.7.0 ## ## WARNING! All changes made in this file will be lost when recompiling UI file! ##########...
18,840
Python
.py
290
56.241379
219
0.750947
wish2333/VideoExtractAndConcat
8
0
0
LGPL-2.1
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,455
logger_config.py
wish2333_VideoExtractAndConcat/modules/logger_config.py
import logging import logging.handlers import os # 日志配置 logger = logging.getLogger(__name__) logger.setLevel(logging.DEBUG) if not os.path.exists(r'log'): os.mkdir(r'log') file_handler = logging.handlers.RotatingFileHandler(r'log/log.txt', mode='a', encoding='utf-8', maxBytes=1024 * 1024 * 5, backupCount=5) file...
706
Python
.py
17
39.529412
136
0.781065
wish2333/VideoExtractAndConcat
8
0
0
LGPL-2.1
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,456
Ui_remuxInterface.py
wish2333_VideoExtractAndConcat/modules/Ui_remuxInterface.py
# -*- coding: utf-8 -*- ################################################################################ ## Form generated from reading UI file 'remuxInterface.ui' ## ## Created by: Qt User Interface Compiler version 6.7.0 ## ## WARNING! All changes made in this file will be lost when recompiling UI file! ############...
17,046
Python
.py
269
54.66171
139
0.746887
wish2333/VideoExtractAndConcat
8
0
0
LGPL-2.1
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,457
vcodec_Interface.py
wish2333_VideoExtractAndConcat/modules/vcodec_Interface.py
from modules.logger_config import logger import os from PySide6.QtCore import Qt, QThread, Signal, QObject from PySide6.QtGui import QPixmap, QPainter, QColor from PySide6.QtWidgets import QWidget, QFileDialog, QMessageBox from qfluentwidgets import MessageBox from modules.config import ffpath from modules.ffmpegApi ...
22,456
Python
.py
351
45.908832
237
0.615477
wish2333/VideoExtractAndConcat
8
0
0
LGPL-2.1
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,458
ffmpegApi_filter.py
wish2333_VideoExtractAndConcat/modules/ffmpegApi_filter.py
# ffmpegApi.py # 实现了FFmpeg的命令行接口,可以对视频进行各种操作,如截取、合并、转码、截图等。 import subprocess import os from modules.logger_config import logger import time import threading from modules.config import ffpath import configparser class FFmpegFilter: # 初始化函数,用于初始化实例的ffmpeg_path属性 def __init__( self, ff...
9,645
Python
.py
186
33.360215
366
0.538536
wish2333/VideoExtractAndConcat
8
0
0
LGPL-2.1
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,459
Ui_aboutInterface.py
wish2333_VideoExtractAndConcat/modules/Ui_aboutInterface.py
# -*- coding: utf-8 -*- ################################################################################ ## Form generated from reading UI file 'aboutInterface.ui' ## ## Created by: Qt User Interface Compiler version 6.7.0 ## ## WARNING! All changes made in this file will be lost when recompiling UI file! ############...
13,668
Python
.py
210
56.704762
800
0.752684
wish2333/VideoExtractAndConcat
8
0
0
LGPL-2.1
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,460
remuxInterface.py
wish2333_VideoExtractAndConcat/modules/remuxInterface.py
import os from PySide6.QtCore import Qt, QThread, Signal, QObject, QTime from PySide6.QtGui import QPixmap, QPainter, QColor from PySide6.QtWidgets import QWidget, QFileDialog, QMessageBox, QListWidgetItem from qfluentwidgets import MessageBox from modules.config import ffpath from modules.ffmpegApi import FFmpeg fr...
16,077
Python
.py
269
39.286245
173
0.596419
wish2333/VideoExtractAndConcat
8
0
0
LGPL-2.1
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,461
Ui_settingInterface.py
wish2333_VideoExtractAndConcat/modules/Ui_settingInterface.py
# -*- coding: utf-8 -*- ################################################################################ ## Form generated from reading UI file 'settingInterface.ui' ## ## Created by: Qt User Interface Compiler version 6.7.0 ## ## WARNING! All changes made in this file will be lost when recompiling UI file! ##########...
11,587
Python
.py
183
54.874317
148
0.758056
wish2333/VideoExtractAndConcat
8
0
0
LGPL-2.1
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,462
venco_Interface.cpython-311.pyc
wish2333_VideoExtractAndConcat/modules/__pycache__/venco_Interface.cpython-311.pyc
§ [@f¸Pãó<—ddlZddlZddlmZmZmZmZddlmZm Z m Z ddl m Z m Z mZddlmZddlmZddlmZddlmZejd ej›�¦«ejd ej›�¦«Gd „d e¦«ZGd „de¦«...
30,908
Python
.py
59
522.813559
3,657
0.286062
wish2333/VideoExtractAndConcat
8
0
0
LGPL-2.1
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,463
ffmpegApi.cpython-311.pyc
wish2333_VideoExtractAndConcat/modules/__pycache__/ffmpegApi.cpython-311.pyc
§ »ÏIf+>ãóT—ddlZddlZddlZddlZddlZddlmZGd„d¦«ZdS)éN)ÚffpathcóÜ—eZdZejejddfd„Zdd„Zd„Zd„Z d„Z d „Z d „Z d „Z dd„Z dd„Z dd„Zd d„Z d!d„Z...
17,152
Python
.py
68
251.014706
1,242
0.322212
wish2333/VideoExtractAndConcat
8
0
0
LGPL-2.1
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,464
__init__.cpython-311.pyc
wish2333_VideoExtractAndConcat/modules/__pycache__/__init__.cpython-311.pyc
§ bV?fgãó&—ddlTddlTddlTddlZdS)é)Ú*N)ÚPySide6.QtCoreÚ PySide6.QtGuiÚPySide6.QtWidgetsÚos©óõEQ:\Git\FFmpeg-python\code-version-pre2.0-é‡�æ�„UI\modules\__init__.pyú<module>r s6ğØĞĞĞØĞĞĞØĞĞĞØ € € € € € r
313
Python
.py
2
155
309
0.483974
wish2333/VideoExtractAndConcat
8
0
0
LGPL-2.1
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,465
venco_Interface.cpython-311.pyc
wish2333_VideoExtractAndConcat/modules/__pycache__/venco_Interface.cpython-311.pyc
§ [@f¸Pãó<—ddlZddlZddlmZmZmZmZddlmZm Z m Z ddl m Z m Z mZddlmZddlmZddlmZddlmZejd ej›�¦«ejd ej›�¦«Gd „d e¦«ZGd „de¦«...
30,908
Python
.pyt
59
522.813559
3,657
0.286062
wish2333/VideoExtractAndConcat
8
0
0
LGPL-2.1
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,466
ffmpegApi.cpython-311.pyc
wish2333_VideoExtractAndConcat/modules/__pycache__/ffmpegApi.cpython-311.pyc
§ »ÏIf+>ãóT—ddlZddlZddlZddlZddlZddlmZGd„d¦«ZdS)éN)ÚffpathcóÜ—eZdZejejddfd„Zdd„Zd„Zd„Z d„Z d „Z d „Z d „Z dd„Z dd„Z dd„Zd d„Z d!d„Z...
17,152
Python
.pyt
68
251.014706
1,242
0.322212
wish2333/VideoExtractAndConcat
8
0
0
LGPL-2.1
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,467
__init__.cpython-311.pyc
wish2333_VideoExtractAndConcat/modules/__pycache__/__init__.cpython-311.pyc
§ bV?fgãó&—ddlTddlTddlTddlZdS)é)Ú*N)ÚPySide6.QtCoreÚ PySide6.QtGuiÚPySide6.QtWidgetsÚos©óõEQ:\Git\FFmpeg-python\code-version-pre2.0-é‡�æ�„UI\modules\__init__.pyú<module>r s6ğØĞĞĞØĞĞĞØĞĞĞØ € € € € € r
313
Python
.pyt
2
155
309
0.483974
wish2333/VideoExtractAndConcat
8
0
0
LGPL-2.1
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,468
reactive_menu.py
redtardis12_Sky-Keys-interactive/reactive_menu.py
import flet from flet import AppBar from flet import Card from flet import Column from flet import Container from flet import Icon from flet import IconButton from flet import NavigationRail from flet import NavigationRailDestination from flet import Page from flet import Row from flet import Stack from flet import Tex...
3,496
Python
.py
86
32.988372
91
0.666273
redtardis12/Sky-Keys-interactive
8
0
0
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,469
app.py
redtardis12_Sky-Keys-interactive/app.py
import os import shutil import flet as ft from flet import GridView, Container, NavigationRailDestination, Page, Text, IconButton, AppBar, colors, icons from reactive_menu import ResponsiveMenuLayout from music.automusic import mstart import multiprocessing def stop_hotkeys(): global music_proc if music_proc:...
5,595
Python
.py
144
27.972222
162
0.575297
redtardis12/Sky-Keys-interactive
8
0
0
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,470
automusic.py
redtardis12_Sky-Keys-interactive/music/automusic.py
import json import time import keyboard import pydirectinput import codecs import pygetwindow as gw import chardet def convert_to_utf8(input_file, output_file): """ Convert a JSON file from any encoding to UTF-8. Args: input_file (str): Path to the input JSON file. output_file (str): Path to t...
3,506
Python
.py
86
31.116279
138
0.598395
redtardis12/Sky-Keys-interactive
8
0
0
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,471
c2App.py
LiuYuancheng_Ninja_C2_Malware_Simulation_System/src/ninjaC2Hub/c2App.py
#!/usr/bin/python #----------------------------------------------------------------------------- # Name: c2App.py [python3] # # Purpose: This module is used as a malicious action program / malware command # and control emulator for red team to monitor & control all the linked # mal...
17,646
Python
.py
373
41.434316
125
0.569805
LiuYuancheng/Ninja_C2_Malware_Simulation_System
8
2
0
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,472
c2DataManager.py
LiuYuancheng_Ninja_C2_Malware_Simulation_System/src/ninjaC2Hub/c2DataManager.py
#----------------------------------------------------------------------------- # Name: c2DataManager.py # # Purpose: Data manager class used to manage all the linked program process # the data submitted from the malware. # # Author: Yuancheng Liu # # Version: v_0.2.2 # C...
8,982
Python
.py
190
36.105263
108
0.518316
LiuYuancheng/Ninja_C2_Malware_Simulation_System
8
2
0
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,473
c2HubGlobal.py
LiuYuancheng_Ninja_C2_Malware_Simulation_System/src/ninjaC2Hub/c2HubGlobal.py
#----------------------------------------------------------------------------- # Name: c2HubGlobal.py # # Purpose: This module is used as a local config file to set constants, # global parameters which will be used in the other modules. # # Author: Yuancheng Liu # # Created: ...
4,214
Python
.py
97
40.979381
119
0.637339
LiuYuancheng/Ninja_C2_Malware_Simulation_System
8
2
0
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,474
malwareTest02.py
LiuYuancheng_Ninja_C2_Malware_Simulation_System/src/testCases/malwareTest02.py
import os import time from datetime import datetime import c2Client dirpath = os.path.dirname(__file__) class malwareTest(object): def __init__(self) -> None: self.malwareID = 'falsedataInjector-0' c2Ipaddr = '127.0.0.1' malownIP = '192.168.50.12' self.c2Connector = c2Client.c2Cl...
2,457
Python
.py
67
24.776119
93
0.455882
LiuYuancheng/Ninja_C2_Malware_Simulation_System
8
2
0
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,475
c2AppAPITest.py
LiuYuancheng_Ninja_C2_Malware_Simulation_System/src/testCases/c2AppAPITest.py
#!/usr/bin/python #----------------------------------------------------------------------------- # Name: c2AppAPITest.py [python3] # # Purpose: This module is the test case program used to test all the C2API. # # Author: Yuancheng Liu # # Created: 2024/05/23 # version: v0.2.2 # Copyright: Co...
19,793
Python
.py
480
33.5
127
0.512038
LiuYuancheng/Ninja_C2_Malware_Simulation_System
8
2
0
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,476
malwareTest00.py
LiuYuancheng_Ninja_C2_Malware_Simulation_System/src/testCases/malwareTest00.py
import os import time from datetime import datetime import c2MwUtils import c2Client dirpath = os.path.dirname(__file__) class malwareTest(object): def __init__(self) -> None: self.malwareID = 'testMalware1' c2Ipaddr = '127.0.0.1' malownIP = '192.168.50.11' self.c2Connector = c2C...
2,656
Python
.py
73
24.506849
93
0.458609
LiuYuancheng/Ninja_C2_Malware_Simulation_System
8
2
0
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,477
malwareTest01.py
LiuYuancheng_Ninja_C2_Malware_Simulation_System/src/testCases/malwareTest01.py
import os import time from datetime import datetime import c2MwUtils import c2Client dirpath = os.path.dirname(__file__) class malwareTest(object): def __init__(self) -> None: self.malwareID = 'backdoorTrojan-0' c2Ipaddr = '127.0.0.1' malownIP = '192.168.50.13' self.c2Connector ...
2,616
Python
.py
71
24.873239
93
0.458958
LiuYuancheng/Ninja_C2_Malware_Simulation_System
8
2
0
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,478
tsharkUtils.py
LiuYuancheng_Ninja_C2_Malware_Simulation_System/src/lib/tsharkUtils.py
#----------------------------------------------------------------------------- # Name: tsharkUtils.py # # Purpose: This module is a untility module of the lib <python-pyshark> to # provide some extend traffic load and capturefunctions. The program # needs to work with the below li...
8,740
Python
.py
180
39.672222
117
0.545316
LiuYuancheng/Ninja_C2_Malware_Simulation_System
8
2
0
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,479
mouseEventActor.py
LiuYuancheng_Ninja_C2_Malware_Simulation_System/src/lib/mouseEventActor.py
#!/usr/bin/python #----------------------------------------------------------------------------- # Name: mouseEventActor.py # # Purpose: This module will provide function to record and playback user's # mouse action and use CV to detect the match area in the screen and # move mou...
9,571
Python
.py
209
37.15311
129
0.526028
LiuYuancheng/Ninja_C2_Malware_Simulation_System
8
2
0
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,480
c2MwUtils.py
LiuYuancheng_Ninja_C2_Malware_Simulation_System/src/lib/c2MwUtils.py
#----------------------------------------------------------------------------- # Name: c2MwUtils.py # # Purpose: This module is a utility function module used for the other # c2 server / client modules to store the malicious action emulation # program's data, it also provides a co...
20,439
Python
.py
428
36.535047
120
0.526292
LiuYuancheng/Ninja_C2_Malware_Simulation_System
8
2
0
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,481
ConfigLoader.py
LiuYuancheng_Ninja_C2_Malware_Simulation_System/src/lib/ConfigLoader.py
#!/usr/bin/python #----------------------------------------------------------------------------- # Name: ConfigLoader.py # # Purpose: This module will provide API to load the not stand text format # config file's data. The user can call different get__ method to # fetch the relate...
8,161
Python
.py
180
36.116667
110
0.512315
LiuYuancheng/Ninja_C2_Malware_Simulation_System
8
2
0
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,482
keyEventActors.py
LiuYuancheng_Ninja_C2_Malware_Simulation_System/src/lib/keyEventActors.py
#!/usr/bin/python #----------------------------------------------------------------------------- # Name: keyEventActor.py # # Purpose: This module will prvoide the computer keyboard actions handling # function such as key record, play back, simulate user type in. # Author: Yuancheng Liu # ...
9,547
Python
.py
225
32.928889
93
0.493872
LiuYuancheng/Ninja_C2_Malware_Simulation_System
8
2
0
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,483
c2Client.py
LiuYuancheng_Ninja_C2_Malware_Simulation_System/src/lib/c2Client.py
#!/usr/bin/python #----------------------------------------------------------------------------- # Name: c2Client.py [python3] # # Purpose: This module is the comm client running parallel with the malware # or the the malicious action emulation program's main thread to # communica...
23,303
Python
.py
473
38.458774
139
0.528751
LiuYuancheng/Ninja_C2_Malware_Simulation_System
8
2
0
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,484
__init__.py
LiuYuancheng_Ninja_C2_Malware_Simulation_System/src/lib/__init__.py
#!/usr/bin/python #----------------------------------------------------------------------------- # Name: __init__.py # # Purpose: The regular package init module to init the customer "lib". # # Author: Yuancheng Liu # # Created: 2014/01/15 # Copyright: Copyright (c) 2024 LiuYuancheng # License: ...
1,723
Python
.py
45
36.755556
92
0.704149
LiuYuancheng/Ninja_C2_Malware_Simulation_System
8
2
0
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,485
nmapUtils.py
LiuYuancheng_Ninja_C2_Malware_Simulation_System/src/lib/nmapUtils.py
#----------------------------------------------------------------------------- # Name: nmapUtils.py # # Purpose: This module is a untility module of the lib <python-nmap> to provide # some extend function. The module need netowork scan software Nmap to # be installed: https://nmap....
12,778
Python
.py
256
40.214844
119
0.522405
LiuYuancheng/Ninja_C2_Malware_Simulation_System
8
2
0
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,486
SCPconnector.py
LiuYuancheng_Ninja_C2_Malware_Simulation_System/src/lib/SCPconnector.py
#!/usr/bin/python #----------------------------------------------------------------------------- # Name: SCPconnector.py # # Purpose: This module will use SSHconnector and python-scp module to scp # upload/download file from the program running host to the dest # server (through a...
6,022
Python
.py
126
37.714286
146
0.551073
LiuYuancheng/Ninja_C2_Malware_Simulation_System
8
2
0
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,487
c2Constants.py
LiuYuancheng_Ninja_C2_Malware_Simulation_System/src/lib/c2Constants.py
#!/usr/bin/python #----------------------------------------------------------------------------- # Name: c2Constants.py [python3] # # Purpose: This module is used to define all the used constants in the c2 # malware project which used by <c2Client.py> and <c2MwUtiles.py> # modules. ...
2,491
Python
.py
46
52.652174
120
0.57675
LiuYuancheng/Ninja_C2_Malware_Simulation_System
8
2
0
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,488
SSHconnector.py
LiuYuancheng_Ninja_C2_Malware_Simulation_System/src/lib/SSHconnector.py
#!/usr/bin/python #----------------------------------------------------------------------------- # Name: SSHconnector.py # # Purpose: This module is used to create a ssh connector to provide nested # ssh tunnel connection through jumphosts with an editable tcp port. # (host with NA...
12,273
Python
.py
262
36.935115
118
0.527878
LiuYuancheng/Ninja_C2_Malware_Simulation_System
8
2
0
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,489
Log.py
LiuYuancheng_Ninja_C2_Malware_Simulation_System/src/lib/Log.py
#!/usr/bin/python #----------------------------------------------------------------------------- # Name: Log.py # # Purpose: This module is used to log the program execution information.( # info, warning, debug, error) # # Author: Yuancheng Liu # # Created: 2020/07/13 # Copyright: ...
13,352
Python
.py
288
39.503472
113
0.556621
LiuYuancheng/Ninja_C2_Malware_Simulation_System
8
2
0
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,490
c2MwUtilsTest.py
LiuYuancheng_Ninja_C2_Malware_Simulation_System/src/lib/c2MwUtilsTest.py
#----------------------------------------------------------------------------- # Name: c2MwUtilsTest.py # # Purpose: This module is one of the test case C2 backdoor Trojan program # (hook with the C2-client) example which inherited from <c2MwUtils> # module's <c2TestMalware> class...
3,235
Python
.py
71
38.859155
151
0.496515
LiuYuancheng/Ninja_C2_Malware_Simulation_System
8
2
0
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,491
agentGlobal.py
LiuYuancheng_Ninja_C2_Malware_Simulation_System/src/ninjaMwAgent/agentGlobal.py
#----------------------------------------------------------------------------- # Name: agentGlobal.py # # Purpose: This module is used as a local config file to set constants, # global parameters which will be used in the other modules. # # Author: Yuancheng Liu # # Created: ...
2,953
Python
.py
74
37.310811
118
0.611634
LiuYuancheng/Ninja_C2_Malware_Simulation_System
8
2
0
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,492
agentTrojan.py
LiuYuancheng_Ninja_C2_Malware_Simulation_System/src/ninjaMwAgent/agentTrojan.py
#----------------------------------------------------------------------------- # Name: agentTrojan.py # # Purpose: This spy trojan emulation malware is modified from the backdoor # trojan program <backdoorTrojan.py> by adding the network scanning # function, traffic eavesdropping, ...
12,402
Python
.py
263
36.958175
160
0.531382
LiuYuancheng/Ninja_C2_Malware_Simulation_System
8
2
0
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,493
extensions.py
FlatWhite233_yolov5_garbage_detect/yolov5_garbage_detect-backend/extensions.py
# extensions.py:解决循环引用的问题 from flask_sqlalchemy import SQLAlchemy from flask_mail import Mail db = SQLAlchemy() mail = Mail() # Windows下Flask报错提示 # UnicodeEncodeError: 'ascii' codec can't encode characters in position 52-55: ordinal not in range(128) # 解决方案:https://www.cnblogs.com/Flat-White/p/17261697.html
353
Python
.py
8
37.625
104
0.803987
FlatWhite233/yolov5_garbage_detect
8
1
0
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,494
config.py
FlatWhite233_yolov5_garbage_detect/yolov5_garbage_detect-backend/config.py
from datetime import timedelta # 可以随便写 越长越安全解密越慢 SECRET_KEY = 'Flat-White' # 访问令牌的过期时间为60分钟 JWT_ACCESS_TOKEN_EXPIRES = timedelta(minutes=60) # 刷新令牌的过期时间为30天 JWT_REFRESH_TOKEN_EXPIRES = timedelta(days=30) # 数据库配置 HOSTNAME = '127.0.0.1' PORT = 3306 USERNAME = 'root' PASSWORD = 'root' DATABASE = 'yolov5_garbage_detect'...
930
Python
.py
24
30.75
110
0.746612
FlatWhite233/yolov5_garbage_detect
8
1
0
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,495
export.py
FlatWhite233_yolov5_garbage_detect/yolov5_garbage_detect-backend/export.py
# YOLOv5 🚀 by Ultralytics, GPL-3.0 license """ Export a YOLOv5 PyTorch model to other formats. TensorFlow exports authored by https://github.com/zldrobit Format | `export.py --include` | Model --- | --- | --- PyTorch ...
30,582
Python
.py
531
47.195857
151
0.595975
FlatWhite233/yolov5_garbage_detect
8
1
0
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,496
val.py
FlatWhite233_yolov5_garbage_detect/yolov5_garbage_detect-backend/val.py
# YOLOv5 üöÄ by Ultralytics, GPL-3.0 license """ Validate a trained YOLOv5 model accuracy on a custom dataset Usage: $ python path/to/val.py --weights yolov5s.pt --data coco128.yaml --img 640 Usage - formats: $ python path/to/val.py --weights yolov5s.pt # PyTorch ...
19,685
Python
.py
348
46.295977
120
0.588055
FlatWhite233/yolov5_garbage_detect
8
1
0
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,497
database_models.py
FlatWhite233_yolov5_garbage_detect/yolov5_garbage_detect-backend/database_models.py
from extensions import db from datetime import datetime class UserModel(db.Model): __tablename__ = 'user' id = db.Column(db.Integer, primary_key=True, autoincrement=True, comment='用户id') username = db.Column(db.String(100), nullable=False, comment='用户名') password = db.Column(db.String(500), nullable=F...
5,662
Python
.py
95
50.568421
92
0.698229
FlatWhite233/yolov5_garbage_detect
8
1
0
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,498
app.py
FlatWhite233_yolov5_garbage_detect/yolov5_garbage_detect-backend/app.py
import sqlalchemy import config import argparse import os from flask import Flask, g, session from flask_migrate import Migrate from flask_jwt_extended import JWTManager from extensions import * from utils.backend_utils.colorprinter import * from utils.backend_utils.model_handler import load_model from database_mode...
4,084
Python
.py
98
33.530612
106
0.734508
FlatWhite233/yolov5_garbage_detect
8
1
0
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)
2,289,499
train.py
FlatWhite233_yolov5_garbage_detect/yolov5_garbage_detect-backend/train.py
# YOLOv5 🚀 by Ultralytics, GPL-3.0 license """ Train a YOLOv5 model on a custom dataset. Models and datasets download automatically from the latest YOLOv5 release. Models: https://github.com/ultralytics/yolov5/tree/master/models Datasets: https://github.com/ultralytics/yolov5/tree/master/data Tutorial: https://gith...
36,030
Python
.py
603
47.907131
170
0.565549
FlatWhite233/yolov5_garbage_detect
8
1
0
GPL-3.0
9/5/2024, 10:48:43 PM (Europe/Amsterdam)