This file contains 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
echo "Waiting 10 seconds for PIA portforward to finalize..." | |
sleep 10 | |
export PIA_FORWARD="$(cat /pia-shared/port.dat)" | |
echo "----- ATTEMPTING QBIT PORT FORWARD (port $PIA_FORWARD) -----" | |
curl -i -s -X POST \ | |
--header 'Referer: http://localhost:8080' \ | |
--data 'json={"listen_port":'$PIA_FORWARD'}' http://localhost:8080/api/v2/app/setPreferences |
This file contains 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.4" | |
services: | |
pihole: | |
container_name: pihole | |
image: pihole/pihole:latest | |
ports: | |
- "53:53/tcp" | |
- "53:53/udp" | |
- "80:80/tcp" |
This file contains 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.4' | |
services: | |
web: | |
image: nginx:stable-alpine | |
container_name: dgg-nginx | |
ports: | |
- "8080:8080" | |
volumes: | |
- ./website:/www/www.destiny.gg/ | |
- ./docker/config/nginx/dgg.conf:/etc/nginx/conf.d/dgg.conf:ro |
This file contains 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
FROM php:7.4-fpm as base | |
WORKDIR /www/www.destiny.gg | |
RUN apt-get update && apt-get install -y \ | |
zip \ | |
git \ | |
cron | |
RUN docker-php-ext-install pdo_mysql |
This file contains 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
#USAGE: ./gophish.ps1 "AD_Group_Name" | |
param([string]$Group) | |
#check to make sure the group exists | |
Try | |
{ | |
$AD = Get-ADGroupMember -Identity $Group -Recursive | |
} | |
Catch | |
{ |
This file contains 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 requests | |
import time | |
GUILD = "265256381437706240" | |
discordHeaders = {'Authorization':'Bot xxx'} | |
req = requests.get("https://discordapp.com/api/v6/guilds/"+GUILD+"/bans", headers=discordHeaders) | |
bans = req.json() | |
for user in bans: |
This file contains 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 requests | |
GUILD = "265256381437706240" | |
discordHeaders = {'Authorization':''} | |
req = requests.get("https://discordapp.com/api/v6/guilds/"+GUILD+"/emojis", headers=discordHeaders) | |
memes = req.json() | |
for meme in memes: |
This file contains 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
from mcstatus import MinecraftServer #pip install mcstatus https://github.com/Dinnerbone/mcstatus | |
from subprocess import call | |
from datetime import datetime | |
import requests, time, os, glob, sys | |
discordWebhookPrivate = "https://ptb.discordapp.com/api/webhooks/" #private channel, should be for admins only | |
discordWebhookPublic = "https://ptb.discordapp.com/api/webhooks/" #public game channel | |
forgeInstance = "localhost:25565" #forge instance name:port | |
forgeDirectory = "/minecraft/forge/" #forge folder | |
LASTCRASH = None |
This file contains 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 threading | |
import tornado.httpserver | |
import tornado.websocket | |
import tornado.ioloop | |
import tornado.web | |
import json | |
import socket | |
#dem variables | |
numClients = 0 |
NewerOlder