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 sys | |
import bs4 | |
import requests | |
from urllib.parse import urlparse, urlunparse | |
def find_icon(domain): | |
resp = requests.get("http://{}/".format(domain)) | |
page = bs4.BeautifulSoup(resp.text, 'html.parser') | |
res = "http://{}/favicon.ico".format(domain) | |
icons = [e for e in page.find_all(name='link') if 'icon' in e.attrs.get('rel')] |
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
The arsenal, armory & library by Maderas (@hackermaderas, #CyberpunkisNow) 6/8/2019 | |
Original / 1st version here: https://pastebin.com/rMw4WbhX | |
___________________________________________________________________________________ | |
# Basic knowledge requirements for Red Teaming, PenTesting, Hacking & Cybersecurity | |
# These are the basic competencies expected (and tested for during the in-person technical interview) by one of the largest, most visible InfoSec companies # on Earth. | |