This file contains 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 | |
import xml.etree.ElementTree as ET | |
import subprocess | |
import time | |
import os | |
#http://xael.org/pages/python-nmap-en.html | |
import nmap | |
def parseMasscanReport(path): | |
hostsPorts = {} |
This file contains 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
#!/bin/bash | |
#Update repositories | |
apt-get update | |
apt-get upgrade -y | |
#SSH config | |
#-------------------------- | |
export username="pentester" | |
export password="" | |
export key="" |
This file contains 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
#!/bin/bash | |
echo "[*] Password 1:" | |
openssl rand -base64 30 | |
echo "[*] Password 2:" | |
gpg --gen-random -a 0 30 | |
echo "[*] Password 3:" | |
dd if=/dev/urandom bs=1 count=30 2>/dev/null | base64 |