Skip to content

Instantly share code, notes, and snippets.

View anshumanbh's full-sized avatar
🎯
Focusing

Anshuman Bhartiya anshumanbh

🎯
Focusing
View GitHub Profile
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)
Slack token = xoxp-130007425280-139833148449-368749871333-dd16122c189cbc0c789ee130dbd3f01d
@anshumanbh
anshumanbh / crypto.plantuml
Created April 18, 2019 21:15 — forked from jmarcil/crypto.plantuml
threat modeling toolkit cryptocurrencies 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
@anshumanbh
anshumanbh / censys.py
Created September 16, 2016 20:53
Quick and Dirty script to use the Censys API to query subdomains of a target domain
__author__ = 'bharta1'
import sys
import requests
import os
API_URL = "https://www.censys.io/api/v1"
UID = os.environ['CensysUID']
SECRET = os.environ['CensysSecret']
WEBSITE = os.environ['TARGETS']
<html>
<script>alert(document.domain)</script>
</html>