-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from linuxmaniac/master
provide python install
- Loading branch information
Showing
51 changed files
with
252 additions
and
96 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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the | ||
// README at: https://github.com/devcontainers/templates/tree/main/src/python | ||
{ | ||
"name": "Python 3", | ||
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile | ||
"image": "mcr.microsoft.com/devcontainers/python:1-3.11-bullseye", | ||
"features": { | ||
"ghcr.io/devcontainers-contrib/features/black:2": {}, | ||
"ghcr.io/devcontainers-contrib/features/isort:2": {} | ||
} | ||
|
||
// Features to add to the dev container. More info: https://containers.dev/features. | ||
// "features": {}, | ||
|
||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
// "forwardPorts": [], | ||
|
||
// Use 'postCreateCommand' to run commands after the container is created. | ||
// "postCreateCommand": "pip3 install --user -r requirements.txt", | ||
|
||
// Configure tool-specific properties. | ||
// "customizations": {}, | ||
|
||
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. | ||
// "remoteUser": "root" | ||
} |
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 @@ | ||
# general things to ignore | ||
build/ | ||
dist/ | ||
*.egg-info/ | ||
*.egg | ||
*.py[cod] | ||
__pycache__/ | ||
*.so | ||
*~ | ||
|
||
# due to using tox and pytest | ||
.tox | ||
.cache |
File renamed without changes.
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 |
---|---|---|
|
@@ -7,8 +7,8 @@ | |
__copyright__ = "Copyright (C) 2015-2022, SIPPTS" | ||
__email__ = "[email protected]" | ||
|
||
from modules.arpspoof import ArpSpoof | ||
from lib.params import get_spoof_args | ||
from sippts.arpspoof import ArpSpoof | ||
from sippts.lib.params import get_spoof_args | ||
|
||
|
||
def main(): | ||
|
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 |
---|---|---|
|
@@ -7,8 +7,8 @@ | |
__copyright__ = "Copyright (C) 2015-2022, SIPPTS" | ||
__email__ = "[email protected]" | ||
|
||
from modules.rtcpbleed import RTCPBleed | ||
from lib.params import get_rtcpbleed_args | ||
from sippts.rtcpbleed import RTCPBleed | ||
from sippts.lib.params import get_rtcpbleed_args | ||
|
||
|
||
def main(): | ||
|
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 |
---|---|---|
|
@@ -7,8 +7,8 @@ | |
__copyright__ = "Copyright (C) 2015-2022, SIPPTS" | ||
__email__ = "[email protected]" | ||
|
||
from modules.rtpbleed import RTPBleed | ||
from lib.params import get_rtpbleed_args | ||
from sippts.rtpbleed import RTPBleed | ||
from sippts.lib.params import get_rtpbleed_args | ||
|
||
|
||
def main(): | ||
|
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 |
---|---|---|
|
@@ -7,8 +7,8 @@ | |
__copyright__ = "Copyright (C) 2015-2022, SIPPTS" | ||
__email__ = "[email protected]" | ||
|
||
from modules.rtpbleedflood import RTPBleedFlood | ||
from lib.params import get_rtcbleed_flood_args | ||
from sippts.rtpbleedflood import RTPBleedFlood | ||
from sippts.lib.params import get_rtcbleed_flood_args | ||
|
||
|
||
def main(): | ||
|
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 |
---|---|---|
|
@@ -7,8 +7,8 @@ | |
__copyright__ = "Copyright (C) 2015-2022, SIPPTS" | ||
__email__ = "[email protected]" | ||
|
||
from modules.rtpbleedinject import RTPBleedInject | ||
from lib.params import get_rtcbleed_inject_args | ||
from sippts.rtpbleedinject import RTPBleedInject | ||
from sippts.lib.params import get_rtcbleed_inject_args | ||
|
||
|
||
def main(): | ||
|
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 |
---|---|---|
|
@@ -7,8 +7,8 @@ | |
__copyright__ = "Copyright (C) 2015-2022, SIPPTS" | ||
__email__ = "[email protected]" | ||
|
||
from modules.sipcrack import SipDigestCrack | ||
from lib.params import get_sipcrack_args | ||
from sippts.sipcrack import SipDigestCrack | ||
from sippts.lib.params import get_sipcrack_args | ||
|
||
|
||
def main(): | ||
|
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 |
---|---|---|
|
@@ -8,8 +8,8 @@ | |
__email__ = "[email protected]" | ||
|
||
from sys import setdlopenflags | ||
from modules.sipdigestleak import SipDigestLeak | ||
from lib.params import get_sipdigestleak_args | ||
from sippts.sipdigestleak import SipDigestLeak | ||
from sippts.lib.params import get_sipdigestleak_args | ||
|
||
|
||
def main(): | ||
|
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 |
---|---|---|
|
@@ -7,8 +7,8 @@ | |
__copyright__ = "Copyright (C) 2015-2022, SIPPTS" | ||
__email__ = "[email protected]" | ||
|
||
from modules.sipdump import SipDump | ||
from lib.params import get_sipdump_args | ||
from sippts.sipdump import SipDump | ||
from sippts.lib.params import get_sipdump_args | ||
|
||
|
||
def main(): | ||
|
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 |
---|---|---|
|
@@ -7,8 +7,8 @@ | |
__copyright__ = "Copyright (C) 2015-2022, SIPPTS" | ||
__email__ = "[email protected]" | ||
|
||
from modules.sipenumerate import SipEnumerate | ||
from lib.params import get_sipenumerate_args | ||
from sippts.sipenumerate import SipEnumerate | ||
from sippts.lib.params import get_sipenumerate_args | ||
|
||
|
||
def main(): | ||
|
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 |
---|---|---|
|
@@ -7,8 +7,8 @@ | |
__copyright__ = "Copyright (C) 2015-2022, SIPPTS" | ||
__email__ = "[email protected]" | ||
|
||
from modules.sipexten import SipExten | ||
from lib.params import get_sipexten_args | ||
from sippts.sipexten import SipExten | ||
from sippts.lib.params import get_sipexten_args | ||
|
||
|
||
def main(): | ||
|
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 |
---|---|---|
|
@@ -7,8 +7,8 @@ | |
__copyright__ = "Copyright (C) 2015-2022, SIPPTS" | ||
__email__ = "[email protected]" | ||
|
||
from modules.sipflood import SipFlood | ||
from lib.params import get_sipflood_args | ||
from sippts.sipflood import SipFlood | ||
from sippts.lib.params import get_sipflood_args | ||
|
||
|
||
def main(): | ||
|
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 |
---|---|---|
|
@@ -7,8 +7,8 @@ | |
__copyright__ = "Copyright (C) 2015-2022, SIPPTS" | ||
__email__ = "[email protected]" | ||
|
||
from lib.params import get_sipfuzzer_args | ||
from modules.sipfuzzer import SipFuzzer | ||
from sippts.lib.params import get_sipfuzzer_args | ||
from sippts.sipfuzzer import SipFuzzer | ||
|
||
|
||
def main(): | ||
|
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 |
---|---|---|
|
@@ -7,8 +7,8 @@ | |
__copyright__ = "Copyright (C) 2015-2022, SIPPTS" | ||
__email__ = "[email protected]" | ||
|
||
from modules.sipinvite import SipInvite | ||
from lib.params import get_sipinvite_args | ||
from sippts.sipinvite import SipInvite | ||
from sippts.lib.params import get_sipinvite_args | ||
|
||
|
||
def main(): | ||
|
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 |
---|---|---|
|
@@ -7,8 +7,8 @@ | |
__copyright__ = "Copyright (C) 2015-2022, SIPPTS" | ||
__email__ = "[email protected]" | ||
|
||
from modules.sipping import SipPing | ||
from lib.params import get_sipping_args | ||
from sippts.sipping import SipPing | ||
from sippts.lib.params import get_sipping_args | ||
|
||
|
||
def main(): | ||
|
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 |
---|---|---|
|
@@ -7,8 +7,8 @@ | |
__copyright__ = "Copyright (C) 2015-2022, SIPPTS" | ||
__email__ = "[email protected]" | ||
|
||
from modules.siprcrack import SipRemoteCrack | ||
from lib.params import get_sipremotecrack_args | ||
from sippts.siprcrack import SipRemoteCrack | ||
from sippts.lib.params import get_sipremotecrack_args | ||
|
||
|
||
def main(): | ||
|
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 |
---|---|---|
|
@@ -7,8 +7,8 @@ | |
__copyright__ = "Copyright (C) 2015-2022, SIPPTS" | ||
__email__ = "[email protected]" | ||
|
||
from modules.sipscan import SipScan | ||
from lib.params import get_sipscan_args | ||
from sippts.sipscan import SipScan | ||
from sippts.lib.params import get_sipscan_args | ||
|
||
|
||
def main(): | ||
|
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 |
---|---|---|
|
@@ -7,8 +7,8 @@ | |
__copyright__ = "Copyright (C) 2015-2022, SIPPTS" | ||
__email__ = "[email protected]" | ||
|
||
from modules.sipsend import SipSend | ||
from lib.params import get_sipsend_args | ||
from sippts.sipsend import SipSend | ||
from sippts.lib.params import get_sipsend_args | ||
|
||
|
||
def main(): | ||
|
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 |
---|---|---|
|
@@ -7,8 +7,8 @@ | |
__copyright__ = "Copyright (C) 2015-2022, SIPPTS" | ||
__email__ = "[email protected]" | ||
|
||
from modules.sipsniff import SipSniff | ||
from lib.params import get_sniff_args | ||
from sippts.sipsniff import SipSniff | ||
from sippts.lib.params import get_sniff_args | ||
|
||
|
||
def main(): | ||
|
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 |
---|---|---|
|
@@ -7,8 +7,8 @@ | |
__copyright__ = "Copyright (C) 2015-2022, SIPPTS" | ||
__email__ = "[email protected]" | ||
|
||
from modules.siptshark import SipShark | ||
from lib.params import get_tshark_args | ||
from sippts.siptshark import SipShark | ||
from sippts.lib.params import get_tshark_args | ||
|
||
|
||
def main(): | ||
|
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 |
---|---|---|
|
@@ -7,8 +7,8 @@ | |
__copyright__ = "Copyright (C) 2015-2022, SIPPTS" | ||
__email__ = "[email protected]" | ||
|
||
from modules.wssend import WsSend | ||
from lib.params import get_wssend_args | ||
from sippts.wssend import WsSend | ||
from sippts.lib.params import get_wssend_args | ||
|
||
|
||
def main(): | ||
|
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,88 @@ | ||
[project] | ||
name = "sippts" | ||
version = "3.4.dev0" | ||
description = "Tools to audit VoIP servers and devices using SIP protocol" | ||
readme = "README.md" | ||
requires-python = ">=3.7" | ||
license = {file = "LICENSE.txt"} | ||
dynamic = ["dependencies"] | ||
|
||
authors = [ | ||
{name = "Jose Luis Verdeguer", email = "[email protected]" } | ||
] | ||
|
||
maintainers = [ | ||
{name = "Victor Seva", email = "[email protected]" } | ||
] | ||
|
||
# Classifiers help users find your project by categorizing it. | ||
# | ||
# For a list of valid classifiers, see https://pypi.org/classifiers/ | ||
# classifiers = [ # Optional | ||
# # How mature is this project? Common values are | ||
# # 3 - Alpha | ||
# # 4 - Beta | ||
# # 5 - Production/Stable | ||
# "Development Status :: 3 - Alpha", | ||
# | ||
# # Indicate who your project is intended for | ||
# "Intended Audience :: Developers", | ||
# "Topic :: Software Development :: Build Tools", | ||
# | ||
# # Pick your license as you wish | ||
# "License :: OSI Approved :: MIT License", | ||
# | ||
# # Specify the Python versions you support here. In particular, ensure | ||
# # that you indicate you support Python 3. These classifiers are *not* | ||
# # checked by "pip install". See instead "python_requires" below. | ||
# "Programming Language :: Python :: 3", | ||
# "Programming Language :: Python :: 3.7", | ||
# "Programming Language :: Python :: 3.8", | ||
# "Programming Language :: Python :: 3.9", | ||
# "Programming Language :: Python :: 3.10", | ||
# "Programming Language :: Python :: 3.11", | ||
# "Programming Language :: Python :: 3 :: Only", | ||
# ] | ||
|
||
# List additional groups of dependencies here (e.g. development | ||
# dependencies). Users will be able to install these using the "extras" | ||
# syntax, for example: | ||
# | ||
# $ pip install sampleproject[dev] | ||
# | ||
# Similar to `dependencies` above, these must be valid existing | ||
# projects. | ||
#[project.optional-dependencies] # Optional | ||
#dev = ["check-manifest"] | ||
#test = ["coverage"] | ||
|
||
# List URLs that are relevant to your project | ||
# | ||
# This field corresponds to the "Project-URL" and "Home-Page" metadata fields: | ||
# https://packaging.python.org/specifications/core-metadata/#project-url-multiple-use | ||
# https://packaging.python.org/specifications/core-metadata/#home-page-optional | ||
# | ||
# Examples listed include a pattern for specifying where the package tracks | ||
# issues, where the source is hosted, where to say thanks to the package | ||
# maintainers, and where to support the project financially. The key is | ||
# what's used to render the link text on PyPI. | ||
[project.urls] # Optional | ||
"Homepage" = "https://github.com/Pepelux/sippts" | ||
"Bug Reports" = "https://github.com/Pepelux/sippts/issues" | ||
|
||
# This is configuration specific to the `setuptools` build backend. | ||
# If you are using a different build backend, you will need to change this. | ||
[tool.setuptools] | ||
# If there are data files included in your packages that need to be | ||
# installed, specify them here. | ||
#package-data = {"sample" = ["*.dat"]} | ||
|
||
[tool.setuptools.dynamic] | ||
dependencies = {file = ["requirements.txt"] } | ||
|
||
[build-system] | ||
# These are the assumed default build requirements from pip: | ||
# https://pip.pypa.io/en/stable/reference/pip/#pep-517-and-518-support | ||
requires = ["setuptools>=43.0.0", "wheel"] | ||
build-backend = "setuptools.build_meta" | ||
|
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,29 @@ | ||
"""Shim setup file to allow for editable install.""" | ||
|
||
from setuptools import setup | ||
|
||
scripts=[ | ||
"bin/arpspoof", | ||
"bin/rtcpbleed", | ||
"bin/rtpbleed", | ||
"bin/rtpbleedflood", | ||
"bin/rtpbleedinject", | ||
"bin/sipcrack", | ||
"bin/sipdigestleak", | ||
"bin/sipdump", | ||
"bin/sipenumerate", | ||
"bin/sipexten", | ||
"bin/sipflood", | ||
"bin/sipfuzzer", | ||
"bin/sipinvite", | ||
"bin/sipping", | ||
"bin/siprcrack", | ||
"bin/sipscan", | ||
"bin/sipsend", | ||
"bin/sipsniff", | ||
"bin/siptshark", | ||
"bin/wssend", | ||
] | ||
|
||
if __name__ == "__main__": | ||
setup(scripts=scripts) |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.