repo_full_name
stringlengths
6
93
repo_url
stringlengths
25
112
repo_api_url
stringclasses
28 values
owner
stringclasses
28 values
repo_name
stringclasses
28 values
description
stringclasses
28 values
stars
int64
617
98.8k
forks
int64
31
355
watchers
int64
990
999
license
stringclasses
2 values
default_branch
stringclasses
2 values
repo_created_at
timestamp[s]date
2012-07-24 23:12:50
2025-06-16 08:07:28
repo_updated_at
timestamp[s]date
2026-02-23 15:23:15
2026-05-03 18:52:12
repo_topics
listlengths
0
13
repo_languages
unknown
is_fork
bool
1 class
open_issues
int64
3
104
file_path
stringlengths
3
208
file_name
stringclasses
509 values
file_extension
stringclasses
1 value
file_size_bytes
int64
101
84k
file_url
stringclasses
627 values
file_raw_url
stringclasses
627 values
file_sha
stringclasses
624 values
language
stringclasses
8 values
parsed_at
stringdate
2026-05-04 01:12:36
2026-05-04 19:41:55
text
stringlengths
100
102k
Yuliang-Liu/Monkey
https://github.com/Yuliang-Liu/Monkey
null
null
null
null
1,950
null
null
mit
null
null
null
null
null
null
null
data_generation/grit/grit/modeling/backbone/vit.py
null
null
null
null
null
null
Python
2026-05-04T01:46:29.954407
# Modified by Jialian Wu from https://github.com/facebookresearch/detectron2/blob/main/detectron2/modeling/backbone/vit.py import logging import math import fvcore.nn.weight_init as weight_init import torch import torch.nn as nn from functools import partial from detectron2.layers import CNNBlockBase, Conv2d, get_norm...
Yuliang-Liu/Monkey
https://github.com/Yuliang-Liu/Monkey
null
null
null
null
1,950
null
null
mit
null
null
null
null
null
null
null
data_generation/grit/grit/modeling/backbone/utils.py
null
null
null
null
null
null
Python
2026-05-04T01:46:29.954913
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved # This code is from https://github.com/facebookresearch/detectron2/blob/main/detectron2/modeling/backbone/utils.py import math import torch import torch.nn as nn import torch.nn.functional as F __all__ = [ "window_partition", "window_unpart...
Yuliang-Liu/Monkey
https://github.com/Yuliang-Liu/Monkey
null
null
null
null
1,950
null
null
mit
null
null
null
null
null
null
null
data_generation/grit/grit/data/datasets/grit_coco.py
null
null
null
null
null
null
Python
2026-05-04T01:46:29.976514
import logging import os from fvcore.common.timer import Timer from detectron2.structures import BoxMode from fvcore.common.file_io import PathManager from detectron2.data import DatasetCatalog, MetadataCatalog from lvis import LVIS logger = logging.getLogger(__name__) __all__ = ["load_GRiTcoco_json", "register_GRiTc...
Yuliang-Liu/Monkey
https://github.com/Yuliang-Liu/Monkey
null
null
null
null
1,950
null
null
mit
null
null
null
null
null
null
null
data_generation/grit/grit/modeling/roi_heads/grit_fast_rcnn.py
null
null
null
null
null
null
Python
2026-05-04T01:46:30.019749
import torch from fvcore.nn import giou_loss, smooth_l1_loss from torch import nn from torch.nn import functional as F import fvcore.nn.weight_init as weight_init from detectron2.config import configurable from detectron2.layers import ShapeSpec, batched_nms, cat, cross_entropy, nonzero_tuple from detectron2.modeling.r...
Yuliang-Liu/Monkey
https://github.com/Yuliang-Liu/Monkey
null
null
null
null
1,950
null
null
mit
null
null
null
null
null
null
null
data_generation/grit/grit/data/datasets/object365.py
null
null
null
null
null
null
Python
2026-05-04T01:46:30.032294
import logging import os from fvcore.common.timer import Timer from detectron2.structures import BoxMode from fvcore.common.file_io import PathManager from detectron2.data import DatasetCatalog, MetadataCatalog from lvis import LVIS logger = logging.getLogger(__name__) __all__ = ["load_o365_json", "register_o365_inst...
Yuliang-Liu/Monkey
https://github.com/Yuliang-Liu/Monkey
null
null
null
null
1,950
null
null
mit
null
null
null
null
null
null
null
data_generation/grit/grit/modeling/meta_arch/grit.py
null
null
null
null
null
null
Python
2026-05-04T01:46:30.051856
from typing import Dict, List, Optional, Tuple import torch from detectron2.config import configurable from detectron2.structures import ImageList, Instances, Boxes from detectron2.modeling.meta_arch.build import META_ARCH_REGISTRY from detectron2.modeling.meta_arch.rcnn import GeneralizedRCNN from detectron2.structure...
Yuliang-Liu/Monkey
https://github.com/Yuliang-Liu/Monkey
null
null
null
null
1,950
null
null
mit
null
null
null
null
null
null
null
data_generation/grit/grit/data/transforms/custom_transform.py
null
null
null
null
null
null
Python
2026-05-04T01:46:30.066132
# -*- coding: utf-8 -*- # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved # Part of the code is from https://github.com/rwightman/efficientdet-pytorch/blob/master/effdet/data/transforms.py # Modified by Xingyi Zhou # The original code is under Apache-2.0 License import numpy as np import torch imp...
Yuliang-Liu/Monkey
https://github.com/Yuliang-Liu/Monkey
null
null
null
null
1,950
null
null
mit
null
null
null
null
null
null
null
data_generation/grit/grit/modeling/roi_heads/grit_roi_heads.py
null
null
null
null
null
null
Python
2026-05-04T01:46:30.536057
import math import torch from typing import Dict, List, Optional, Tuple, Union from detectron2.config import configurable from detectron2.structures import Boxes, Instances, pairwise_iou from detectron2.utils.events import get_event_storage from detectron2.modeling.box_regression import Box2BoxTransform from detectro...
Yuliang-Liu/Monkey
https://github.com/Yuliang-Liu/Monkey
null
null
null
null
1,950
null
null
mit
null
null
null
null
null
null
null
data_generation/grit/grit/modeling/text/load_text_token.py
null
null
null
null
null
null
Python
2026-05-04T01:46:30.577557
import torch class LoadTextTokens(object): def __init__(self, tokenizer, max_text_len=40, padding='do_not_pad'): self.tokenizer = tokenizer self.max_text_len = max_text_len self.padding = padding def descriptions_to_text_tokens(self, target, begin_token): target_encoding = sel...
Yuliang-Liu/Monkey
https://github.com/Yuliang-Liu/Monkey
null
null
null
null
1,950
null
null
mit
null
null
null
null
null
null
null
data_generation/grit/grit/modeling/text/modeling_bert.py
null
null
null
null
null
null
Python
2026-05-04T01:46:30.578125
from __future__ import absolute_import, division, print_function, unicode_literals import copy import os import json import logging import math import sys from io import open import torch from torch import nn import torch.utils.checkpoint as checkpoint from .file_utils import cached_path logger = logging.getLogger() ...
Yuliang-Liu/Monkey
https://github.com/Yuliang-Liu/Monkey
null
null
null
null
1,950
null
null
mit
null
null
null
null
null
null
null
data_generation/grit/grit/modeling/text/file_utils.py
null
null
null
null
null
null
Python
2026-05-04T01:46:30.593811
from __future__ import absolute_import, division, print_function, unicode_literals import sys import json import logging import os import shutil import tempfile import fnmatch from functools import wraps from hashlib import sha256 from io import open import boto3 import requests from botocore.exceptions import Client...
Yuliang-Liu/Monkey
https://github.com/Yuliang-Liu/Monkey
null
null
null
null
1,950
null
null
mit
null
null
null
null
null
null
null
data_generation/grit/grit/modeling/soft_nms.py
null
null
null
null
null
null
Python
2026-05-04T01:46:30.619537
import torch from detectron2.structures import Boxes, RotatedBoxes, pairwise_iou, pairwise_iou_rotated def soft_nms(boxes, scores, method, gaussian_sigma, linear_threshold, prune_threshold): """ Performs soft non-maximum suppression algorithm on axis aligned boxes Args: boxes (Tensor[N, 5]): ...
Yuliang-Liu/Monkey
https://github.com/Yuliang-Liu/Monkey
null
null
null
null
1,950
null
null
mit
null
null
null
null
null
null
null
data_generation/grit/grit/modeling/text/text_decoder.py
null
null
null
null
null
null
Python
2026-05-04T01:46:30.633702
from torch import nn import torch import functools from torch.nn import functional as F import warnings class TextualHead(nn.Module): def __init__(self, visual_feature_size: int, vocab_size: int, hidden_size: int): super().__init__() self.visual_feature_size = visual_feature_size ...
Yuliang-Liu/Monkey
https://github.com/Yuliang-Liu/Monkey
null
null
null
null
1,950
null
null
mit
null
null
null
null
null
null
null
data_generation/grit/third_party/CenterNet2/configs/COCO-Detection/fcos_R_50_FPN_1x.py
null
null
null
null
null
null
Python
2026-05-04T01:46:30.645609
from ..common.optim import SGD as optimizer from ..common.coco_schedule import lr_multiplier_1x as lr_multiplier from ..common.data.coco import dataloader from ..common.models.fcos import model from ..common.train import train dataloader.train.mapper.use_instance_mask = False optimizer.lr = 0.01 model.backbone.bottom...
Yuliang-Liu/Monkey
https://github.com/Yuliang-Liu/Monkey
null
null
null
null
1,950
null
null
mit
null
null
null
null
null
null
null
data_generation/grit/grit/predictor.py
null
null
null
null
null
null
Python
2026-05-04T01:46:30.647148
import torch from detectron2.engine.defaults import DefaultPredictor from detectron2.utils.visualizer import ColorMode, Visualizer class Visualizer_GRiT(Visualizer): def __init__(self, image, instance_mode=None): super().__init__(image, instance_mode=instance_mode) def draw_instance_predictions(self...
Yuliang-Liu/Monkey
https://github.com/Yuliang-Liu/Monkey
null
null
null
null
1,950
null
null
mit
null
null
null
null
null
null
null
data_generation/grit/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_50_C4_1x.py
null
null
null
null
null
null
Python
2026-05-04T01:46:30.648361
from ..common.train import train from ..common.optim import SGD as optimizer from ..common.coco_schedule import lr_multiplier_1x as lr_multiplier from ..common.data.coco import dataloader from ..common.models.mask_rcnn_c4 import model model.backbone.freeze_at = 2 train.init_checkpoint = "detectron2://ImageNetPretraine...
Yuliang-Liu/Monkey
https://github.com/Yuliang-Liu/Monkey
null
null
null
null
1,950
null
null
mit
null
null
null
null
null
null
null
data_generation/grit/third_party/CenterNet2/configs/COCO-Detection/retinanet_R_50_FPN_1x.py
null
null
null
null
null
null
Python
2026-05-04T01:46:30.667713
from ..common.optim import SGD as optimizer from ..common.coco_schedule import lr_multiplier_1x as lr_multiplier from ..common.data.coco import dataloader from ..common.models.retinanet import model from ..common.train import train dataloader.train.mapper.use_instance_mask = False model.backbone.bottom_up.freeze_at = ...
Yuliang-Liu/Monkey
https://github.com/Yuliang-Liu/Monkey
null
null
null
null
1,950
null
null
mit
null
null
null
null
null
null
null
data_generation/grit/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_regnetx_4gf_dds_fpn_1x.py
null
null
null
null
null
null
Python
2026-05-04T01:46:31.182364
from ..common.optim import SGD as optimizer from ..common.coco_schedule import lr_multiplier_1x as lr_multiplier from ..common.data.coco import dataloader from ..common.models.mask_rcnn_fpn import model from ..common.train import train from detectron2.config import LazyCall as L from detectron2.modeling.backbone impor...
Yuliang-Liu/Monkey
https://github.com/Yuliang-Liu/Monkey
null
null
null
null
1,950
null
null
mit
null
null
null
null
null
null
null
data_generation/grit/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_1x.py
null
null
null
null
null
null
Python
2026-05-04T01:46:31.188845
from ..common.optim import SGD as optimizer from ..common.coco_schedule import lr_multiplier_1x as lr_multiplier from ..common.data.coco import dataloader from ..common.models.mask_rcnn_fpn import model from ..common.train import train model.backbone.bottom_up.freeze_at = 2 train.init_checkpoint = "detectron2://ImageN...
Yuliang-Liu/Monkey
https://github.com/Yuliang-Liu/Monkey
null
null
null
null
1,950
null
null
mit
null
null
null
null
null
null
null
data_generation/grit/third_party/CenterNet2/configs/COCO-InstanceSegmentation/mask_rcnn_regnety_4gf_dds_fpn_1x.py
null
null
null
null
null
null
Python
2026-05-04T01:46:31.254406
from ..common.optim import SGD as optimizer from ..common.coco_schedule import lr_multiplier_1x as lr_multiplier from ..common.data.coco import dataloader from ..common.models.mask_rcnn_fpn import model from ..common.train import train from detectron2.config import LazyCall as L from detectron2.modeling.backbone impor...
Yuliang-Liu/Monkey
https://github.com/Yuliang-Liu/Monkey
null
null
null
null
1,950
null
null
mit
null
null
null
null
null
null
null
data_generation/grit/third_party/CenterNet2/configs/common/data/coco.py
null
null
null
null
null
null
Python
2026-05-04T01:46:31.272090
from omegaconf import OmegaConf import detectron2.data.transforms as T from detectron2.config import LazyCall as L from detectron2.data import ( DatasetMapper, build_detection_test_loader, build_detection_train_loader, get_detection_dataset_dicts, ) from detectron2.evaluation import COCOEvaluator data...
Yuliang-Liu/Monkey
https://github.com/Yuliang-Liu/Monkey
null
null
null
null
1,950
null
null
mit
null
null
null
null
null
null
null
data_generation/grit/third_party/CenterNet2/configs/COCO-Keypoints/keypoint_rcnn_R_50_FPN_1x.py
null
null
null
null
null
null
Python
2026-05-04T01:46:31.273686
from ..common.optim import SGD as optimizer from ..common.coco_schedule import lr_multiplier_1x as lr_multiplier from ..common.data.coco_keypoint import dataloader from ..common.models.keypoint_rcnn_fpn import model from ..common.train import train model.backbone.bottom_up.freeze_at = 2 train.init_checkpoint = "detect...
Yuliang-Liu/Monkey
https://github.com/Yuliang-Liu/Monkey
null
null
null
null
1,950
null
null
mit
null
null
null
null
null
null
null
data_generation/grit/third_party/CenterNet2/configs/Misc/torchvision_imagenet_R_50.py
null
null
null
null
null
null
Python
2026-05-04T01:46:31.279014
""" An example config file to train a ImageNet classifier with detectron2. Model and dataloader both come from torchvision. This shows how to use detectron2 as a general engine for any new models and tasks. To run, use the following command: python tools/lazyconfig_train_net.py --config-file configs/Misc/torchvision_...
Yuliang-Liu/Monkey
https://github.com/Yuliang-Liu/Monkey
null
null
null
null
1,950
null
null
mit
null
null
null
null
null
null
null
data_generation/grit/third_party/CenterNet2/configs/COCO-PanopticSegmentation/panoptic_fpn_R_50_1x.py
null
null
null
null
null
null
Python
2026-05-04T01:46:31.279549
from ..common.optim import SGD as optimizer from ..common.coco_schedule import lr_multiplier_1x as lr_multiplier from ..common.data.coco_panoptic_separated import dataloader from ..common.models.panoptic_fpn import model from ..common.train import train model.backbone.bottom_up.freeze_at = 2 train.init_checkpoint = "d...
Yuliang-Liu/Monkey
https://github.com/Yuliang-Liu/Monkey
null
null
null
null
1,950
null
null
mit
null
null
null
null
null
null
null
data_generation/grit/third_party/CenterNet2/configs/Misc/mmdet_mask_rcnn_R_50_FPN_1x.py
null
null
null
null
null
null
Python
2026-05-04T01:46:31.357182
# An example config to train a mmdetection model using detectron2. from ..common.data.coco import dataloader from ..common.coco_schedule import lr_multiplier_1x as lr_multiplier from ..common.optim import SGD as optimizer from ..common.train import train from detectron2.modeling.mmdet_wrapper import MMDetDetector fro...
Yuliang-Liu/Monkey
https://github.com/Yuliang-Liu/Monkey
null
null
null
null
1,950
null
null
mit
null
null
null
null
null
null
null
data_generation/grit/third_party/CenterNet2/configs/common/coco_schedule.py
null
null
null
null
null
null
Python
2026-05-04T01:46:31.358570
from fvcore.common.param_scheduler import MultiStepParamScheduler from detectron2.config import LazyCall as L from detectron2.solver import WarmupParamScheduler def default_X_scheduler(num_X): """ Returns the config for a default multi-step LR scheduler such as "1x", "3x", commonly referred to in papers,...
Yuliang-Liu/Monkey
https://github.com/Yuliang-Liu/Monkey
null
null
null
null
1,950
null
null
mit
null
null
null
null
null
null
null
data_generation/grit/third_party/CenterNet2/configs/common/data/coco_keypoint.py
null
null
null
null
null
null
Python
2026-05-04T01:46:31.367162
from detectron2.data.detection_utils import create_keypoint_hflip_indices from .coco import dataloader dataloader.train.dataset.min_keypoints = 1 dataloader.train.dataset.names = "keypoints_coco_2017_train" dataloader.test.dataset.names = "keypoints_coco_2017_val" dataloader.train.mapper.update( use_instance_mas...
Yuliang-Liu/Monkey
https://github.com/Yuliang-Liu/Monkey
null
null
null
null
1,950
null
null
mit
null
null
null
null
null
null
null
data_generation/grit/third_party/CenterNet2/configs/common/models/cascade_rcnn.py
null
null
null
null
null
null
Python
2026-05-04T01:46:31.829453
from detectron2.config import LazyCall as L from detectron2.layers import ShapeSpec from detectron2.modeling.box_regression import Box2BoxTransform from detectron2.modeling.matcher import Matcher from detectron2.modeling.roi_heads import FastRCNNOutputLayers, FastRCNNConvFCHead, CascadeROIHeads from .mask_rcnn_fpn imp...
Yuliang-Liu/Monkey
https://github.com/Yuliang-Liu/Monkey
null
null
null
null
1,950
null
null
mit
null
null
null
null
null
null
null
data_generation/grit/third_party/CenterNet2/configs/common/models/fcos.py
null
null
null
null
null
null
Python
2026-05-04T01:46:31.852560
from detectron2.modeling.meta_arch.fcos import FCOS, FCOSHead from .retinanet import model model._target_ = FCOS del model.anchor_generator del model.box2box_transform del model.anchor_matcher del model.input_format # Use P5 instead of C5 to compute P6/P7 # (Sec 2.2 of https://arxiv.org/abs/2006.09214) model.backbo...
Yuliang-Liu/Monkey
https://github.com/Yuliang-Liu/Monkey
null
null
null
null
1,950
null
null
mit
null
null
null
null
null
null
null
data_generation/grit/third_party/CenterNet2/configs/common/data/coco_panoptic_separated.py
null
null
null
null
null
null
Python
2026-05-04T01:46:31.853187
from detectron2.config import LazyCall as L from detectron2.evaluation import ( COCOEvaluator, COCOPanopticEvaluator, DatasetEvaluators, SemSegEvaluator, ) from .coco import dataloader dataloader.train.dataset.names = "coco_2017_train_panoptic_separated" dataloader.train.dataset.filter_empty = False d...
Yuliang-Liu/Monkey
https://github.com/Yuliang-Liu/Monkey
null
null
null
null
1,950
null
null
mit
null
null
null
null
null
null
null
data_generation/grit/third_party/CenterNet2/configs/common/models/keypoint_rcnn_fpn.py
null
null
null
null
null
null
Python
2026-05-04T01:46:31.897020
from detectron2.config import LazyCall as L from detectron2.layers import ShapeSpec from detectron2.modeling.poolers import ROIPooler from detectron2.modeling.roi_heads import KRCNNConvDeconvUpsampleHead from .mask_rcnn_fpn import model [model.roi_heads.pop(x) for x in ["mask_in_features", "mask_pooler", "mask_head"]...
Yuliang-Liu/Monkey
https://github.com/Yuliang-Liu/Monkey
null
null
null
null
1,950
null
null
mit
null
null
null
null
null
null
null
data_generation/grit/third_party/CenterNet2/configs/common/models/panoptic_fpn.py
null
null
null
null
null
null
Python
2026-05-04T01:46:31.920643
from detectron2.config import LazyCall as L from detectron2.layers import ShapeSpec from detectron2.modeling import PanopticFPN from detectron2.modeling.meta_arch.semantic_seg import SemSegFPNHead from .mask_rcnn_fpn import model model._target_ = PanopticFPN model.sem_seg_head = L(SemSegFPNHead)( input_shape={ ...
Yuliang-Liu/Monkey
https://github.com/Yuliang-Liu/Monkey
null
null
null
null
1,950
null
null
mit
null
null
null
null
null
null
null
data_generation/grit/third_party/CenterNet2/configs/common/optim.py
null
null
null
null
null
null
Python
2026-05-04T01:46:31.921392
import torch from detectron2.config import LazyCall as L from detectron2.solver.build import get_default_optimizer_params SGD = L(torch.optim.SGD)( params=L(get_default_optimizer_params)( # params.model is meant to be set to the model object, before instantiating # the optimizer. weight_de...
Yuliang-Liu/Monkey
https://github.com/Yuliang-Liu/Monkey
null
null
null
null
1,950
null
null
mit
null
null
null
null
null
null
null
data_generation/grit/third_party/CenterNet2/configs/common/models/retinanet.py
null
null
null
null
null
null
Python
2026-05-04T01:46:31.941949
# -*- coding: utf-8 -*- from detectron2.config import LazyCall as L from detectron2.layers import ShapeSpec from detectron2.modeling.meta_arch import RetinaNet from detectron2.modeling.anchor_generator import DefaultAnchorGenerator from detectron2.modeling.backbone.fpn import LastLevelP6P7 from detectron2.modeling.bac...
Yuliang-Liu/Monkey
https://github.com/Yuliang-Liu/Monkey
null
null
null
null
1,950
null
null
mit
null
null
null
null
null
null
null
data_generation/grit/third_party/CenterNet2/configs/common/models/mask_rcnn_fpn.py
null
null
null
null
null
null
Python
2026-05-04T01:46:31.956147
from detectron2.config import LazyCall as L from detectron2.layers import ShapeSpec from detectron2.modeling.meta_arch import GeneralizedRCNN from detectron2.modeling.anchor_generator import DefaultAnchorGenerator from detectron2.modeling.backbone.fpn import LastLevelMaxPool from detectron2.modeling.backbone import Bas...
Yuliang-Liu/Monkey
https://github.com/Yuliang-Liu/Monkey
null
null
null
null
1,950
null
null
mit
null
null
null
null
null
null
null
data_generation/grit/third_party/CenterNet2/configs/common/train.py
null
null
null
null
null
null
Python
2026-05-04T01:46:31.964912
# Common training-related configs that are designed for "tools/lazyconfig_train_net.py" # You can use your own instead, together with your own train_net.py train = dict( output_dir="./output", init_checkpoint="", max_iter=90000, amp=dict(enabled=False), # options for Automatic Mixed Precision ddp=d...
Yuliang-Liu/Monkey
https://github.com/Yuliang-Liu/Monkey
null
null
null
null
1,950
null
null
mit
null
null
null
null
null
null
null
data_generation/grit/third_party/CenterNet2/configs/common/models/mask_rcnn_c4.py
null
null
null
null
null
null
Python
2026-05-04T01:46:31.965824
from detectron2.config import LazyCall as L from detectron2.layers import ShapeSpec from detectron2.modeling.meta_arch import GeneralizedRCNN from detectron2.modeling.anchor_generator import DefaultAnchorGenerator from detectron2.modeling.backbone import BasicStem, BottleneckBlock, ResNet from detectron2.modeling.box_r...
bitbrute/evillimiter
https://github.com/bitbrute/evillimiter
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
evillimiter/console/io.py
null
null
null
null
null
null
Python
2026-05-04T01:46:34.377896
import re import colorama from . import shell class IO(object): _ANSI_CSI_RE = re.compile('\001?\033\\[((?:\\d|;)*)([a-zA-Z])\002?') Back = colorama.Back Fore = colorama.Fore Style = colorama.Style colorless = False @staticmethod def initialize(colorless=False): """ In...
bitbrute/evillimiter
https://github.com/bitbrute/evillimiter
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
evillimiter/evillimiter.py
null
null
null
null
null
null
Python
2026-05-04T01:46:34.379301
import re import os import os.path import argparse import platform import collections import pkg_resources import evillimiter.networking.utils as netutils from evillimiter.menus.main_menu import MainMenu from evillimiter.console.banner import get_main_banner from evillimiter.console.io import IO InitialArguments = c...
bitbrute/evillimiter
https://github.com/bitbrute/evillimiter
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
evillimiter/console/shell.py
null
null
null
null
null
null
Python
2026-05-04T01:46:34.389329
import os import subprocess from evillimiter.console.io import IO DEVNULL = open(os.devnull, 'w') def execute(command, root=True): return subprocess.call('sudo ' + command if root else command, shell=True) def execute_suppressed(command, root=True): return subprocess.call('sudo ' + command if root else com...
bitbrute/evillimiter
https://github.com/bitbrute/evillimiter
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
evillimiter/console/banner.py
null
null
null
null
null
null
Python
2026-05-04T01:46:34.390665
from .io import IO _MAIN_BANNER = r"""{} ███████╗██╗ ██╗██╗██╗ ██╗ ██╗███╗ ███╗██╗████████╗███████╗██████╗ ██╔════╝██║ ██║██║██║ ██║ ██║████╗ ████║██║╚══██╔══╝██╔════╝██╔══██╗ █████╗ ██║ ██║██║██║ ██║ ██║██╔████╔██║██║ ██║ █████╗ ██████╔╝ ██╔══╝ ╚██╗ ██╔╝██║██║ ██║ ...
bitbrute/evillimiter
https://github.com/bitbrute/evillimiter
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
evillimiter/__init__.py
null
null
null
null
null
null
Python
2026-05-04T01:46:34.395108
__version__ = '1.5.0' __description__ = 'Monitors, analyzes and limits the bandwidth of devices on the local network'
bitbrute/evillimiter
https://github.com/bitbrute/evillimiter
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
evillimiter/common/globals.py
null
null
null
null
null
null
Python
2026-05-04T01:46:34.395939
import evillimiter.console.shell as shell BROADCAST = 'ff:ff:ff:ff:ff:ff' BIN_TC = shell.locate_bin('tc') BIN_IPTABLES = shell.locate_bin('iptables') BIN_SYSCTL = shell.locate_bin('sysctl') IP_FORWARD_LOC = 'net.ipv4.ip_forward'
bitbrute/evillimiter
https://github.com/bitbrute/evillimiter
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
evillimiter/console/chart.py
null
null
null
null
null
null
Python
2026-05-04T01:46:34.425896
from evillimiter.console.io import IO class BarChart(object): def __init__(self, draw_char='▇', max_bar_length=30): self.draw_char = draw_char self.max_bar_length = max_bar_length self._data = [] def add_value(self, value, prefix, suffix=''): self._data.append({ 'valu...
bitbrute/evillimiter
https://github.com/bitbrute/evillimiter
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
evillimiter/menus/menu.py
null
null
null
null
null
null
Python
2026-05-04T01:46:34.980872
import enum import collections from .parser import CommandParser from evillimiter.console.io import IO class CommandMenu(object): def __init__(self): self.prompt = '>>> ' self.parser = CommandParser() self._active = False def argument_handler(self, args): """ Handles ...
bitbrute/evillimiter
https://github.com/bitbrute/evillimiter
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
evillimiter/menus/parser.py
null
null
null
null
null
null
Python
2026-05-04T01:46:35.002981
import enum import collections from evillimiter.console.io import IO class CommandParser(object): class CommandType(enum.Enum): PARAMETER_COMMAND = 1 FLAG_COMMAND = 2 PARAMETERIZED_FLAG_COMMAND = 3 FlagCommand = collections.namedtuple('FlagCommand', 'type, identifier, name') Para...
bitbrute/evillimiter
https://github.com/bitbrute/evillimiter
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
evillimiter/menus/main_menu.py
null
null
null
null
null
null
Python
2026-05-04T01:46:35.004617
import time import socket import curses import netaddr import threading import collections from terminaltables import SingleTable import evillimiter.networking.utils as netutils from .menu import CommandMenu from evillimiter.networking.utils import BitRate from evillimiter.console.io import IO from evillim...
bitbrute/evillimiter
https://github.com/bitbrute/evillimiter
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
evillimiter/networking/host.py
null
null
null
null
null
null
Python
2026-05-04T01:46:35.009801
from evillimiter.console.io import IO class Host(object): def __init__(self, ip, mac, name): self.ip = ip self.mac = mac self.name = name self.spoofed = False self.limited = False self.blocked = False self.watched = False def __eq__(self, other): ...
bitbrute/evillimiter
https://github.com/bitbrute/evillimiter
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
evillimiter/networking/monitor.py
null
null
null
null
null
null
Python
2026-05-04T01:46:35.010358
import time import threading from scapy.all import sniff, IP # pylint: disable=no-name-in-module from .utils import ValueConverter, BitRate, ByteValue class BandwidthMonitor(object): class BandwidthMonitorResult(object): def __init__(self): self.upload_rate = BitRate() ...
bitbrute/evillimiter
https://github.com/bitbrute/evillimiter
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
evillimiter/networking/limit.py
null
null
null
null
null
null
Python
2026-05-04T01:46:35.028769
import threading import evillimiter.console.shell as shell from .host import Host from evillimiter.common.globals import BIN_TC, BIN_IPTABLES class Limiter(object): class HostLimitIDs(object): def __init__(self, upload_id, download_id): self.upload_id = upload_id self.d...
bitbrute/evillimiter
https://github.com/bitbrute/evillimiter
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
evillimiter/networking/spoof.py
null
null
null
null
null
null
Python
2026-05-04T01:46:35.049702
import time import threading from scapy.all import ARP, send # pylint: disable=no-name-in-module from .host import Host from evillimiter.common.globals import BROADCAST class ARPSpoofer(object): def __init__(self, interface, gateway_ip, gateway_mac): self.interface = interface self.gateway_ip = g...
bitbrute/evillimiter
https://github.com/bitbrute/evillimiter
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
evillimiter/networking/scan.py
null
null
null
null
null
null
Python
2026-05-04T01:46:35.078261
import sys import socket from tqdm import tqdm from netaddr import IPAddress from scapy.all import sr1, ARP # pylint: disable=no-name-in-module from concurrent.futures import ThreadPoolExecutor from .host import Host from evillimiter.console.io import IO class HostScanner(object): def __init__(self, inte...
bitbrute/evillimiter
https://github.com/bitbrute/evillimiter
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
evillimiter/networking/utils.py
null
null
null
null
null
null
Python
2026-05-04T01:46:35.112186
import re import netifaces from scapy.all import ARP, sr1 # pylint: disable=no-name-in-module import evillimiter.console.shell as shell from evillimiter.common.globals import BIN_TC, BIN_IPTABLES, BIN_SYSCTL, IP_FORWARD_LOC def get_default_interface(): """ Returns the default IPv4 interface ""...
bitbrute/evillimiter
https://github.com/bitbrute/evillimiter
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
evillimiter/networking/watch.py
null
null
null
null
null
null
Python
2026-05-04T01:46:35.532876
import time import threading class HostWatcher(object): def __init__(self, host_scanner, reconnection_callback): self._scanner = host_scanner self._reconnection_callback = reconnection_callback self._hosts = set() self._hosts_lock = threading.Lock() self._interval = 45 ...
bitbrute/evillimiter
https://github.com/bitbrute/evillimiter
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
setup.py
null
null
null
null
null
null
Python
2026-05-04T01:46:35.611939
import os import re from setuptools import setup, find_packages, Command class CleanCommand(Command): user_options = [] def initialize_options(self): pass def finalize_options(self): pass def run(self): os.system('rm -vrf ./build ./dist ./*.pyc ./*.pyo ./*.pyd ./*.tgz ./*.e...
igrek51/wat
https://github.com/igrek51/wat
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
utils/insta/instaload.py
null
null
null
null
null
null
Python
2026-05-04T01:46:38.278775
import base64 import zlib from pathlib import Path from minify import minify_snippet, SRC_FILENAME OUT_INSTALOAD_FILENAME = 'utils/insta/instaload.txt' def encode_instaload(snippet: str) -> str: compressed: bytes = zlib.compress(snippet.encode()) b64: bytes = base64.b64encode(compressed) return b64.deco...
igrek51/wat
https://github.com/igrek51/wat
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
utils/demo/run-demo-inspect.py
null
null
null
null
null
null
Python
2026-05-04T01:46:38.281752
#!/usr/bin/env python3 from livekey import animate_commands commands = [ 'python', 'import wat', 'wat', 'wat / {7}', 'wat.short / (1,)', 'wat.s / {}', 'import re', 'wat / re', 'wat / re.match', 'wat.locals', ] if __name__ == '__main__': animate_commands(commands, key_dela...
igrek51/wat
https://github.com/igrek51/wat
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
tests/inspection/test_instaload.py
null
null
null
null
null
null
Python
2026-05-04T01:46:38.282816
import base64 import zlib from pathlib import Path from tests.asserts import assert_multiline_match, StdoutCap def test_load_instaload_snippet(): code = Path('utils/insta/instaload.txt').read_text() snippet = zlib.decompress(base64.b64decode(code)).decode() assert 'wat=Wat()' in snippet.splitlines() ...
igrek51/wat
https://github.com/igrek51/wat
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
utils/insta/grapheme_finder.py
null
null
null
null
null
null
Python
2026-05-04T01:46:38.284518
#!/usr/bin/env -S uv run --script # /// script # dependencies = [ # "grapheme", # ] # /// import grapheme excluded = { 0x0670, 0x0bc6, 0x0bca, 0x0cca, 0x09cb, 0x09cc, 0x036f, 0x0a70, 0x1a70, 0x0362, 0x0962, 0x0b62, 0x0c62, 0x0d62, 0x0e62, 0x1a62, 0x11362, 0x16f62, 0x1da62, 0x7f0, 0x7f1, 0x8f0, 0x1bf0...
igrek51/wat
https://github.com/igrek51/wat
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
utils/demo/livekey.py
null
null
null
null
null
null
Python
2026-05-04T01:46:38.285384
import random import time from nuclear import shell, logger def key_type(text, key_delay: float): text = text.replace('"', '\\"') for character in text: shell(f'xdotool key type "{character}"') time.sleep(key_delay * random.uniform(0.5, 1)) def key_enter(): shell('xdotool key Return') ...
igrek51/wat
https://github.com/igrek51/wat
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
tests/inspection/test_signature.py
null
null
null
null
null
null
Python
2026-05-04T01:46:38.286353
import inspect from typing import List, Optional, Any from tests.asserts import strip_ansi_colors from wat.inspection.inspection import _get_callable_signature def _assert_signature_str_equals(obj): signature = _get_callable_signature(obj.__name__, obj) prefix = strip_ansi_colors(signature).split('(')[0] ...
igrek51/wat
https://github.com/igrek51/wat
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
tests/asserts.py
null
null
null
null
null
null
Python
2026-05-04T01:46:38.287466
import re import sys from io import StringIO from typing import Optional import logging from nuclear.sublog import init_logs from nuclear.utils.strings import strip_ansi_colors class StdoutCap: def __init__(self): init_logs() logger = logging.getLogger('nuclear.sublog') logger.setLevel(lo...
igrek51/wat
https://github.com/igrek51/wat
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
tests/inspection/test_inspect.py
null
null
null
null
null
null
Python
2026-05-04T01:46:39.624054
from datetime import datetime from enum import Enum import math import os import re from typing import List from pydantic import BaseModel import wat from wat.inspection.inspection import inspect_format from tests.asserts import assert_multiline_match, strip_ansi_colors, StdoutCap def test_inspect_primitive_var(): ...
igrek51/wat
https://github.com/igrek51/wat
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
utils/insta/uncompressed_unicode_cluster.py
null
null
null
null
null
null
Python
2026-05-04T01:46:44.056370
from pathlib import Path from minify import minify_snippet, SRC_FILENAME OUT_RAW_CLUSTER_FILENAME = 'utils/insta/uncompressed_unicode_cluster.md' def save_raw_cluster() -> str: minified: str = minify_snippet(SRC_FILENAME) minified = minified.replace(' ', '\t') glyph: str = encode_glyph_bytes(minified...
igrek51/wat
https://github.com/igrek51/wat
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
utils/insta/regenerate.py
null
null
null
null
null
null
Python
2026-05-04T01:46:44.069179
from pathlib import Path from instaload import OUT_INSTALOAD_FILENAME, save_instaload from magic_glyph import OUT_GLYPH_FILENAME, save_glyph from uncompressed_unicode_cluster import OUT_RAW_CLUSTER_FILENAME, save_raw_cluster def _regenerate(src_filename: str, dst_filenames: list[str]): old_instaload: str = Path(...
igrek51/wat
https://github.com/igrek51/wat
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
wat/__init__.py
null
null
null
null
null
null
Python
2026-05-04T01:46:44.069642
import sys from .inspection.inspection import wat from .version import __version__ __all__ = [ 'wat', '__version__', ] sys.modules['wat'] = wat # type: ignore setattr(wat, '__version__', __version__)
igrek51/wat
https://github.com/igrek51/wat
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
utils/insta/minify.py
null
null
null
null
null
null
Python
2026-05-04T01:46:44.121774
import ast from pathlib import Path import re from typing import Iterable SRC_FILENAME = 'wat/inspection/inspection.py' def minify_snippet(filename: str) -> str: src_code: str = Path(filename).read_text() src_code = strip_type_hints(src_code) lines: Iterable[str] = src_code.splitlines() lines = (lin...
igrek51/wat
https://github.com/igrek51/wat
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
utils/insta/magic_glyph.py
null
null
null
null
null
null
Python
2026-05-04T01:46:44.147886
import zlib from pathlib import Path from minify import minify_snippet, SRC_FILENAME OUT_GLYPH_FILENAME = 'utils/insta/magic_glyph.md' def encode_glyph(snippet: str) -> str: compressed: bytes = zlib.compress(snippet.encode()) return encode_glyph_bytes(compressed) def save_glyph() -> str: minified = mi...
igrek51/wat
https://github.com/igrek51/wat
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
wat/inspection/inspection.py
null
null
null
null
null
null
Python
2026-05-04T01:46:44.213815
import inspect import os import re import sys from typing import Any, Dict, List, Optional, Type, Iterable, Union class InspectConfig: def __init__(self, short: bool, dunder: bool, nodocs: bool, long: bool, code: bool, caller: bool, private: bool): self.short: bool = short self.du...
mandiant/speakeasy
https://github.com/mandiant/speakeasy
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
examples/dbgview.py
null
null
null
null
null
null
Python
2026-05-04T01:46:47.652088
import argparse import speakeasy class DbgView(speakeasy.Speakeasy): """ Print debug port prints to the console """ def __init__(self, debug=False): super().__init__(debug=debug) def debug_print_hook(self, emu, api_name, func, params): # Call the DbgPrint* function and print the...
mandiant/speakeasy
https://github.com/mandiant/speakeasy
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
examples/usb_emu.py
null
null
null
null
null
null
Python
2026-05-04T01:46:47.653653
import argparse import speakeasy import speakeasy.winenv.defs.nt.ddk as ddk import speakeasy.winenv.defs.nt.ntoskrnl as ntos import speakeasy.winenv.defs.registry.reg as reg import speakeasy.winenv.defs.usb as usbdefs import speakeasy.winenv.defs.wdf as wdf IOCTL_IS_SUPER_SPEED_SUPPORTED = 0x49104B class UsbEmu(spe...
mandiant/speakeasy
https://github.com/mandiant/speakeasy
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
examples/emu_exe.py
null
null
null
null
null
null
Python
2026-05-04T01:46:47.659992
import argparse import logging import speakeasy logger = logging.getLogger(__name__) def hook_ntreadfile(emu, api_name, func, params): """ API hook that is installed to intercept MessageBox calls as an example Args: api_name: The full name including module of the hooked API func: the rea...
mandiant/speakeasy
https://github.com/mandiant/speakeasy
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
speakeasy/artifacts.py
null
null
null
null
null
null
Python
2026-05-04T01:46:47.664356
import hashlib import zlib from base64 import b64decode, b64encode from speakeasy.report import DataArtifact MAX_EMBEDDED_FILE_SIZE = 10 * 1024 * 1024 class ArtifactStore: def __init__(self): self._artifacts: dict[str, DataArtifact] = {} def put_bytes(self, data: bytes) -> str: digest = has...
mandiant/speakeasy
https://github.com/mandiant/speakeasy
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
examples/upx_unpack.py
null
null
null
null
null
null
Python
2026-05-04T01:46:47.670273
import argparse import speakeasy class UpxUnpacker(speakeasy.Speakeasy): """ Generic UPX unpacker class """ def __init__(self, output_path, debug=False): super().__init__(debug=debug) self.output_path = output_path self.base_addr = 0 def set_dump_range(self, base, start,...
mandiant/speakeasy
https://github.com/mandiant/speakeasy
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
examples/emu_dll.py
null
null
null
null
null
null
Python
2026-05-04T01:46:47.675277
import argparse import logging import speakeasy logger = logging.getLogger(__name__) def hook_messagebox(emu, api_name, func, params): """ API hook that is installed to intercept MessageBox calls as an example Args: api_name: The full name including module of the hooked API func: the rea...
mandiant/speakeasy
https://github.com/mandiant/speakeasy
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
speakeasy/cli.py
null
null
null
null
null
null
Python
2026-05-04T01:46:47.680510
# Copyright (C) 2020 FireEye, Inc. All Rights Reserved. import argparse import json import logging import multiprocessing as mp import os import shlex import time from rich.console import Console from rich.logging import RichHandler import speakeasy.winenv.arch as e_arch from speakeasy import Speakeasy from speakeas...
mandiant/speakeasy
https://github.com/mandiant/speakeasy
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
speakeasy/__init__.py
null
null
null
null
null
null
Python
2026-05-04T01:46:47.683232
# flake8: noqa # Copyright (C) 2020 FireEye, Inc. All Rights Reserved. # Import relevant classes for easy access from speakeasy.windows.common import _PeParser from speakeasy.windows.win32 import Win32Emulator from speakeasy.windows.kernel import WinKernelEmulator from speakeasy.speakeasy import Speakeasy import spe...
mandiant/speakeasy
https://github.com/mandiant/speakeasy
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
speakeasy/binemu.py
null
null
null
null
null
null
Python
2026-05-04T01:46:47.684424
# Copyright (C) 2020 FireEye, Inc. All Rights Reserved. import fnmatch import logging import re import traceback from abc import ABC, abstractmethod from typing import Any import speakeasy.common as common import speakeasy.version as version import speakeasy.winenv.arch as e_arch from speakeasy.config import Speakeas...
mandiant/speakeasy
https://github.com/mandiant/speakeasy
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
speakeasy/common.py
null
null
null
null
null
null
Python
2026-05-04T01:46:48.218446
# Copyright (C) 2020 FireEye, Inc. All Rights Reserved. import os # Emulation hook types HOOK_CODE = 1000 HOOK_MEM_INVALID = 1001 HOOK_MEM_PERM_EXEC = 1002 HOOK_MEM_READ = 1003 HOOK_MEM_WRITE = 1004 HOOK_INTERRUPT = 1005 HOOK_MEM_ACCESS = 1006 HOOK_MEM_PERM_WRITE = 1007 HOOK_API = 1008 HOOK_DYN_CODE = 1009 HOOK_INSN ...
mandiant/speakeasy
https://github.com/mandiant/speakeasy
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
speakeasy/cli_config.py
null
null
null
null
null
null
Python
2026-05-04T01:46:48.238175
from __future__ import annotations import argparse import copy import json import types from collections.abc import Iterator from dataclasses import dataclass from typing import Annotated, Any, Literal, Union, get_args, get_origin from pydantic import BaseModel from pydantic.fields import PydanticUndefined from spea...
mandiant/speakeasy
https://github.com/mandiant/speakeasy
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
speakeasy/config.py
null
null
null
null
null
null
Python
2026-05-04T01:46:48.273548
from __future__ import annotations import copy from typing import Annotated, Any, Literal from pydantic import BaseModel, ConfigDict, Field, field_validator, model_validator DEFAULT_CONFIG_DATA = { "config_version": 0.2, "description": "Default emulation profile to use when not overridden by user", "emu_...
mandiant/speakeasy
https://github.com/mandiant/speakeasy
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
speakeasy/profiler.py
null
null
null
null
null
null
Python
2026-05-04T01:46:48.303726
# Copyright (C) 2020 FireEye, Inc. All Rights Reserved. # Data format versioning __report_version__ = "3.0.0" import hashlib import time from collections import deque from typing import Any from speakeasy.artifacts import MAX_EMBEDDED_FILE_SIZE, ArtifactStore from speakeasy.profiler_events import ( FILE_CREATE, ...
mandiant/speakeasy
https://github.com/mandiant/speakeasy
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
speakeasy/profiler_events.py
null
null
null
null
null
null
Python
2026-05-04T01:46:48.305093
from typing import Annotated, Literal from pydantic import BaseModel, Discriminator, Field # process events PROC_CREATE = "process_create" MEM_ALLOC = "mem_alloc" MEM_WRITE = "mem_write" MEM_READ = "mem_read" MEM_PROTECT = "mem_protect" MEM_FREE = "mem_free" MODULE_LOAD = "module_load" THREAD_INJECT = "thread_inject"...
mandiant/speakeasy
https://github.com/mandiant/speakeasy
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
speakeasy/engines/unicorn_eng.py
null
null
null
null
null
null
Python
2026-05-04T01:46:48.309200
# Copyright (C) 2020 FireEye, Inc. All Rights Reserved. # Unicorn specific wrappers and abstraction implemented here import ctypes as ct import platform import unicorn as uc import unicorn.x86_const as u from unicorn.unicorn_py3.arch.types import uc_hook_h from unicorn.unicorn_py3.unicorn import ( HOOK_CODE_CFUN...
mandiant/speakeasy
https://github.com/mandiant/speakeasy
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
speakeasy/errors.py
null
null
null
null
null
null
Python
2026-05-04T01:46:48.312862
# Copyright (C) 2020 FireEye, Inc. All Rights Reserved. class SpeakeasyError(Exception): """ Base class for Speakeasy errors """ pass class NotSupportedError(SpeakeasyError): """ Sample is not currently supported """ pass class ApiEmuError(SpeakeasyError): """ Base class ...
mandiant/speakeasy
https://github.com/mandiant/speakeasy
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
speakeasy/memmgr.py
null
null
null
null
null
null
Python
2026-05-04T01:46:48.317797
# Copyright (C) 2020 FireEye, Inc. All Rights Reserved. from __future__ import annotations from itertools import groupby from operator import itemgetter from typing import TYPE_CHECKING, Any import speakeasy.common as common if TYPE_CHECKING: from speakeasy.engines.unicorn_eng import EmuEngine class MemMap: ...
mandiant/speakeasy
https://github.com/mandiant/speakeasy
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
speakeasy/report.py
null
null
null
null
null
null
Python
2026-05-04T01:46:48.326748
from base64 import b64encode from typing import Annotated, Any from pydantic import BaseModel, BeforeValidator, ConfigDict, Field, PlainSerializer from speakeasy.profiler_events import AnyEvent def hex_serializer(v: int | None) -> str | None: """Serialize integer values as ``0x``-prefixed hexadecimal strings. ...
mandiant/speakeasy
https://github.com/mandiant/speakeasy
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
speakeasy/speakeasy.py
null
null
null
null
null
null
Python
2026-05-04T01:46:48.811163
# Copyright (C) 2020 FireEye, Inc. All Rights Reserved. import logging import ntpath import os import zipfile from collections.abc import Callable from io import BytesIO from pathlib import Path, PureWindowsPath from pefile import MACHINE_TYPE from pydantic import ValidationError from speakeasy import Win32Emulator,...
mandiant/speakeasy
https://github.com/mandiant/speakeasy
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
speakeasy/struct.py
null
null
null
null
null
null
Python
2026-05-04T01:46:48.857874
# Copyright (C) 2020 FireEye, Inc. All Rights Reserved. import ctypes as ct from collections import OrderedDict from collections.abc import MutableMapping from ctypes import * # noqa from typing import Any class EmuStructException(Exception): """ Container class for struct exceptions """ pass cla...
mandiant/speakeasy
https://github.com/mandiant/speakeasy
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
speakeasy/windows/com.py
null
null
null
null
null
null
Python
2026-05-04T01:46:48.913077
# Copyright (C) 2020 FireEye, Inc. All Rights Reserved. import ctypes import speakeasy.winenv.api.usermode.com_api as com_api import speakeasy.winenv.defs.windows.com as comdefs from speakeasy.errors import Win32EmuError class COM: """ The Component Object Model (COM) manager for the emulator. This will man...
mandiant/speakeasy
https://github.com/mandiant/speakeasy
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
speakeasy/volumes.py
null
null
null
null
null
null
Python
2026-05-04T01:46:48.932836
"""Docker-style --volume support for mounting host files into the emulated filesystem.""" from __future__ import annotations from pathlib import Path, PureWindowsPath def parse_volume_spec(spec: str) -> tuple[Path, PureWindowsPath]: """Parse a ``host_path:guest_path`` volume specification. Handles Windows ...
mandiant/speakeasy
https://github.com/mandiant/speakeasy
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
speakeasy/windows/common.py
null
null
null
null
null
null
Python
2026-05-04T01:46:48.941047
# Copyright (C) 2020 FireEye, Inc. All Rights Reserved. import hashlib import os from collections import namedtuple from enum import IntFlag import pefile import speakeasy.winenv.arch as _arch import speakeasy.winenv.defs.nt.ddk as ddk from speakeasy.struct import Enum # GDT Constants needed to set our emulator int...
mandiant/speakeasy
https://github.com/mandiant/speakeasy
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
speakeasy/windows/cryptman.py
null
null
null
null
null
null
Python
2026-05-04T01:46:48.947914
# Copyright (C) 2020 FireEye, Inc. All Rights Reserved. class CryptKey: def __init__(self, blob_type, blob, blob_len, hnd_import_key, param_list, flags): self.blob_type = blob_type self.blob = blob self.blob_len = blob_len self.import_key = hnd_import_key self.param_list = ...
mandiant/speakeasy
https://github.com/mandiant/speakeasy
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
speakeasy/windows/driveman.py
null
null
null
null
null
null
Python
2026-05-04T01:46:48.961179
# Copyright (C) 2020 FireEye, Inc. All Rights Reserved. import speakeasy.winenv.defs.windows.kernel32 as k32defs class DriveManager: """ Manages the emulation of Windows drives. Currently assumes one volume per drive. """ def __init__(self, config: list | None = None): super().__init__() ...
mandiant/speakeasy
https://github.com/mandiant/speakeasy
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
speakeasy/windows/fileman.py
null
null
null
null
null
null
Python
2026-05-04T01:46:48.962481
# Copyright (C) 2020 FireEye, Inc. All Rights Reserved. import fnmatch import hashlib import io import logging import ntpath import os import shlex from typing import Any import speakeasy.winenv.arch as _arch import speakeasy.winenv.defs.windows.windows as windefs from speakeasy.errors import FileSystemEmuError logg...
mandiant/speakeasy
https://github.com/mandiant/speakeasy
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
speakeasy/windows/hammer.py
null
null
null
null
null
null
Python
2026-05-04T01:46:49.673218
# Copyright (C) 2020 FireEye, Inc. All Rights Reserved. import collections import logging import speakeasy.winenv.arch as e_arch logger = logging.getLogger(__name__) # When disassembling, a minimum instruction size needs to be supplied # This number is arbitrary and just needs to be large enough to cover # the siz...
mandiant/speakeasy
https://github.com/mandiant/speakeasy
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
speakeasy/windows/kernel_mods/__init__.py
null
null
null
null
null
null
Python
2026-05-04T01:46:49.881738
# Copyright (C) 2020 FireEye, Inc. All Rights Reserved. __all__ = ["volmgr"] # noqa from . import * # noqa def _get_kmods(): def imports(): import types for name, val in globals().items(): if isinstance(val, types.ModuleType): yield val kmods = [] imps = l...
mandiant/speakeasy
https://github.com/mandiant/speakeasy
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
speakeasy/windows/kernel_mods/kernel_mod.py
null
null
null
null
null
null
Python
2026-05-04T01:46:49.884635
# Copyright (C) 2020 FireEye, Inc. All Rights Reserved. class KernelModule: def __init__(self): self.name = "" def get_mod_name(self): return self.name.lower() def ioctl(self, arch, code, inbuf): raise NotImplementedError
mandiant/speakeasy
https://github.com/mandiant/speakeasy
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
speakeasy/windows/kernel.py
null
null
null
null
null
null
Python
2026-05-04T01:46:49.886448
# Copyright (C) 2020 FireEye, Inc. All Rights Reserved. import hashlib import ntpath import os import speakeasy.windows.objman as objman import speakeasy.winenv.arch as _arch import speakeasy.winenv.defs.nt.ddk as ddk import speakeasy.winenv.defs.nt.ntoskrnl as ntos import speakeasy.winenv.defs.registry.reg as regdef...
mandiant/speakeasy
https://github.com/mandiant/speakeasy
null
null
null
null
1,948
null
null
mit
null
null
null
null
null
null
null
speakeasy/windows/kernel_mods/volmgr.py
null
null
null
null
null
null
Python
2026-05-04T01:46:49.887749
# Copyright (C) 2020 FireEye, Inc. All Rights Reserved. import ctypes as ct import speakeasy.winenv.defs.nt.ddk as ddk from speakeasy.struct import EmuStruct from . import kernel_mod as km class DISK_EXTENT(EmuStruct): def __init__(self, ptr_size): super().__init__(ptr_size) self.DiskNumber = c...