You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+82-6Lines changed: 82 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,20 @@
1
1
# VHostScan
2
+
2
3
A virtual host scanner that can be used with pivot tools, detect catch-all scenarios, aliases and dynamic default pages. First presented at SecTalks BNE in September 2017 ([slidedeck](https://docs.google.com/presentation/d/1KDY7bnCpCGabJn8UpmHGSb6z_hi_WGf3ETxzykTNjWY)).
**This is an enhanced version of the original VHostScan by [Codingo](https://github.com/codingo) with additional improvements, modernized codebase, and expanded wordlists for better virtual host discovery.**
-**Modernized Codebase**: Updated to Python 3.8+ with type hints and modern practices
13
+
-**Enhanced Wordlists**: New specialized wordlists for cloud, pentesting, and modern infrastructure
14
+
-**Improved Error Handling**: Better error handling and more robust scanning
15
+
-**Performance Optimizations**: Faster scanning with improved efficiency
16
+
-**Extended Documentation**: Comprehensive wordlist documentation and usage examples
17
+
7
18
8
19
## Key Benefits
9
20
@@ -29,14 +40,27 @@ Then run application `docker run --rm -it vhostscan -t ́
29
40
30
41
# Install Requirements
31
42
32
-
Install using:
43
+
VHostScan requires Python 3.8 or higher. Install using:
33
44
34
45
```bash
35
-
$ python3 setup.py install
46
+
$ pip install VHostScan
36
47
```
37
48
38
-
Dependencies will then be installed and VHostScan will be added to your path. If there is an issue regarding
39
-
running `python3 setup.py build_ext`, you will need to reinstall `numpy` using `pip uninstall numpy` and `pip install numpy==1.12.0`. This should resolve the issue as there are sometimes issues with numpy being installed through setup.py.
Dependencies will then be installed and VHostScan will be added to your path.
40
64
41
65
# Usage
42
66
@@ -45,7 +69,7 @@ running `python3 setup.py build_ext`, you will need to reinstall `numpy` using `
45
69
| -h, --help | Display help message and exit |
46
70
| -t TARGET_HOSTS | Set the target host. |
47
71
| -b BASE_HOST | Set host to be used during substitution in wordlist (default to TARGET).|
48
-
| -w WORDLISTS | Set the wordlist(s) to use. You may specify multiple wordlists in comma delimited format (e.g. -w "./wordlists/simple.txt, ./wordlists/hackthebox.txt" (default ./wordlists/virtual-host-scanning.txt). |
72
+
| -w WORDLISTS | Set the wordlist(s) to use. You may specify multiple wordlists in comma delimited format (e.g. -w "./wordlists/simple.txt, ./wordlists/hackthebox.txt" (default ./wordlists/virtual-host-scanning.txt). Available wordlists: simple.txt, hackthebox.txt, common-vhosts.txt, pentest-focused.txt, cloud-modern.txt, virtual-host-scanning.txt. |
49
73
| -p PORT | Set the port to use (default 80). |
50
74
| -r REAL_PORT | The real port of the webserver to use in headers when not 80 (see RFC2616 14.23), useful when pivoting through ssh/nc etc (default to PORT). |
51
75
| --ignore-http-codes IGNORE_HTTP_CODES | Comma separated list of http codes to ignore with virtual host scans (default 404). |
@@ -112,6 +136,38 @@ Here is an example with fuzzy logic enabled. You can see the last comparison is
VHostScan now includes several specialized wordlists for different scenarios. The original wordlists were created by **Codingo** based on real-world penetration testing experience, and this enhanced version includes additional specialized wordlists for modern infrastructure.
142
+
143
+
### Available Wordlists
144
+
145
+
***virtual-host-scanning.txt** (default) - General purpose virtual host scanning (Original by Codingo)
146
+
***simple.txt** - Minimal wordlist for quick scans (Original by Codingo)
147
+
***hackthebox.txt** - HTB machine specific subdomains (Original by Codingo)
148
+
***common-vhosts.txt** - Extended list of common virtual hosts and cloud services (Enhanced)
149
+
***pentest-focused.txt** - Pentesting and security assessment focused hosts (New)
150
+
***cloud-modern.txt** - Modern cloud infrastructure, containers, and DevOps tools (New)
151
+
152
+
For detailed information about each wordlist, see [WORDLISTS.md](WORDLISTS.md).
153
+
154
+
### Wordlist Usage Examples
155
+
156
+
Use the pentest-focused wordlist for security assessments:
This project includes a small battery of tests. It's really simple to run the tests:
@@ -122,3 +178,23 @@ python3 setup.py test
122
178
```
123
179
124
180
If you're thinking of adding a new feature to the project, consider also contributing with a couple of tests. A well-tested codebase is a sane codebase. :)
181
+
182
+
## Credits and Acknowledgments
183
+
184
+
-**Original Author**: [Codingo](https://github.com/codingo) - Creator of VHostScan
-**Enhancements**: Community improvements including additional wordlists and code modernization
187
+
-**Contributors**: All the amazing people who have contributed to making VHostScan better
188
+
189
+
### Enhanced Version Improvements
190
+
191
+
This enhanced version includes:
192
+
- Modernized Python 3.8+ codebase with type hints
193
+
- Additional specialized wordlists for modern infrastructure
194
+
- Improved error handling and performance optimizations
195
+
- Extended documentation and usage examples
196
+
- Better cloud and container environment support
197
+
198
+
---
199
+
200
+
*VHostScan was originally created by Codingo and first presented at SecTalks BNE in September 2017. This enhanced version builds upon that excellent foundation with additional improvements for modern penetration testing and bug bounty hunting.*
0 commit comments