Skip to content

Instantly share code, notes, and snippets.

View SecurityDragon's full-sized avatar

Purple Rain Project SecurityDragon

  • Jönköping University (JU)
  • Sweden
View GitHub Profile
@SecurityDragon
SecurityDragon / MetaXtractor.py
Last active March 14, 2019 16:22
MetaXtractor is an open source intelligence tool (OSINT) for extracting Metadata from PDF-document on a website.
# -*- coding: utf-8 -*-
# ---------------------------
# H. Sonesson, Atea
# ---------------------------
from pyPdf import PdfFileWriter, PdfFileReader
import os
import urlparse
import urllib
from bs4 import BeautifulSoup
# ---------------------------------------------
# Proof of Concept Script
# H. Sonesson, Atea
# 190313
# --------------------------------------------- #
# https://shodan.readthedocs.io/en/latest/tutorial.html#connect-to-the-api
# Change IP-Range: XXX.XXX.64.0/20 to scan other network...
from shodan import Shodan
# ---------------------------------------------
# Proof of Concept Script
# H. Sonesson, Atea
# 190313
# ---------------------------------------------
import os
import sys
import time
import censys.certificates