Skip to content

Instantly share code, notes, and snippets.

View Alchemyst0x's full-sized avatar
🧙‍♂️
Mixin' elixirs

Alchemyst Alchemyst0x

🧙‍♂️
Mixin' elixirs
View GitHub Profile
import http.client
import asyncio
import json
import signal
from base import User, Story, Comment, Poll, PollOption, BaseClass
class API:
api = 'hacker-news.firebaseio.com'
@cablej
cablej / ESXi ransomware payment addresses
Last active February 26, 2023 22:32
A list of ESXi ransomware payment addresses from https://ransomwhe.re/, collected from Censys and Shodan.
15m7FP7U4kDJhAVtjjUdUB8WYswpf7Dtho
1Nm2TMEFEdyb2BP6tLyuREoKECztibuK6P
1LJYrTxrQA5pFRRg2bSyJLT6MGezmMBVfX
1EiCssanXmavzjtffYHzK6aVeQHngUxX1s
1H65AnxCg7mT4rTZmRzH8cxENk1N12rhkZ
1CVbdRQQ3TeWaPWqARKP9wvAEPvavJDrKo
1B9APV4ARm26MUW74ZcGNQE9hBHM5XGPbg
14u8xH6KdJFoTP93Lep9tpb1KQQvshQaAj
145V8AXLZpFv1ABVEsMYFsGpaZPwgKNZbf
1LGBP4iwrwv3GxybQ5QZJ19M3MAP76cw6U
@jcurbelo
jcurbelo / convert.py
Created May 20, 2022 17:56
Converts Adobe Bridge CSV into NiftyKit's metadata JSON
import csv
import json
import re
data = []
result = []
def extract_attrs(kwds_list):
kwds = kwds_list.split(';')
attrs = []
@jcurbelo
jcurbelo / upload_nifty_kit.py
Last active November 18, 2022 22:27
Upload Multiple Tokens to Nifty Kit
import requests
import json
data = {}
with open('nifty.json') as f:
data = json.load(f)
url = "https://api.niftykit.com/drops/tokens"
@cryptoscopia
cryptoscopia / dydxFlashLoanTemplate.sol
Created October 21, 2020 06:42
A single-file simplest possible template for a contract that obtains a flash loan from dydx, does things, and pays it back.
// SPDX-License-Identifier: AGPL-3.0-or-later
// The ABI encoder is necessary, but older Solidity versions should work
pragma solidity ^0.7.0;
pragma experimental ABIEncoderV2;
// These definitions are taken from across multiple dydx contracts, and are
// limited to just the bare minimum necessary to make flash loans work.
library Types {
enum AssetDenomination { Wei, Par }
@philcryer
philcryer / installer_base.sh
Created June 7, 2017 18:14
Sample bash script to build an installer with
#!/usr/bin/env bash
# PiVPN: Trivial OpenVPN setup and configuration
# Easiest setup and mangement of OpenVPN on Raspberry Pi
# http://pivpn.io
# Heavily adapted from the pi-hole.net project and...
# https://github.com/StarshipEngineer/OpenVPN-Setup/
#
# Install with this command (from your Pi):
#
# curl -L https://install.pivpn.io | bash
@calum-github
calum-github / JavaEssentials.pkg
Created January 16, 2015 01:36
Java 2014-001 scripts
These are the scripts from the JavaEssentials.pkg