Skip to content

Instantly share code, notes, and snippets.

@TAG-Epic
Created June 23, 2018 08:39
Show Gist options
  • Select an option

  • Save TAG-Epic/ded6707b41db9641456d0e6e6619dad8 to your computer and use it in GitHub Desktop.

Select an option

Save TAG-Epic/ded6707b41db9641456d0e6e6619dad8 to your computer and use it in GitHub Desktop.
future>=0.16.0
requests>=2.9.1
paramiko>=1.16.0
pysnmp>=4.3.2
pycrypto==2.6.1
#!/usr/bin/env python3
from __future__ import print_function
import logging.handlers
import sys
if sys.version_info.major < 3:
print("RouterSploit supports only Python3. Rerun application in Python3 environment.")
exit(0)
from routersploit.interpreter import RoutersploitInterpreter
log_handler = logging.handlers.RotatingFileHandler(filename="routersploit.log", maxBytes=500000)
log_formatter = logging.Formatter("%(asctime)s %(levelname)s %(name)s %(message)s")
log_handler.setFormatter(log_formatter)
LOGGER = logging.getLogger()
LOGGER.setLevel(logging.DEBUG)
LOGGER.addHandler(log_handler)
def routersploit():
rsf = RoutersploitInterpreter()
rsf.start()
if __name__ == "__main__":
routersploit()
from setuptools import setup, find_packages
with open("README.md", "r") as f:
long_description = f.read()
setup(
name="routersploit",
version="3.1.0",
description="Exploitation Framework for Embedded Devices",
long_description=long_description,
author="Threat9",
author_email="marcin@threat9.com",
url="https://www.threat9.com",
download_url="https://github.com/threat9/routersploit/",
packages=find_packages(),
include_package_data=True,
entry_points={},
install_requires=[
"future",
"requests",
"paramiko",
"pysnmp",
"pycrypto",
],
extras_require={
"tests": [
"pytest",
"pytest-forked",
"pytest-xdist",
"flake8",
],
},
classifiers=[
"Operating System :: POSIX",
"Environment :: Console",
"Environment :: Console :: Curses",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"Intended Audience :: System Administrators",
"Intended Audience :: Telecommunications Industry",
"Topic :: Security",
"Topic :: System :: Networking",
"Topic :: Utilities",
],
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment