As configured in my dotfiles.
start new:
tmux
start new with session name:
As configured in my dotfiles.
start new:
tmux
start new with session name:
#!/bin/bash | |
# Extract data from nandroid backup of Google Authenticator 2 | |
# > /data/data/com.google.android.apps.authenticator2/databases/databases | |
# require: sqlite3 + qrencode | |
sqlite3 databases <<! | |
.headers off | |
.mode csv | |
.output codes.csv | |
select printf("otpauth://totp/%s?secret=%s&issuer=%s",email,secret,issuer) from accounts; |
When implementing 2FA it's a bad idea to generate the QR image containing the TOTP secret using Google charts:
<img src="https://chart.googleapis.com/
chart?chl=otpauth%3A%2F%2Ftotp%2F...secret%3Dacl...mwv&chs=200x200&cht=qr" />
Google tracks all your internet moves and could easily exploit this vulnerability to bypass 2FA:
#!/usr/bin/env bash | |
read -r -d '' usage << EOM | |
Usage: | |
gh-deploy-clone user/repo [ENVIRONMENT] | |
EOM | |
[ -z "$1" ] && echo && echo "$usage" && echo && exit 1 |
I had a heck of a time getting a Cuckoo sandbox running, and below I hope to help you get one up and running relatively quickly by detailing out the steps and gotchas I stumbled across along the way. I mention this in the references at the end of this gist, but what you see here is heavily influenced by this article from Nviso
Install Dafang Hacks on the Wyze Cam.
Once running and all is functional, continue. Set video bitrate to 1500, VBR, 30fps.
diff -Naur ./Marlin/Marlin/Configuration.h ./Marlin-patched/Marlin/Configuration.h | |
--- ./Marlin/Marlin/Configuration.h 2020-02-25 15:06:10.000000000 -0500 | |
+++ ./Marlin-patched/Marlin/Configuration.h 2020-02-25 15:35:58.000000000 -0500 | |
@@ -1,3 +1,7 @@ | |
+// https://www.reddit.com/r/ender3/comments/e894j7/marlin_20x_guide_for_ender_3_using_skr_mini_e3_v12/ | |
+// This is all the base stuff + manual mesh bed levelling, so that users who have a stock printer | |
+// and an SKR Mini E3 can use this patch | |
+ | |
/** | |
* Marlin 3D Printer Firmware |
#!/bin/bash | |
# script for installing x11vnc on Steam Deck | |
# ATENTION: USE IT AT YOUR OWN RISK!!!! | |
# | |
# this will modify root filesystem so it will probably get | |
# overwrite on system updates but is totally ok executing | |
# it several times, so if something stops working just | |
# launch it again | |
# |