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
use rand_chacha::ChaCha20Rng; | |
use schnorr_fun::fun::{KeyPair, Scalar}; | |
use schnorr_fun::{Message, nonce, Schnorr}; | |
use schnorr_fun::adaptor::Adaptor; | |
use schnorr_fun::fun::marker::Public; | |
use schnorr_fun::musig::MuSig; | |
use sha2::Sha256; | |
fn main() { | |
// Little proof of concept. Doesn't actually do real transactions, but you get the idea. |
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
# Thomas Daley | |
# September 13, 2021 | |
# A generic build template for C/C++ programs | |
# executable name | |
EXE = app | |
# C compiler | |
CC = gcc |
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/python3 | |
import pip | |
while True: | |
try: | |
#import your modules here. ! | |
from distutils.spawn import find_executable | |
from shutil import which |
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
#Log and type | |
/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -clientopts -setvnclegacy -vnclegacy yes -clientopts -setvncpw -vncpw mypasswd -restart -agent -privs -all | |
# To enable screen sharing | |
cd /Library/Preferences | |
echo -n enabled > com.apple.ScreenSharing.launchd | |
# To disable screen sharing | |
cd /Library/Preferences | |
rm com.apple.ScreenSharing.launchd |
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
pyinbash.sh | |
py3-script.py | |
pyscript.py | |
scripts | |
scripts/* | |
execl-example | |
execl-example.dSYM/ |
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
#include<stdio.h> | |
#include<errno.h> | |
#include<stdlib.h> | |
#include<strings.h> | |
#include<unistd.h> | |
#define BASH_EXEC "/usr/bin/bash" | |
#define LS_EXEC "/usr/bin/ls" | |
#define BSIZE 50 |
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
.DS_Store | |
evil.exe | |
test.txt |
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
var Twitter = require('node-tweet-stream') | |
, t = new Twitter({ | |
consumer_key: '', | |
consumer_secret: '', | |
token: '', | |
token_secret: '' | |
}); | |
var watch = [ | |
"SB52", | |
"SBLII", |
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
[dependencies] | |
miniscript = { git="https://github.com/apoelstra/rust-miniscript", features=["compiler"] } | |
bitcoin = "0.18" | |
secp256k1 = "0.12" |
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
# more extensive check intended for scenerios such as pulling an existing repo you're unfamiliar with, pulling down changes | |
# and wanting to ensure your current node_modules/ is up-to-date with any package.json changes, etc. | |
# you will automatically be prompted to install the two required global npm modules | |
nodecheck() { | |
printf "\n\n" | |
printf '%*s\n' "${COLUMNS:-$(tput cols)}" '' | tr ' ' - | |
printf '%*s\n' "${COLUMNS:-$(tput cols)}" '' | tr ' ' . | |
printf "ENVIRONMENT:\n" |
NewerOlder