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
sudo firewall-cmd --zone=public --add-rich-rule='rule family="ipv4" source address="189.84.36.0/24" drop' --permanent | |
sudo firewall-cmd --zone=public --add-rich-rule='rule family="ipv4" source address="189.84.37.0/24" drop' --permanent | |
sudo firewall-cmd --zone=public --add-rich-rule='rule family="ipv4" source address="189.84.38.0/24" drop' --permanent | |
sudo firewall-cmd --zone=public --add-rich-rule='rule family="ipv4" source address="189.84.39.0/24" drop' --permanent | |
sudo firewall-cmd --zone=public --add-rich-rule='rule family="ipv4" source address="200.229.54.0/24" drop' --permanent | |
sudo firewall-cmd --zone=public --add-rich-rule='rule family="ipv4" source address="218.0.0.0/8" drop' --permanent | |
sudo firewall-cmd --zone=public --add-rich-rule='rule family="ipv4" source address="177.0.0.0/8" drop' --permanent | |
sudo firewall-cmd --zone=public --add-rich-rule='rule family="ipv4" source address="201.0.0.0/8" drop' --permanent | |
sudo firewall-cmd --zone=public --add-rich-rule='rule family="ipv4" source address="40.8 |
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
version: "3.3" | |
#To run use: podman-compose --env-file=default.env | |
#File default.env is: | |
# ROOT_PASSWORD=<password> | |
# GITLAB_SSH=2222 | |
# GITLAB_SSH=<password> | |
# ACME_EMAIL=<username>@gmail.com | |
# EXT_HOSTNAME=<hostname> | |
# SMTP_EMAIL=<username>@gmail.com |
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 bash | |
# crontab -e | |
# 0 0 * * * LOCATION_OF_SCRIPT | |
TLS_DIR='./' # Set to certificate dir IE: /etc/ssl /etc/nginx/ssl | |
ALIAS='gitlab' | |
DOMAIN='botum.us' | |
KEY="${TLS_DIR}${ALIAS}.${DOMAIN}.key" | |
CERT="${TLS_DIR}${ALIAS}.${DOMAIN}.crt" | |
COUNTRY='US' | |
STATE='New Mexico' |
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
#Basic setup for my container registry, minio, and openVPN. Keep and SSL updates | |
DOMAIN_NAME=example.com | |
USER=myuser | |
sudo mkdir -p /opt/registry/data | |
sudo mkdir -p /opt/registry/web | |
sudo mkdir -p /opt/registry/web/certbot/conf | |
sudo mkdir -p /opt/registry/web/certbot/www | |
sudo mkdir -p /opt/registry/setup | |
sudo mkdir -p /opt/registry/auth |
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 React, { useEffect, useRef } from 'react'; | |
import ReactDOM from 'react-dom'; | |
import { EventEmitter } from 'events'; | |
import { Terminal } from 'xterm'; | |
import { render } from 'ink'; | |
/// <reference types="node" /> | |
import 'xterm/css/xterm.css'; | |
// this spins up Xterm.js, initializes Ink inside it and sets up |
With kerbrute.py:
python kerbrute.py -domain <domain_name> -users <users_file> -passwords <passwords_file> -outputfile <output_file>
With Rubeus version with brute module: