- Get ASN of target
- Get IP ranges
- Masscan all the ranges (common web ports)
- Double check to verify hosts alive
- Generate URL list
- Bruteforce all the URLs
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
#!/usr/bin/env bb | |
(if *command-line-args* | |
(def in (str (first *command-line-args*))) | |
(do | |
(println "Which bin to run?") | |
(def in (str *input*)))) | |
(println "Watching" "*.zig" "->" (str "./" in)) |
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
(ns aws.logs.core | |
"AWS CLI wrapper for `logs` service | |
https://docs.aws.amazon.com/cli/latest/reference/logs/index.html | |
You need to install AWS CLI and run `aws configure` beforehand." | |
(:require | |
[cheshire.core :as json] | |
[clojure.java.shell :as shell] | |
[clojure.string :as str])) |
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
package news | |
// FuncNews ... | |
type FuncNews struct { | |
Get func() ([]string, error) | |
} | |
// News ... | |
type News *FuncNews |
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
echo "" | |
echo "************ Github Dork Links (must be logged in) *******************" | |
echo "" | |
echo " password" | |
echo "https://github.com/search?q=%22$1%22+password&type=Code" | |
echo "https://github.com/search?q=%22$without_suffix%22+password&type=Code" | |
echo "" | |
echo " npmrc _auth" |
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 typing as t | |
from handofcats import as_command | |
@as_command | |
def hello(name: str, nick_name: t.Optional[str] = None) -> None: | |
print(f"hello {name}") | |
if nick_name is not None: | |
print(f" {nick_name}?") |
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
package main | |
import ( | |
"fmt" | |
"io" | |
"log" | |
"os" | |
) | |
func main() { |
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
for i in $(cat yahoobgp); do echo""; echo "ASN $i";echo ""; amass.netdomains -asn $i;echo ""; done |
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
#!/bin/bash | |
# | |
# ex: ./zgrab.sh www.contoso.com 443 | |
echo $1 | zgrab2 http --retry-https --port $2 | awk '{first=substr($0,1,1);gsub(/./,"{\"port\":'"$2"',",first);end=substr($0,2);print first end}' |
日時: | 2020-04-21 |
---|---|
作: | 時雨堂 |
バージョン: | 2020.1 |
URL: | https://shiguredo.jp/ |
日々追記していきます。