Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Anshuman Bhartiya anshumanbh

🎯
Focusing
View GitHub Profile
@anshumanbh
anshumanbh / crypto.plantuml
Created Apr 18, 2019 — forked from jmarcil/crypto.plantuml
threat modeling toolkit cryptocurrencies plantuml
View crypto.plantuml
@startuml
skinparam monochrome true
skinparam defaultTextAlignment center
agent "Steal cryptocurrency" as steal
agent "Manipulate the market" as market
agent "Invade privacy" as privacy
agent "Expose their spending habits" as spy
privacy --> spy
View waybackrobots.py
import requests
import re
import sys
from multiprocessing.dummy import Pool
def robots(host):
r = requests.get(
'https://web.archive.org/cdx/search/cdx\
?url=%s/robots.txt&output=json&fl=timestamp,original&filter=statuscode:200&collapse=digest' % host)
You can’t perform that action at this time.