-
-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Stanislav WEB
committed
Aug 16, 2016
1 parent
388f12d
commit a16a713
Showing
23 changed files
with
150 additions
and
114 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,24 @@ | ||
# .coveragerc to control coverage.py | ||
[run] | ||
branch = True | ||
parallel = true | ||
debug = data | ||
data_file= Tests/coverage | ||
source = /Exceptions/* | ||
/Libraries/* | ||
concurrency = multiprocessing | ||
source = opendoor.py | ||
/Exceptions/* | ||
/Libraries/* | ||
data_file= Tests/reports/.coverage | ||
debug = data | ||
|
||
[paths] | ||
source = opendoor.py | ||
/Exceptions/* | ||
/Libraries/* | ||
source = /Exceptions/* | ||
/Libraries/* | ||
|
||
[report] | ||
ignore_errors = True | ||
show_missing = True | ||
include = | ||
opendoor.py | ||
/Exceptions/* | ||
/Libraries/* | ||
|
||
[html] | ||
directory = Tests/reports/html | ||
|
||
[xml] | ||
output = Tests/reports/xml/coverage.xml | ||
output = Tests/reports/coverage.xml |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,4 @@ | |
*~ | ||
*.swp | ||
Logs/ | ||
.eggs/ | ||
Tests/ | ||
opendoor.egg-info/ |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
language: python | ||
python: '2.7' | ||
sudo: false | ||
python: | ||
- 2.7 | ||
- 3.3 | ||
|
||
before_install: | ||
- python --version | ||
|
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Changelog | ||
------------ | ||
* *v1.0.0* - all the basic functionality is available | ||
* *v1.0.1* - added debug level as param --debug | ||
* *v1.2.1* - added filesystem logger (param --log) | ||
* *v1.2.2* - added example of usage (param --examples) | ||
* *v1.3.2* - added posibility to use random proxy from proxylist (param --proxy) | ||
* *v1.3.3* - simplify dependency installation | ||
* *v1.3.4* - added code quality watcher | ||
* *v1.3.5* - added ReadTimeoutError ProxyError handlers | ||
* *v1.3.51* - fixed code style, resolve file read errors | ||
* *v1.3.52* - code docstyle added | ||
* *v2.3.52* - subdomains scan available! (param --check subdomains). Added databases |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
|
||
0 | ||
000999888 | ||
001 | ||
|
Binary file not shown.
Binary file not shown.
This file contains 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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
OWASP Directory Access scanner | ||
==================== | ||
.. image:: http://dl2.joxi.net/drive/2016/08/04/0001/0378/90490/90/4b4470c268.jpg | ||
:target: http://dl2.joxi.net/drive/2016/08/04/0001/0378/90490/90/4b4470c268.jpg | ||
|
||
.. image:: https://www.quantifiedcode.com/api/v1/project/19d4e9523661432c8fcdc640c1000f94/badge.svg | ||
:target: https://www.quantifiedcode.com/app/project/19d4e9523661432c8fcdc640c1000f94 | ||
|
||
This application scans the site directories and find all possible ways to login, empty directories and entry points. | ||
Scans conducted in the dictionary that is included in this application. | ||
This software is written for informational purposes and is an open source product under the GPL license. | ||
|
||
**Testing of the software on the commercial systems and organizations is prohibited!** | ||
|
||
.. image:: http://dl2.joxi.net/drive/2016/08/12/0001/0378/90490/90/25658c11fe.jpg | ||
:target: http://dl2.joxi.net/drive/2016/08/12/0001/0378/90490/90/25658c11fe.jpg | ||
|
||
Requirements | ||
------------ | ||
* Python 2.7.x | ||
|
||
Install Dependencies | ||
------------ | ||
sudo pip install -r requirements.txt | ||
|
||
Implements | ||
------------ | ||
* multithreading | ||
* filesystem log | ||
* detect redirects | ||
* random user agent | ||
* random proxy from proxy list | ||
* verbose mode | ||
* subdomains scanner | ||
|
||
Changelog | ||
------------ | ||
* *v1.0.0* - all the basic functionality is available | ||
* *v1.0.1* - added debug level as param --debug | ||
* *v1.2.1* - added filesystem logger (param --log) | ||
* *v1.2.2* - added example of usage (param --examples) | ||
* *v1.3.2* - added posibility to use random proxy from proxylist (param --proxy) | ||
* *v1.3.3* - simplify dependency installation | ||
* *v1.3.4* - added code quality watcher | ||
* *v1.3.5* - added ReadTimeoutError ProxyError handlers | ||
* *v1.3.51* - fixed code style, resolve file read errors | ||
* *v1.3.52* - code docstyle added | ||
* *v2.3.52* - subdomains scan available! (param --check subdomains). Added databases | ||
|
||
Basic usage | ||
------------ | ||
python ./opendoor.py --url "http://joomla-ua.org" | ||
|
||
Help | ||
------------ | ||
usage: opendoor.py [-h] [-u URL] [--update] [--examples] [-v] [-c CHECK] | ||
[-t THREADS] [-d DELAY] [-r REST] [--debug DEBUG] [-p] [-l] | ||
|
||
optional arguments: | ||
-h, --help show this help message and exit | ||
--update Update from version control | ||
--examples Examples of usage | ||
-v, --version Get current version | ||
-c CHECK, --check CHECK | ||
Directory scan eg --check=directories or subdomains | ||
(directories by default) | ||
-t THREADS, --threads THREADS | ||
Allowed threads | ||
-d DELAY, --delay DELAY | ||
Delay between requests | ||
-r REST, --rest REST Request timeout | ||
--debug DEBUG Debug level (0 by default) | ||
-p, --proxy Use proxy list | ||
-l, --log Use filesystem log | ||
|
||
required named arguments: | ||
-u URL, --url URL URL or page to scan; -u http://example.com |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import unittest | ||
from Libraries import Controller; | ||
|
||
class ControllerTest(unittest.TestCase): | ||
|
||
@unittest.skip("update_action") | ||
def test_update_action(self): | ||
Controller.update_action(); | ||
pass | ||
|
||
@unittest.skip("update_action") | ||
def test_version_action(self): | ||
Controller.version_action() | ||
pass | ||
|
||
@unittest.skip("url_action") | ||
def test_url_action(self): | ||
Controller.url_action(None) | ||
pass | ||
|
||
@unittest.skip("examples_action") | ||
def test_examples_action(self): | ||
Controller.examples_action() | ||
pass |
Empty file.
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,48 @@ | ||
#! /usr/bin/env python | ||
|
||
# OpenDoor Web Directory Scanner | ||
# Copyright (C) 2016 Stanislav Menshov | ||
# | ||
# This program 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. | ||
# | ||
# This program 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 this program. If not, see <http://www.gnu.org/licenses/>. | ||
# | ||
# Development Team: Stanislav Menshov (Stanislav WEB) | ||
|
||
from setuptools import setup, find_packages | ||
from Libraries import Version | ||
|
||
|
||
setup( | ||
name='opendoor', | ||
version=Version.get_local_version(), | ||
packages=find_packages(), | ||
url='https://github.com/stanislav-web/OpenDoor', | ||
license='GPL', | ||
test_suite='tests', | ||
test_suite='Tests', | ||
author='Stanislav Menshov', | ||
author_email='stanisov@gmail.com', | ||
description='OWASP Directory Access scanner', | ||
long_description=open('README.md').read(), | ||
long_description=open('README.rst').read(), | ||
entry_points={ | ||
'console_scripts': [ | ||
'coveralls = coveralls.cli:main', | ||
], | ||
}, | ||
scripts = ['opendoor.py'], | ||
install_requires=[line.rstrip('\n') for line in open('requirements.txt')], | ||
|
||
classifiers=[ | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: GPL', | ||
'Operating System :: OS Independent', | ||
'Programming Language :: Python', | ||
'Topic :: Software Development :: Build Tools', | ||
'Topic :: Software Development :: Libraries :: Python Modules', | ||
], | ||
) |