From 0528380d3a7f078f580cc4f782836eaa50cedb5d Mon Sep 17 00:00:00 2001 From: jakob Date: Mon, 28 Aug 2017 13:46:39 -0400 Subject: Initial commit. --- hypodermic/__init__.py | 24 ++++++++++++++++++++++++ hypodermic/__main__.py | 30 ++++++++++++++++++++++++++++++ hypodermic/main.py | 20 ++++++++++++++++++++ 3 files changed, 74 insertions(+) create mode 100644 hypodermic/__init__.py create mode 100644 hypodermic/__main__.py create mode 100644 hypodermic/main.py (limited to 'hypodermic') diff --git a/hypodermic/__init__.py b/hypodermic/__init__.py new file mode 100644 index 0000000..36f59e9 --- /dev/null +++ b/hypodermic/__init__.py @@ -0,0 +1,24 @@ +# Copyright (C) 2017 Jakob Kreuze, All Rights Reserved. +# +# This file is part of Hypodermic. +# +# Hypodermic 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. +# +# Hypodermic 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 Hypodermic. If not, see . + +"""A proof-of-concept shared object injector, designed to be versatile +enough for use on any Linux binary. +""" + +__author__ = "Jakob Kreuze " +__licence__ = "GPLv3" +__version__ = "0.1.0" diff --git a/hypodermic/__main__.py b/hypodermic/__main__.py new file mode 100644 index 0000000..cf6b323 --- /dev/null +++ b/hypodermic/__main__.py @@ -0,0 +1,30 @@ +#!/usr/bin/env python + +# Copyright (C) 2017 Jakob Kreuze, All Rights Reserved. +# +# This file is part of Hypodermic. +# +# Hypodermic 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. +# +# Hypodermic 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 Hypodermic. If not, see . + +"""Main entry point to Hypodermic. Run when the package is invoked as +"hypodermic" or "python -m hypodermic" +""" + +import sys + +from hypodermic.main import main + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/hypodermic/main.py b/hypodermic/main.py new file mode 100644 index 0000000..05d467a --- /dev/null +++ b/hypodermic/main.py @@ -0,0 +1,20 @@ +# Copyright (C) 2017 Jakob Kreuze, All Rights Reserved. +# +# This file is part of Hypodermic. +# +# Hypodermic 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. +# +# Hypodermic 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 Hypodermic. If not, see . + + +def main(): + print("Don't share needles, brah!") -- cgit v1.3