-
run
./setup.sh
-
change directory to
/srv/pxe
-
create
./dnsmasq.conf
-
create
./pxelinux.cfg/default
-
bring up interface
sudo ip addr add 172.30.30.1/24 dev enp0s31f6
#include <stdio.h> | |
# gcc ./embed.c -o ./embed && ./embed | |
asm(R"( | |
.pushsection .rodata | |
.global flag | |
.type flag, @object | |
.balign 1 |
Superseded by bloodhoundcli.
Superseded by bloodhoundcli.
#!/usr/bin/env bash | |
set -euo pipefail | |
xargs -I {} -n 1 -P 16 -r -- curl -sS https://internetdb.shodan.io/{} | \ | |
jq -r 'select(.hostnames!=null)|.hostnames[]' | \ | |
sort -Vu |
#!/usr/bin/env python3 | |
from argparse import ArgumentParser | |
from typing import Any, Iterator | |
import ipaddress | |
import json | |
import requests | |
def main() -> None: |
#!/usr/bin/env python3 | |
import sys | |
import urllib.parse | |
import tldextract | |
# pip3 install --user tldextract | |
def main() -> None: | |
for line in sys.stdin: |
#!/usr/bin/env bash | |
set -euo pipefail | |
xargs -I {} -n 1 -P 16 -r -- curl -sS https://internetdb.shodan.io/{} | \ | |
jq -r 'select(.ip!=null)|[.ip,(.hostnames|join(",")),(.ports|join(",")),(.cpes|join(",")),(.tags|join(","))]|@tsv' | \ | |
sort -Vu | \ | |
column -ts $'\t' |
#!/usr/bin/env python3 | |
from argparse import ArgumentParser, RawDescriptionHelpFormatter | |
from zipfile import ZipFile | |
import json | |
import shutil | |
# from https://github.com/fox-it/BloodHound.py/blob/273984883d9ca3dd21f6fca35ec88671cac3fc87/bloodhound/ad/trusts.py#L59 | |
TRUST_DIRECTIONS = { | |
0: 'Disabled', | |
1: 'Inbound', |
Superseded by github.com/dadevel/impacket-zsh-integration.