
Ferramenta de alta performance para descoberta de caminhos web e força bruta em diretórios. Descobre arquivos, diretórios e endpoints ocultos usando wordlists personalizáveis, filtros e varredura recursiva para testes de penetração.
Versão Atual: v1.4 (20222.09.03)
Uma ferramenta avançada de linha de comando projetada para forçar diretórios e arquivos em servidores web, também conhecida como scanner de caminhos web
Ideia por @maurosoria e @shelld3v
Desenvolvimento-2022 está sendo ativamente desenvolvido por @nu11secur1ty
Requisito: python 3.10.5 ou superior
Escolha uma destas opções de instalação:
git clone https://github.com/nu11secur1ty/insect.git --depth 1 (RECOMENDADO)docker build -t "insect:latest" . (mais informações podem ser encontradas aqui)pip3 install dirsearchsudo apt-get install dirsearch (obsoleto)Resumo:
%EXT% pelas extensões da flag -e.%EXT% (como SecLists), é necessário o switch -f | --force-extensions para anexar extensões a cada palavra na wordlist, bem como o /.wordlist1.txt,wordlist2.txt.Exemplos:
Passar **asp** e **aspx** como extensões gerará o seguinte dicionário:```
index
index.asp
index.aspx
Ao passar **php** e **html** como extensões com a flag **-f**/**--force-extensions**, será gerado o seguinte dicionário:```
admin
admin.php
admin.html
admin/
Passar **jsp** e **jspa** como extensões com a flag **-O**/**--overwrite-extensions** gerará o seguinte dicionário:```
login.html
login.jsp
login.jspa
Opções -------``` Usage: insect.py [-u|--url] target [-e|--extensions] extensions [options]
Options: --version show program's version number and exit -h, --help show this help message and exit
Mandatory:
-u URL, --url=URL Target URL(s), support multiple flags
-l PATH, --url-file=PATH
URL list file
--stdin Read URL(s) from STDIN
--cidr=CIDR Target CIDR
--raw=PATH Load raw HTTP request from file (use --scheme flag
to set the scheme)
-s SESSION_FILE, --session=SESSION_FILE
Session file
--config=PATH Full path to config file, see 'config.ini' for
example (Default: config.ini)
Dictionary Settings:
-w WORDLISTS, --wordlists=WORDLISTS
Customize wordlists (separated by commas)
-e EXTENSIONS, --extensions=EXTENSIONS
Extension list separated by commas (e.g. php,asp)
-f, --force-extensions
Add extensions to the end of every wordlist entry. By
default insect only replaces the %EXT% keyword with
extensions
-O, --overwrite-extensions
Overwrite other extensions in the wordlist with your
extensions (selected via -e)
--exclude-extensions=EXTENSIONS
Exclude extension list separated by commas (e.g.
asp,jsp)
--remove-extensions
Remove extensions in all paths (e.g. admin.php ->
admin)
--prefixes=PREFIXES
Add custom prefixes to all wordlist entries (separated
by commas)
--suffixes=SUFFIXES
Add custom suffixes to all wordlist entries, ignore
directories (separated by commas)
-U, --uppercase Uppercase wordlist
-L, --lowercase Lowercase wordlist
-C, --capital Capital wordlist