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 nimib | |
import nimiSlides | |
const THEME = Black | |
#themes: Black, Beige, Blood, League, Moon, Night, Serif, Simple, Sky, Solarized, White | |
nbInit(theme = revealTheme) | |
export nb |
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 nimib | |
nbInitMd | |
nbCode: | |
let test = "hello world" | |
nb.filename = "test.md" | |
nbSave |
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
blueprint: | |
name: Nagging Alerting Notification Automation | |
description: > | |
Trigger an alert based on the state of a given sensor. | |
The Alert is send to a mobile app device and repeats as long as the sensor is in the given state. | |
An additonal action can be specified. This might be useful to tts the message. | |
domain: automation | |
source_url: https://gist.github.com/pavax/08705e383bdd3b58ea7b75a1f01c7e54 | |
input: | |
sensor_entity: |
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
# mimikatz unique imphashes based on 500 binaries gathered from virustotal | |
0265fde84b683235cebfe6d892da5c7f | |
059c6bd84285f4960e767f032b33f19b | |
07e6016099674ec02cfacd7fdb525228 | |
0b2973447b6de13faf1fccc7d89f8236 | |
11433e8ad7b8d0937563d07a7f8c36e2 | |
1288a4be8c2b21f1447e8cb67179c050 | |
1321dabcf31253d648582e3c9b769585 | |
1355327f6ca3430b3ddbe6e0acda71ea |
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
#!/bin/bash | |
echo {"t":"scan"} | ncat -u 255.255.255.255 7000 |
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
#!/usr/bin/env python3 | |
import base64 | |
import json | |
import sys | |
from Crypto.Cipher import AES | |
key = b"a3K8Bx%2r8Y7#xDh" # default key (for scanning) - replace if needed. | |
cipher = AES.new(key, AES.MODE_ECB) |
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
#!/usr/bin/env python | |
def _to_base10(number): | |
"""Prepare the number to its base10 representation.""" | |
try: | |
return ''.join( | |
str(int(x, 36)) for x in number) | |
except Exception: | |
raise Exception("Invalid Format") |
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
#!/bin/bash | |
COPY_DIR="/tmp/integrity_check/$(date +%Y-%m-%d)" | |
ARCH_FILE="/root/susp_files-$(date +%Y-%m-%d).tgz" | |
# debsums bedzie nam potrzebny | |
dpkg -l | grep debsums >/dev/null || apt-get install -y debsums | |
# wykryj i staruj |
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
#!/bin/bash | |
INFORM="DER" | |
echo @load base/protocols/ssl | |
echo | |
echo module SSL\; | |
echo redef root_certs += { | |
for f in *.cer |
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
#!/usr/bin/env python3 | |
import email | |
import sys | |
import uuid | |
def print_usage(): | |
print("{} <filename>".format(sys.argv[0])) | |
def read_file(filename): |
NewerOlder