Skip to content

Instantly share code, notes, and snippets.

@ziot
ziot / gist:b621c661708e9740998106ce1910009a
Created July 12, 2018 20:22
Partial Xor Key Bruteforcing
cipher = []
def loadFile(file):
with open(file) as f:
lines = f.read().splitlines()
return lines
def getLetter(pos, letter):
char = cipher[pos]
for x in xrange(0,255):
@ziot
ziot / hostsbyasnname.py
Created July 15, 2019 23:07
Get hosts by ASN->CIDR->Hosts via company name
import requests, json
from requests.packages.urllib3.exceptions import InsecureRequestWarning, InsecurePlatformWarning, SNIMissingWarning
from bs4 import BeautifulSoup
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
requests.packages.urllib3.disable_warnings(InsecurePlatformWarning)
requests.packages.urllib3.disable_warnings(SNIMissingWarning)
# another source of cidrs by asn
def getIPCidrs(asn):
query IntrospectionQuery { __schema { queryType { name } mutationType { name } subscriptionType { name } types { ...FullType } directives { name description args { ...InputValue } onOperation onFragment onField } } } fragment FullType on __Type { kind name description fields(includeDeprecated: true) { name description args { ...InputValue } type { ...TypeRef } isDeprecated deprecationReason } inputFields { ...InputValue } interfaces { ...TypeRef } enumValues(includeDeprecated: true) { name description isDeprecated deprecationReason } possibleTypes { ...TypeRef } } fragment InputValue on __InputValue { name description type { ...TypeRef } defaultValue } fragment TypeRef on __Type { kind name ofType { kind name ofType { kind n
@ziot
ziot / qr.py
Created August 5, 2020 18:28
Mr. Beast Riddle QR Code Solver
import requests,json
cookie = ""
def getNextCode():
url = "https://www.mrriddle.com/qrjustgettingstarted/api/get-next-code"
r = requests.post(url, cookies = {
"bitlagoon": cookie
})
@ziot
ziot / dictionary.py
Created August 5, 2020 18:43
Mr.Beast Riddle - Dictionary / Word Solver
import requests,json
import multiprocessing
cookie = ""
def getNextWord(num):
url = "https://www.mrriddle.com/phone/api/get-word"
r = requests.post(url, cookies = {
"bitlagoon": cookie
}, data = {
@ziot
ziot / junglebook.txt
Created August 5, 2020 18:47
Mr. Beast Riddle Jungle Book Text SMS
It was seven o’clock of a very warm evening in the Seeonee hills when
Father Wolf woke up from his day’s rest, scratched himself, yawned, and
spread out his paws one after the other to get rid of the sleepy feeling
in their tips. Mother Wolf lay with her big gray nose dropped across her
four tumbling, squealing cubs, and the moon shone into the mouth of the
cave where they all lived. “Augrh!” said Father Wolf. “It is time to
hunt again.” He was going to spring down hill when a little shadow with
a bushy tail crossed the threshold and whined: “Good luck go with you, O
Chief of the Wolves. And good luck and strong white teeth go with noble
children that they may never forget the hungry in this world.”
@ziot
ziot / flappy.py
Created August 5, 2020 19:48
Mr.Beast $100k Riddle - Floppy Bird Script
import requests,json,time
cookie = ""
def doScore(x):
url = "https://www.mrriddle.com/carl/api/do-event"
r = requests.post(url, cookies = {
"bitlagoon": cookie
},
data= {"velocity": "-4.35", "gravity": "0.25", "jump": "-4.6", "event": "score", "position": "312.10000000000053", "rotation": "-39.14999999999999", "score": x, "pipeheight": "200"})
@ziot
ziot / urls.txt
Created August 5, 2020 20:03
Mr.Beast Riddle Final Level
www.newsobserver.comwww.hollywoodreporter.comwww.mashable.comwww.shopmrbeast.comwww.apexlegends.comwww.tubefilter.comwww.mrriddle.comwww.hollywoodreporter.comwww.apexlegends.comwww.instagram.comwww.businessinsider.comwww.apexlegends.comwww.clubpenguin.comwww.youtooz.comwww.newsobserver.comwww.essentiallysports.comwww.theverge.comwww.essentiallysports.comwww.mashable.comwww.shopmrbeast.comwww.mrriddle.comwww.shortyawards.comwww.tubefilter.comwww.mashable.comwww.twitter.comwww.essentiallysports.comwww.ea.comwww.twitter.comwww.shortyawards.comwww.apexlegends.comwww.instagram.comwww.newsobserver.comwww.facebook.comwww.youtooz.comwww.facebook.comwww.dexerto.comwww.shopmrbeast.comwww.youtooz.comwww.twitter.comwww.shopmrbeast.comwww.shopmrbeast.comwww.mrbeast.comwww.essentiallysports.comwww.variety.comwww.shopmrbeast.comwww.youtooz.comwww.variety.comwww.facebook.comwww.youtooz.comwww.variety.comwww.ea.comwww.clubpenguin.comwww.mrriddle.comwww.shopmrbeast.comwww.tubefilter.comwww.dexerto.comwww.twitter.comwww.twitter
1. 24 words on the inside triangles
2. 4 constellations in each corner on the front (icons in each corner on back of card tell you which ones)
3. Text on back indicates harmony and had a boat. This is how "sea and sky" was validated and led to seasky.org.
4. Get the constellations from seasky.org. Each constellation had stars numbered.
6. Overlay the constellation and make a pair of number from constellation and number on card, this indicated the word and order for word in each constellation set.
5. Private key order is bottom left + bottom right + top left + bottom right.
@ziot
ziot / gist:4cd65d66c915db1c210d11e397ce57f6
Created May 11, 2021 23:38
Orca's King of Cups Puzzle
Orca's King of Cups Puzzle
1. 24 words on the inside triangles, use high quality image:
https://pbs.twimg.com/media/E0Zwh04XMAcAdTC?format=jpg&name=4096x4096
1 charge
2 wet
3 romance
4 flame
5 immune