This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from google import search | |
from clint.textui import colored | |
site = raw_input("Insert domain:") | |
# attacks | |
dir_listing = "site:"+site+" intitle:index.of" | |
conf_exposed = "site:"+site+" ext:xml | ext:conf | ext:cnf | ext:reg | ext:inf | ext:rdp | ext:cfg | ext:txt | ext:ora | ext:ini" | |
db_exposed = "site:"+site+" ext:sql | ext:dbf | ext:mdb" | |
log_exposed = "site:"+site+" ext:log" | |
bk_exposed = "site:"+site+" ext:bkf | ext:bkp | ext:bak | ext:old | ext:backup" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import sys | |
import censys | |
from censys import * | |
api = censys.ipv4.CensysIPv4(api_id="945c7b3d-7940-42a1-8cdf-b2c90aee51fc", api_secret="mdoqmxnhuPfEYQxfReKgFZzdOjOtlmjR") | |
res = api.search(sys.argv[1]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: iso-8859-15 -*- | |
import re | |
import json | |
from pprint import pprint | |
from clint.textui import colored | |
import argparse | |
def split_comma(param): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: latin-1 -*- | |
import json | |
from pprint import pprint | |
import urllib2 | |
import smtplib | |
import getpass | |
vendor = 'Check Point' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import shodan | |
import sys | |
# Configuration | |
API_KEY = "apikey" | |
# Input validation | |
if len(sys.argv) == 1: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: iso-8859-15 -*- | |
import requests | |
from requests_ntlm import HttpNtlmAuth | |
from requests.auth import HTTPBasicAuth | |
import argparse | |
import curses | |
from pick import pick | |
import time | |
import getpass |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.security.SecureRandom; | |
import javax.crypto.spec.PBEKeySpec; | |
import javax.crypto.SecretKeyFactory; | |
import java.math.BigInteger; | |
import java.security.NoSuchAlgorithmException; | |
import java.security.spec.InvalidKeySpecException; | |
/* | |
* PBKDF2 salted password hashing. | |
* Author: havoc AT defuse.ca |
OlderNewer