Skip to content

Commit

Permalink
[packaging] Added initial Debian packaging
Browse files Browse the repository at this point in the history
Signed-off-by: Eugenio Paolantonio (g7) <me@medesimo.eu>
  • Loading branch information
g7 committed Oct 11, 2018
1 parent a46eaa5 commit 0b506c3
Show file tree
Hide file tree
Showing 9 changed files with 112 additions and 0 deletions.
1 change: 1 addition & 0 deletions debian/badkarma.dirs
@@ -0,0 +1 @@
/usr/bin
3 changes: 3 additions & 0 deletions debian/badkarma.install
@@ -0,0 +1,3 @@
/usr/share/badkarma
/usr/share/icons
/usr/share/applications
1 change: 1 addition & 0 deletions debian/badkarma.links
@@ -0,0 +1 @@
/usr/share/badkarma/badkarma.py /usr/bin/badkarma
5 changes: 5 additions & 0 deletions debian/changelog
@@ -0,0 +1,5 @@
badkarma (0.0.1-1) unstable; urgency=medium

* Initial release

-- Eugenio Paolantonio (g7) <me@medesimo.eu> Thu, 13 Sep 2018 20:35:35 +0200
1 change: 1 addition & 0 deletions debian/compat
@@ -0,0 +1 @@
10
37 changes: 37 additions & 0 deletions debian/control
@@ -0,0 +1,37 @@
Source: badkarma
Section: net
Priority: optional
Maintainer: Eugenio Paolantonio (g7) <me@medesimo.eu>
Build-Depends: python3-all-dev (>= 3.2), debhelper (>= 8.0.0)
X-Python3-Version: >= 3.4
Standards-Version: 4.0.1
Homepage: http://github.com/r3vn/badKarma
Vcs-Git: git://github.com/r3vn/badKarma.git
Vcs-Browser: https://github.com/r3vn/badKarma

Package: badkarma
Architecture: all
Depends: ${misc:Depends},
${python3:Depends},
python3 (>= 3.4),
python3-libnmap,
python3-sqlalchemy,
python3-shodan,
python3-gi,
gir1.2-gtk-3.0,
gir1.2-gtk-vnc-2.0,
gir1.2-gtksource-3.0,
gir1.2-vte-2.91,
gir1.2-osmgpsmap-1.0,
gir1.2-webkit2-4.0,
phantomjs,
mitmproxy,
ffmpeg
Description: Advanced network reconnaissance toolkit
badKarma is a python3 GTK+ toolkit that aims to assist penetration
testers during all the network infrastructure penetration testing
activity phases.
.
It allows testers to save time by having point-and-click access to
their toolkits, launch them against single or multiple targets and
interact with them through semplified GUIs or Terminals.
46 changes: 46 additions & 0 deletions debian/copyright
@@ -0,0 +1,46 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: badKarma
Source: http://github.com/r3vn/badKarma

Files: *
Copyright: 2018 Giuseppe Corti
License: GPL-3+

Files: scripts/finger-user-enum.pl
Copyright: 2006 pentestmonkey pentestmonkey@pentestmonkey.net
License: GPL-2

Files: scripts/ftp-user-enum.pl
Copyright: 2006 pentestmonkey pentestmonkey@pentestmonkey.net
License: GPL-2

Files: wordlists/*
Copyright: Public Domain
License: public-domain

Files: debian/*
Copyright: 2018 Eugenio Paolantonio (g7) <me@medesimo.eu>
License: BSD-3-Clause

License: BSD-3-Clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of the <organization> nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.
.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
17 changes: 17 additions & 0 deletions debian/rules
@@ -0,0 +1,17 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1


%:
dh $@ --with python3 --buildsystem=pybuild

override_dh_install:
# FIXME?
1 change: 1 addition & 0 deletions debian/source/format
@@ -0,0 +1 @@
3.0 (quilt)

0 comments on commit 0b506c3

Please sign in to comment.