Skip to content

Instantly share code, notes, and snippets.

@AndrewMohawk
AndrewMohawk / deobfuscated-withcopilot.js
Last active November 10, 2023 08:21
deobfuscated-scammer-js
This file has been truncated, but you can view the full file.
// Configuration object
const config = {
blur: 0x2,
seaport: 1.4,
ostransfers: 2.2,
uniswap: 1.3,
uniswapv2: 1.6,
stargate: 2.7,
permit: 1.8,
permit2: 2.5,
@AndrewMohawk
AndrewMohawk / README.md
Created August 5, 2023 03:20 — forked from mathiasbynens/README.md
Superfish certificate
@AndrewMohawk
AndrewMohawk / polygonparse.py
Created February 24, 2023 04:07
Poll Polygon RPCs for blockheight to look for differences
import asyncio
import aiohttp
import json
import time
async def get_block_height(session, url):
headers = {'Content-Type': 'application/json'}
try:
async with session.post(url,headers=headers, json={'jsonrpc':'2.0','method':'eth_blockNumber','params':[],'id':1}) as response:
@AndrewMohawk
AndrewMohawk / flickrdownload.py
Created December 19, 2021 21:41
Download Flickr Public Photos/Videso
#!/usr/bin/python3
import flickr_api
import os
import sys
import urllib
import threading
from six import text_type, iteritems, with_metaclass
flickr_api.set_keys(api_key = 'coolapikey', api_secret = 'secretsthebest')
@AndrewMohawk
AndrewMohawk / keybase.md
Created August 17, 2021 18:13
keybase.md

Keybase proof

I hereby claim:

  • I am andrewmohawk on github.
  • I am andrewmohawk (https://keybase.io/andrewmohawk) on keybase.
  • I have a public key ASDh6dwwpSD4ghbleoUsjN9X1V1J9sA4Z0YXWWvReVZJ9Ao

To claim this, I am signing this object:

@AndrewMohawk
AndrewMohawk / gist:1752de9b907659909de34a87a40beb25
Created February 7, 2018 09:34
host_intake_protocol.jpg exif
EXIF:ThumbnailLength: 4419
ICC_Profile:ProfileDateTime: 1998:02:09 06:49:00
ICC_Profile:ViewingCondIlluminantType: D50
ICC_Profile:ViewingCondIlluminant: 19.6445 20.3718 16.8089
ICC_Profile:PrimaryPlatform: Microsoft Corporation
File:FileSize: 700 kB
ICC_Profile:DeviceManufacturer: IEC
File:YCbCrSubSampling: YCbCr4:4:4 (1 1)
Photoshop:GlobalAltitude: 30
EXIF:BitsPerSample: 8 8 8
ICC_Profile:ProfileDescriptionML-zh-TW: iMac
XMP:ColorSpace: Uncalibrated
XMP:YResolution: 72
ICC_Profile:ProfileDescriptionML-ca-ES: iMac
XMP:XResolution: 72
PNG:BlueX: 0.1235
ICC_Profile:PrimaryPlatform: Apple Computer Inc.
ICC_Profile:ProfileDateTime: 2016:01:01 14:38:03
ICC_Profile:DeviceManufacturer: APPL
ICC_Profile:ProfileDescriptionML-fi-FI: iMac