Skip to main content

penterepTools

PTMULTIVIEWS - Apache Multiviews Detection & Enumeration Tool

Installation

pip install ptmultiviews

Adding to PATH

If you're unable to invoke the script from your terminal, it's likely because it's not included in your PATH. You can resolve this issue by executing the following commands, depending on the shell you're using:

For Bash Users

echo "export PATH=\"`python3 -m site --user-base`/bin:\$PATH\"" >> ~/.bashrc
source ~/.bashrc

For ZSH Users

echo "export PATH=\"`python3 -m site --user-base`/bin:\$PATH\"" >> ~/.zshrc
source ~/.zshrc

Usage examples

ptmultiviews -u https://www.example.com/                          # Test single URL for MultiViews vulnerability and retrieve alternatives
ptmultiviews -u https://www.example.com/ -co                      # Test single URL for MultiViews vulnerability without enumeration
ptmultiviews -u https://www.example.com/index.php -o output.txt   # Saves enumerated files to output.txt
ptmultiviews -f urlList.txt                                       # Enumerate all files from urlList

Options:

-u   --url                 <url>           Connect to URL
-f   --file                <file>          Load list of URLs / filepaths
-df  --domain-file         <domain-file>   Load list of domains to mass scan (defaults to favicon.ico)
-co  --check-only                          Check for multiviews without enumerating
-wr  --with-requested-url                  Include requested source among enumerated results
-wd  --without-domain                      Enumerated files will be printed without domain
-t   --threads             <threads>       Set number of threads (default 20)
-p   --proxy               <proxy>         Set proxy (e.g. http://127.0.0.1:8080)
-T   --timeout             <timeout>       Set timeout (default 10)
-a   --user-agent          <agent>         Set User-Agent
-c   --cookie              <cookie>        Set Cookie(s)
-H   --headers             <header:value>  Set Header(s)
-o   --output              <output>        Save output to file
-r   --redirects                           Follow redirects (default False)
-C   --cache                               Cache HTTP communication (load from tmp in future)
-v   --version                             Show script version and exit
-h   --help                                Show this help message and exit
-j   --json                                Output in JSON format

Dependencies

ptlibs

License

Copyright (c) 2024 Penterep Security s.r.o.

ptmultiviews is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

ptmultiviews is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with ptmultiviews. If not, see https://www.gnu.org/licenses/.

Warning

You are only allowed to run the tool against the websites which you have been given permission to pentest. We do not accept any responsibility for any damage/harm that this application causes to your computer, or your network. Penterep is not responsible for any illegal or malicious use of this code. Be Ethical!

Release files for ptmultiviews 1.0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ptmultiviews 1.0.9
File Size Uploaded
ptmultiviews-1.0.9.tar.gz 21.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ptmultiviews 1.0.9
File Interpreter ABI Platform
ptmultiviews-1.0.9-py3-none-any.whl Python 3 none any Details

Total release size: 43.6 kB

Release files / ptmultiviews-1.0.9.tar.gz

Download URL ptmultiviews-1.0.9.tar.gz
Size 21.5 kB
Tags Source
SHA-256 checksum
How to use checksums
cfc37a054923e196e80f47f437b54fa23a3de35da0c0285969da2f7401d1969d
BLAKE2b-256 checksum
How to use checksums
3b87889c62d4b78b5cb2d07d98de3810a5c8ed8a5989dd98a6ba9ce064cd3a86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release files / ptmultiviews-1.0.9-py3-none-any.whl

Download URL ptmultiviews-1.0.9-py3-none-any.whl
Size 22.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9b976c5fd9c10ccb61441db45d9e01383df0ecf920633f667d6f67cd7624caad
BLAKE2b-256 checksum
How to use checksums
f76f54d60cca6a1919a640409038e6f7d2a5369d128415ed2ed85cbaeb66d695
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

1.0.9 This release

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page