Skip to content

Commit

Permalink
Merge pull request #9 from ghost/master
Browse files Browse the repository at this point in the history
python3 support, pip packaged :)
  • Loading branch information
m4ll0k committed Dec 12, 2019
2 parents e9e9002 + 2dc82a5 commit 9cba396
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ __or:__
```
wget -q https://raw.githubusercontent.com/m4ll0k/takeover/master/takeover.py && python takeover.py
```
__or:__

```
pip install git+https://github.com/m4ll0k/takeover.git
```

## Usage

Expand Down
18 changes: 18 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
from setuptools import setup

setup(name='takeover',
version='0.1',
description='Sub-Domain TakeOver Vulnerability Scanner',
url='https://github.com/m4ll0k/takeover',
author='m4ll0k',
author_email='m4ll0k@protonmail.com',
license='MIT',
scripts=['takeover.py'],
install_requires=[
'requests',
'urllib3',
],
entry_points = {
'console_scripts': ['takeover=takeover:main'],
},
zip_safe=False)
4 changes: 2 additions & 2 deletions takeover.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import time
import getopt
import urllib3
import urlparse
import urllib.parse
import requests

# -- common services
Expand Down Expand Up @@ -125,7 +125,7 @@ def checker(status,content):
def banner():
print("\n /~\\")
print(" C oo ---------------")
print(" _( ^) |T|A|K|E|O|V|E|R|")
print(" _( ^) |T|A|K|E|O|V|E|R|")
print("/ ~\\ ----------------")
print("#> by Momo Outaadi (m4ll0k)")
print("#> http://github.com/m4ll0k")
Expand Down

0 comments on commit 9cba396

Please sign in to comment.