This commit is contained in:
jose guzman 2026-03-31 09:40:42 -03:00 committed by GitHub
commit e98af52e0c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 128 additions and 39 deletions

7
.github/dependabot.yml vendored Normal file
View File

@ -0,0 +1,7 @@
version: 2
updates:
- package-ecosystem: pip
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10

4
.gitignore vendored
View File

@ -1 +1,5 @@
*.pyc
# macOS system files
.DS_Store
._*

12
.whitesource Normal file
View File

@ -0,0 +1,12 @@
{
"scanSettings": {
"baseBranches": []
},
"checkRunSettings": {
"vulnerableCheckRunConclusionLevel": "failure",
"displayMode": "diff"
},
"issueSettings": {
"minSeverityLevel": "LOW"
}
}

View File

@ -9,10 +9,16 @@ Sublist3r is a python tool designed to enumerate subdomains of websites using OS
![Sublist3r](http://www.secgeek.net/images/Sublist3r.png "Sublist3r in action")
## Installation
## Installation in Debian distros
```
git clone https://github.com/aboul3la/Sublist3r.git
cd /usr/share && git clone https://github.com/aboul3la/Sublist3r.git && cd /usr/share/Sublist3r && chmod +x *.* && sudo pip install ebcdic && sudo pip3 install ebcdic && sudo pip install -r requirements.txt && python setup.py install && cd
```
## Usage in Debian Distros
```
sublist3r -b -d yourdomain.com -t 37 -v -o /root/sublist3r_yourdomain_com
```
## Recommended Python Version:
@ -32,10 +38,7 @@ These dependencies can be installed using the requirements file:
```
c:\python27\python.exe -m pip install -r requirements.txt
```
- Installation on Linux
```
sudo pip install -r requirements.txt
```
Alternatively, each module can be installed independently as shown below.
@ -46,20 +49,11 @@ Alternatively, each module can be installed independently as shown below.
c:\python27\python.exe -m pip install requests
```
- Install for Ubuntu/Debian:
```
sudo apt-get install python-requests
```
- Install for Centos/Redhat:
```
sudo yum install python-requests
```
- Install using pip on Linux:
```
sudo pip install requests
```
#### dnspython Module (http://www.dnspython.org/)
@ -68,33 +62,12 @@ sudo pip install requests
c:\python27\python.exe -m pip install dnspython
```
- Install for Ubuntu/Debian:
```
sudo apt-get install python-dnspython
```
- Install using pip:
```
sudo pip install dnspython
```
#### argparse Module
- Install for Ubuntu/Debian:
```
sudo apt-get install python-argparse
```
- Install for Centos/Redhat:
```
sudo yum install python-argparse
```
- Install using pip:
```
sudo pip install argparse
```
**for coloring in windows install the following libraries**
```
c:\python27\python.exe -m pip install win_unicode_console colorama

93
project.json Normal file
View File

@ -0,0 +1,93 @@
{
"name": "repo-repos-sublist3r",
"root": "repos/Sublist3r",
"projectType": "library",
"targets": {
"status": {
"executor": "nx:run-commands",
"options": {
"command": "git -C repos/Sublist3r status --short || true"
},
"metadata": {
"supervisorRequired": true
}
},
"fetch": {
"executor": "nx:run-commands",
"options": {
"command": "git -C repos/Sublist3r fetch --all --prune || true"
},
"metadata": {
"supervisorRequired": true
}
},
"log": {
"executor": "nx:run-commands",
"options": {
"command": "git -C repos/Sublist3r log --oneline -10 || true"
},
"metadata": {
"supervisorRequired": true
}
},
"manifests": {
"executor": "nx:run-commands",
"options": {
"command": "find repos/Sublist3r \\( -name package.json -o -name pyproject.toml -o -name Cargo.toml -o -name go.mod -o -name setup.py \\) -not -path '*/node_modules/*' -not -path '*/testdata/*' -not -path '*/fixtures/*' -print | sort"
},
"metadata": {
"supervisorRequired": true
}
},
"python-test": {
"executor": "nx:run-commands",
"options": {
"command": "sh -lc 'cd repos/Sublist3r && pytest -q || python -m pytest -q || true'"
},
"metadata": {
"supervisorRequired": true
}
},
"python-lint": {
"executor": "nx:run-commands",
"options": {
"command": "sh -lc 'cd repos/Sublist3r && ruff check . || flake8 . || true'"
},
"metadata": {
"supervisorRequired": true
}
},
"python-build": {
"executor": "nx:run-commands",
"options": {
"command": "sh -lc 'cd repos/Sublist3r && python -m build || true'"
},
"metadata": {
"supervisorRequired": true
}
},
"security-python": {
"executor": "nx:run-commands",
"options": {
"command": "sh -lc 'cd repos/Sublist3r && pip-audit || true'"
},
"metadata": {
"supervisorRequired": true
}
},
"security": {
"executor": "nx:run-commands",
"options": {
"command": "sh -lc 'printf \"security targets: security-python\\n\"'"
},
"metadata": {
"supervisorRequired": true
}
}
},
"tags": [
"scope:repos",
"type:subrepo",
"lang:python"
]
}

View File

@ -1,3 +1,3 @@
argparse
dnspython
requests
argparse==1.4.0
dnspython==2.8.0
requests==2.32.5