sudo apt-get install unclutter xterm
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 bash | |
# | |
# tor2ipc.sh | |
# | |
# License: MIT | |
# Copyright (c) 2020 The RaspiBlitz developers | |
set -e | |
set -u |
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
def _send_request(self, path='/v1/getinfo') -> dict: | |
url = f'https://{self.hostname}:{self.port}{path}' | |
session = requests.Session() | |
try: | |
if self.tls_cert_verification: | |
adapter = CaDataVerifyingHTTPAdapter(tls_cert=self.tls_cert) | |
session.mount(url, adapter) | |
res = session.get(url, |
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
# -*- coding: utf-8 -*- | |
import string | |
from django import forms | |
from django.conf import settings | |
from django.core.exceptions import ImproperlyConfigured | |
from django.db import models | |
class BaseEncryptedField(models.Field): |
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 random | |
import sys | |
""" | |
https://github.com/taikuukaits/SimpleWordlists/ | |
The MIT License (MIT) |
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 | |
function usage() { | |
echo -e "This script generates a LND invoice and prints the payment request" | |
echo -e "" | |
echo -e "Usage: $0 [-h|--help] [-v*|--verbose] [-a|--amt STRING] [-m|--memo STRING]" | |
echo -e "" | |
echo -e " -h, --help\t\tprint this help message" | |
echo -e " -v, --verbose\t\tbe more verbose" | |
echo -e " -a, --amt STRING\tAmount in Satoshi" |
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 | |
function usage() { | |
echo -e "This checks if a LND invoice has been payed using the rhash" | |
echo -e "" | |
echo -e "Usage: $0 [-h|--help] [-v*|--verbose] [-r|--rhash STRING]" | |
echo -e "" | |
echo -e " -h, --help\t\tprint this help message" | |
echo -e " -v, --verbose\t\tbe more verbose" | |
echo -e " -r, --rhash STRING\tthe payment hash of the invoice (as HEX not BASE64!)" |
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 | |
# -*- coding: utf-8 -*- | |
# 00infoLCD_wrapper.py | |
import os | |
import tkinter as tk | |
import platform | |
COLOR = "black" |
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 O365 import Account, Connection, FileSystemTokenBackend, MSGraphProtocol, MSOffice365Protocol | |
import re | |
client_id = "<client_id>" | |
client_secret = "<client_secret>" | |
tenant_id = "<tenant_id>" | |
credentials = (client_id, client_secret) |
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 | |
# Exfiltrate a file from Windows Powershell over HTTP Post using certutil for | |
# Base64 conversion to avoid broken file due to text based post transmission. | |
# | |
# Requires | |
# pip install tornado | |
# Sample usage (exfiltrate flag.docx) | |
# python certutilpostreciver.py |