This file contains hidden or 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
INSERT INTO `wp_users` (`user_login`, `user_pass`, `user_nicename`, `user_email`, `user_status`) VALUES ('edoz90', MD5('passwordASD'), 'administrator', '[email protected]', '0'); | |
INSERT INTO `wp_usermeta` (`umeta_id`, `user_id`, `meta_key`, `meta_value`) VALUES (NULL, (SELECT max(id) FROM wp_users), 'wp_capabilities', 'a:1:{s:13:"administrator";s:1:"1";}'); | |
INSERT INTO `wp_usermeta` (`umeta_id`, `user_id`, `meta_key`, `meta_value`) VALUES (NULL, (SELECT max(id) FROM wp_users), 'wp_user_level', '10'); |
This file contains hidden or 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 | |
# -*- encoding: utf-8 -*- | |
import multiprocessing as mp | |
import os | |
import subprocess | |
import time | |
import sys | |
try: | |
import click | |
from colored import fg, stylize |
This file contains hidden or 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 sys | |
import base64 | |
try: | |
import click | |
except Exception as e: | |
print(e) | |
print("Install click") | |
sys.exit(-1) |
This file contains hidden or 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 | |
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()) |
This file contains hidden or 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 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" |
This file contains hidden or 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 | |
# https://gist.github.com/edoz90/a441f2bdfc8c99c1999db0a3e8495fb6 | |
# Author: notdodo | |
try: | |
from PyPDF2 import PdfFileWriter, PdfFileReader | |
import click | |
except ModuleNotFoundError: | |
print("pip install pypdf2 click") | |
import sys |
This file contains hidden or 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 | |
# | |
# AUTHOR: Edoardo Rosa notdodo https://github.com/notdodo | |
# https://twitter.com/_d_0_d_o_ | |
# | |
# Sample: ("{0}{1}{4}{3}{5}{2}" -f 'CONv','er','G','R','tTo-SecURest','In') | |
# Decoded output: CONvertTo-SecURestRInG | |
# | |
try: |
This file contains hidden or 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 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}" |
This file contains hidden or 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 python2 | |
# -*- coding: utf-8 -*- | |
''' | |
Open either Shodan search results, a specified IP range, a | |
single IP, or domain and perform an ipidseq probing using nmap. Note that | |
for a successful probing, the command must be ran as root. | |
Shamefully inspired from device-pharmer.py by Dan McInerney | |
(please see https://github.com/DanMcInerney/device-pharmer ) |