This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Rulz.py | |
# Author: Nick Landers (@monoxgas) - Silent Break Security | |
import os | |
import sys | |
import argparse | |
import re | |
import binascii | |
import codecs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
import re | |
import zipfile | |
import argparse | |
from urllib.parse import urlparse | |
from colorama import Fore | |
from colorama import Style | |
from colorama import init |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
import re | |
import zipfile | |
import argparse | |
from urllib.parse import urlparse | |
from colorama import Fore, Style, init | |
init() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import csv | |
import requests | |
import argparse | |
from bs4 import BeautifulSoup | |
from colorama import Fore, Style, init | |
init(autoreset=True) | |
known_security_vendors = [ | |
'symantec', 'mcafee', 'trendmicro', 'kaspersky', 'bitdefender', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Original script and research by commial | |
### https://github.com/commial/experiments/tree/master/windows-defender | |
### Set LUADec_Path to binary | |
### https://github.com/viruscamp/luadec | |
import struct | |
import argparse | |
import sys | |
import os | |
import io | |
import subprocess |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ page import="java.io.IOException, java.nio.file.*, java.nio.file.attribute.BasicFileAttributes, java.nio.file.attribute.FileTime" %> | |
<html> | |
<head> | |
<title>File Move Stomp</title> | |
</head> | |
<body> | |
<h1>File Move Example</h1> | |
<form method="post"> | |
<label for="inputFile">Input File Path:</label> | |
<input type="text" name="inputFile" id="inputFile" required><br> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#https://twitter.com/banthisguy9349/status/1745039649750360459 | |
import argparse | |
import base64 | |
import codecs | |
from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes | |
from cryptography.hazmat.backends import default_backend | |
from os import urandom | |
import urllib.request | |
import hashlib | |
import re |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# https://trufflesecurity.com/blog/canaries | |
import argparse | |
import base64 | |
import binascii | |
import csv | |
parser = argparse.ArgumentParser(description='Process AWS Key ID(s) to AWS Account ID(s)') | |
parser.add_argument('-k', '--keyid', type=str, help='Single AWS Key ID to process') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import argparse | |
import zipfile | |
import os | |
import re | |
def modify_all_files_in_zip(zip_path, search_pattern, replace_with): | |
temp_dir = 'temp_unzip' | |
os.makedirs(temp_dir, exist_ok=True) | |
with zipfile.ZipFile(zip_path, 'r') as zip_ref: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import argparse | |
import random | |
import re | |
import requests | |
import string | |
import socket | |
import xml.etree.ElementTree as ET | |
def generate_random_username(min_length=7, max_length=16): | |
length = random.randint(min_length, max_length) |
OlderNewer