python3 -mvenv /tmp/venv
. /tmp/venv/bin/activate
pip install pypykatz
pip install impacket
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
#!/bin/sh | |
# docker run -d --hostname clarisse --network none alpine tail -f /dev/null | |
CONTAINER=$1 | |
NETNS=$(basename `docker inspect $CONTAINER | jq -r ".[]|.NetworkSettings.SandboxKey"`) | |
HOSTNAME=$(docker inspect $CONTAINER | jq -r '.[]|.Config.Hostname') | |
ip link add indocker0 type veth peer name outdock0 | |
# ip link set dev indock0 address de:de:00:00:00:03 |
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
#!/bin/bash | |
./ykman fido reset | |
./ykman oath reset | |
./ykman openpgp reset | |
./ykman otp delete 1 | |
./ykman otp delete 2 | |
./ykman piv reset | |
./ykman piv access change-management-key -a AES256 -t -g |
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
# To Apple Video | |
ffmpeg -i <source> -c:v libx265 -crf 28 -tag:v hvc1 -c:a eac3 -b:a 224k <target> |
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 plotly.express as px | |
import pandas as pd | |
import geoip2.database | |
## https://www.maxmind.com/en/accounts/595343/geoip/downloads | |
reader=geoip2.database.Reader('GeoLite2-City.mmdb') | |
ip=["x.x.x.x" , | |
"x.x.x.x" , | |
"x.x.x.x" |
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
#!/bin/sh | |
function create_files() | |
{ | |
echo "initial.sh" | |
cat <<EOF > initial.sh | |
#!/bin/sh |
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 json | |
import pandas as pd | |
data = pd.read_csv('gophish_row.csv') | |
for a in data.iloc(): | |
if type(a.details) is str: |
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
#EXTM3U | |
#EXTINF:0 tvg-name="Newsmax TV" tvg-language="English" tvg-country="CA" tvg-id="Newsmax-TV" tvg-logo="https://i.imgur.com/Twkovic.gif" group-title="Entertainment",Newsmax TV | |
https://nmxlive.akamaized.net/hls/live/529965/Live_1/index.m3u8 | |
#EXTINF:0 tvg-logo="https://i.imgur.com/ODIWC6n.jpg" tvg-name="Infowars1" tvg-id="Infowars1" group-title="News",Infowars Live1 | |
https://infostream.secure.footprint.net/hls-live/infostream-infostream/_definst_/master.m3u8 | |
#EXTINF:0 tvg-logo="https://i.imgur.com/ODIWC6n.jpg" tvg-name="Infowars" tvg-id="Infowars" group-title="News",Infowars Live 2 | |
https://infowarslive-lh.akamaihd.net/i/infowarsevent_1@366809/master.m3u8 | |
#EXTINF:0 tvg-name="Russia today News" tvg-country="RU" tvg-language="English" tvg-logo="https://i.imgur.com/QY4B8Hg.png" group-title="News",RT News | |
https://rt-news-gd.secure2.footprint.net/1103.m3u8 | |
#EXTINF:0 tvg-name="Russia today USA" tvg-country="RU" tvg-language="English" tvg-logo="https://i.imgur.com/QY4B8Hg.png" group-title="News",RT USA |
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
cat list.txt | while read a | |
do | |
ldapwhoami -vvv -h 1... -D "[email protected]" -w '__PASSWORD__' | |
done |
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
#include "FastLED.h" | |
// FastLED "100-lines-of-code" demo reel, showing just a few | |
// of the kinds of animation patterns you can quickly and easily | |
// compose using FastLED. | |
// | |
// This example also shows one easy way to define multiple | |
// animations patterns and have them automatically rotate. | |
// | |
// -Mark Kriegsman, December 2014 |
NewerOlder