[Forensics-changes] [pompem] 02/02: Imported Debian patch 0.2.0-1

Giovani Augusto Ferreira giovani-guest at moszumanska.debian.org
Mon Aug 15 23:59:50 UTC 2016


This is an automated email from the git hooks/post-receive script.

giovani-guest pushed a commit to branch debian
in repository pompem.

commit 7f1dc27c0c9a568d0486b555c2d3079c96f39f76
Merge: 52be142 34d92c4
Author: Giovani Augusto Ferreira <giovani at riseup.net>
Date:   Sun Aug 7 20:56:05 2016 -0300

    Imported Debian patch 0.2.0-1

 README.markdown                              |   36 +-
 bootstrap/css/bootstrap-responsive.css       | 1088 -----
 bootstrap/css/bootstrap-responsive.min.css   |    9 -
 bootstrap/css/bootstrap.css                  | 6195 --------------------------
 bootstrap/css/bootstrap.min.css              |    9 -
 bootstrap/img/glyphicons-halflings-white.png |  Bin 8777 -> 0 bytes
 bootstrap/img/glyphicons-halflings.png       |  Bin 12799 -> 0 bytes
 bootstrap/js/bootstrap.js                    | 2026 ---------
 bootstrap/js/bootstrap.min.js                |    6 -
 bots/__init__.py                             |    5 -
 bots/bot_base.py                             |   24 -
 bots/day.py                                  |   49 -
 bots/exploit_db.py                           |   44 -
 bots/packet_storm.py                         |   45 -
 bots/security_vulns.py                       |   38 -
 common/__init__.py                           |    0
 common/html_page/base.html                   |   32 +
 common/html_page/style.css                   |   11 +
 common/print_messages.py                     |   57 +
 common/writers.py                            |   95 +
 core/__init__.py                             |    0
 core/exploit_finder.py                       |   43 +
 core/request_worker.py                       |   60 +
 core/scrapers.py                             |  280 ++
 debian/changelog                             |   18 +
 debian/control                               |   16 +-
 debian/copyright                             |   37 +-
 debian/install                               |    6 +-
 pompem.1 => debian/manpage/pompem.1          |   19 +-
 debian/manpages                              |    2 +-
 debian/patches/add-shebang-line.patch        |   73 +
 debian/patches/series                        |    1 +
 debian/rules                                 |    4 +-
 engine/__init__.py                           |    2 -
 engine/exec_and_print.py                     |   71 -
 engine/functions.py                          |  130 -
 engine/html/base.html                        |   54 -
 engine/router.py                             |   70 -
 engine/spider.py                             |   76 -
 engine/update.py                             |   64 -
 model/__init__.py                            |    5 -
 model/result.py                              |    8 -
 pompem.py                                    |   92 +-
 requirements.txt                             |    3 +-
 44 files changed, 742 insertions(+), 10161 deletions(-)

diff --cc debian/changelog
index 648ba4e,0000000..2738583
mode 100644,000000..100644
--- a/debian/changelog
+++ b/debian/changelog
@@@ -1,31 -1,0 +1,49 @@@
++pompem (0.2.0-1) unstable; urgency=medium
++
++  * New upstream release
++  * debian/control:
++      - Bumped Standards-Version to 3.9.8.
++      - Updated depends to python3.5 and python3-requests.
++      - Updated and improved the descriptions.
++  * debian/copyright:
++      - Updated all information after be refactored source code by upstream.
++  * debian/manpage/pompem.1:
++      - Included and updated after the upstream remove their.
++  * debian/patches/add-shebang-line.patch:
++      - Created to add the Shebang Line in .py files.
++  * debian/rules:
++      - Updated override in dh_fixperms to set correct permissions.
++
++ -- Giovani Augusto Ferreira <giovani at riseup.net>  Sun, 07 Aug 2016 20:56:05 -0300
++
 +pompem (0.1.0-3) unstable; urgency=medium
 +
 +  * debian/control:
 +      - Bumped Standards-Version to 3.9.7.
 +      - Changed from cgit to git in Vcs-Browser field.
 +      - Updated the Vcs-* fields to use https instead of http and git.
 +  * debian/watch: bumped to version 4.
 +
 + -- Giovani Augusto Ferreira <giovani at riseup.net>  Wed, 23 Mar 2016 20:22:20 -0300
 +
 +pompem (0.1.0-2) unstable; urgency=medium
 +
 +  [ Giovani Augusto Ferreira ]
 +
 +  * Set Debian Forensics as maintainer, added myself to uploaders.
 +  * Improved and updated long description.
 +  * Moved python-beautifulsoup and python-requests from Build-Depends to
 +    Depends field.
 +
 +  [ Joao Eriberto Mota Filho ]
 +
 +  * debian/control: added Vcs-* fields.
 +  * debian/copyright: added my name at debian/* block.
 +
 + -- Giovani Augusto Ferreira <giovani at riseup.net>  Thu, 22 Oct 2015 21:02:03 -0200
 +
 +pompem (0.1.0-1) unstable; urgency=low
 +
 +  * Initial release (Closes: #797367)
 +
 + -- Giovani Augusto Ferreira <giovani at riseup.net>  Thu, 13 Aug 2015 14:49:01 -0300
diff --cc debian/control
index a23450e,0000000..cf4d2bf
mode 100644,000000..100644
--- a/debian/control
+++ b/debian/control
@@@ -1,21 -1,0 +1,23 @@@
 +Source: pompem
 +Section: utils
 +Priority: optional
 +Maintainer: Debian Forensics <forensics-devel at lists.alioth.debian.org>
 +Uploaders: Giovani Augusto Ferreira <giovani at riseup.net>
- Build-Depends: debhelper (>= 9), python
- Standards-Version: 3.9.7
++Build-Depends: debhelper (>= 9), python3.5
++Standards-Version: 3.9.8
 +Homepage: https://github.com/rfunix/Pompem
 +Vcs-Browser: https://anonscm.debian.org/git/forensics/pompem.git
 +Vcs-Git: https://anonscm.debian.org/git/forensics/pompem.git
 +
 +Package: pompem
 +Architecture: all
- Depends: python, python-beautifulsoup, python-requests, ${misc:Depends}
- Description: automate the search for exploits in various databases
-  Find exploit with a system of advanced search, thus facilitating the work
-  of pentesters, ethical hackers and forensics expert. Performs searches in
-  databases: Exploit-db, 1337day, Packetstorm Security. This tool is essential
++Depends: python3-requests, python3.5, ${misc:Depends}
++Description: Exploit and Vulnerability Finder
++ Find exploit with a system of advanced search, designed to automate the search
++ for Exploits and Vulnerability in the most important databases facilitating
++ the work of pentesters, ethical hackers and forensics expert. Performs searches
++ in databases: PacketStorm security, CXSecurity, ZeroDay, Vulners, National
++ Vulnerability Database, WPScan Vulnerability Database. This tool is essential
 + in the security of networks and systems.
 + .
 + The search results can be exported to HTML or text format.
diff --cc debian/copyright
index 0c8c908,0000000..27566e9
mode 100644,000000..100644
--- a/debian/copyright
+++ b/debian/copyright
@@@ -1,59 -1,0 +1,30 @@@
 +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 +Upstream-Name: pompem
 +Source: https://github.com/rfunix/Pompem
 +
 +Files: *
- Copyright: 2015 Rafael Francischini <rafinha.unix at gmail.com>
-            2015 Bruno Fraga <officer at brunofraga.net>
++Copyright: 2015-2016 Rafael Francischini <rafinha.unix at gmail.com>
++           2015-2016 Bruno Fraga <officer at brunofraga.net>
 +License: GPL-3+
 +
- Files: pompem.1
- Copyright: 2015 Giovani Augusto Ferreira <giovani at riseup.net>
- License: GPL-3+
- 
- Files:bootstrap/css/bootstrap.min.css
-       bootstrap/css/bootstrap-responsive.min.css
-       bootstrap/css/bootstrap.css
-       bootstrap/css/bootstrap-responsive.css
-       bootstrap/js/bootstrap.min.js
-       bootstrap/js/bootstrap.js
- Copyright: 2012 Twitter, Inc
- License: Apache-2
- 
 +Files: debian/*
- Copyright: 2015 Giovani Augusto Ferreira <giovani at riseup.net>
-            2015 Joao Eriberto Mota Filho <eriberto at debian.org>
++Copyright: 2015-2016 Giovani Augusto Ferreira <giovani at riseup.net>
++           2015      Joao Eriberto Mota Filho <eriberto at debian.org>
 +License: GPL-3+
 +
 +License: GPL-3+
 + This program 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.
 + .
 + This package 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 this program. If not, see <http://www.gnu.org/licenses/>.
 + .
 + On Debian systems, the complete text of the GNU General
 + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
- 
- License: Apache-2
-  Licensed under the Apache License, Version 2.0 (the "License");
-  you may not use this file except in compliance with the License.
-  You may obtain a copy of the License at
-  .
-     http://www.apache.org/licenses/LICENSE-2.0
-  .
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
-  .
-  On Debian-based systems the full text of the Apache version 2.0 license
-  can be found in /usr/share/common-licenses/Apache-2.0.
diff --cc debian/install
index bcd97da,0000000..a11e47b
mode 100644,000000..100644
--- a/debian/install
+++ b/debian/install
@@@ -1,5 -1,0 +1,3 @@@
- bootstrap/ /usr/share/pompem
- bots/ /usr/share/pompem
- engine/ /usr/share/pompem
- model/ /usr/share/pompem
++common/ /usr/share/pompem
++core/ /usr/share/pompem
 +pompem.py /usr/share/pompem
diff --cc debian/manpage/pompem.1
index 60100aa,0000000..7356383
mode 100644,000000..100644
--- a/debian/manpage/pompem.1
+++ b/debian/manpage/pompem.1
@@@ -1,47 -1,0 +1,52 @@@
- .TH pompem "1" "Ago 2015" "POMPEM 0.0" "automate the search for exploits in several databases"
++.TH pompem "1" "Ago 2016" "POMPEM 0.2.0" "Exploit and Vulnerability Finder"
 +.\" Text automatically generated by txt2man
 +.SH NAME
- \fBpompem \fP- automate the search for exploits in various databases
++\fBpompem \fP- Exploit and Vulnerability Finder
 +.SH SYNOPSIS
 +.nf
 +.fam C
 +\fBpompem\fP [\fIOPTIONS\fP] <keyword>
 +.fam T
 +.fi
 +.fam T
 +.fi
 +.SH DESCRIPTION
- Pompem is an advanced engine which search for exploits in major databases,
- facilitating the work of pentesters and ethical hackers. Currently, the
- following databases are used: Exploit-db, 1337day and Packetstorm Security.
++Find exploit with a system of advanced search, designed to automate the search
++for Exploits and Vulnerability in the most important databases facilitating
++the work of pentesters, ethical hackers and forensics expert. Performs searches
++in databases: PacketStorm security, CXSecurity, ZeroDay, Vulners, National
++Vulnerability Database, WPScan Vulnerability Database. This tool is essential
++in the security of networks and systems.
 +.PP
 +The search results can be exported to HTML or text format.
- .PP
- Pompem is also useful to improve the network security.
 +.SH OPTIONS
 +.TP
 +.B
 +\fB-s\fP | \fB--search\fP <keyword>
 +Search by <keyword>
 +.TP
 +.B
 +\fB--txt\fP
 +Write txt file
 +.TP
 +.B
 +\fB--html\fP
 +Write html file
 +.TP
 +.B
++\fB--update\fP
++Upgrade to latest version
++.TP
++.B
 +\fB-g\fP | \fB--get\fP
 +Download exploit files
 +.TP
 +.B
 +\fB-h\fP | \fB--help\fP
 +Get basic options and Help
 +.SH AUTHOR
 +The POMPEM was written by Rafael Francischini <rafinha.unix at gmail.com>
 +and Bruno Fraga <officer at brunofraga.net>
 +.PP
 +This manual page was written by Giovani Augusto Ferreira <giovani at riseup.net>
 +for the Debian project (but may be used by others).
diff --cc debian/manpages
index cbb2ccd,0000000..884f6c2
mode 100644,000000..100644
--- a/debian/manpages
+++ b/debian/manpages
@@@ -1,1 -1,0 +1,1 @@@
- pompem.1
++debian/manpage/pompem.1
diff --cc debian/patches/add-shebang-line.patch
index 0000000,0000000..7f3c2b2
new file mode 100644
--- /dev/null
+++ b/debian/patches/add-shebang-line.patch
@@@ -1,0 -1,0 +1,73 @@@
++Description: - Adding the Shebang Line in .py files.
++Author: Giovani Augusto Ferreira <giovani at riseup.net>
++Last-Update: 2016-08-12
++Index: pompem-0.2.0/common/__init__.py
++===================================================================
++--- /dev/null
+++++ pompem-0.2.0/common/__init__.py
++@@ -0,0 +1 @@
+++#!/usr/bin/python3.5
++Index: pompem-0.2.0/common/print_messages.py
++===================================================================
++--- pompem-0.2.0.orig/common/print_messages.py
+++++ pompem-0.2.0/common/print_messages.py
++@@ -1,4 +1,4 @@
++-#!/usr/bin/python
+++#!/usr/bin/python3.5
++ # -*- coding: utf-8 -*-
++ 
++ HELP_MESSAGE = """
++Index: pompem-0.2.0/common/writers.py
++===================================================================
++--- pompem-0.2.0.orig/common/writers.py
+++++ pompem-0.2.0/common/writers.py
++@@ -1,3 +1,4 @@
+++#!/usr/bin/python3.5
++ # -*- coding: utf-8 -*-
++ import os
++ import sys
++Index: pompem-0.2.0/core/__init__.py
++===================================================================
++--- /dev/null
+++++ pompem-0.2.0/core/__init__.py
++@@ -0,0 +1 @@
+++#!/usr/bin/python3.5
++Index: pompem-0.2.0/core/exploit_finder.py
++===================================================================
++--- pompem-0.2.0.orig/core/exploit_finder.py
+++++ pompem-0.2.0/core/exploit_finder.py
++@@ -1,4 +1,4 @@
++-#!/usr/bin/python
+++#!/usr/bin/python3.5
++ # -*- coding: utf-8 -*-
++ 
++ NUM_WORKERS = 5
++Index: pompem-0.2.0/core/request_worker.py
++===================================================================
++--- pompem-0.2.0.orig/core/request_worker.py
+++++ pompem-0.2.0/core/request_worker.py
++@@ -1,3 +1,4 @@
+++#!/usr/bin/python3.5
++ # -*- coding: utf-8 -*-
++ from threading import Thread
++ import requests
++Index: pompem-0.2.0/core/scrapers.py
++===================================================================
++--- pompem-0.2.0.orig/core/scrapers.py
+++++ pompem-0.2.0/core/scrapers.py
++@@ -1,4 +1,4 @@
++-#!/usr/bin/python
+++#!/usr/bin/python3.5
++ # -*- coding: utf-8 -*-
++ 
++ from threading import Thread
++Index: pompem-0.2.0/pompem.py
++===================================================================
++--- pompem-0.2.0.orig/pompem.py
+++++ pompem-0.2.0/pompem.py
++@@ -1,4 +1,4 @@
++-#!/usr/bin/python
+++#!/usr/bin/python3.5
++ # -*- coding: utf-8 -*-
++ 
++ import optparse
diff --cc debian/patches/series
index 0000000,0000000..0261a0f
new file mode 100644
--- /dev/null
+++ b/debian/patches/series
@@@ -1,0 -1,0 +1,1 @@@
++add-shebang-line.patch
diff --cc debian/rules
index 6722f4a,0000000..a13fa89
mode 100755,000000..100755
--- a/debian/rules
+++ b/debian/rules
@@@ -1,11 -1,0 +1,11 @@@
 +#!/usr/bin/make -f
 +#export DH_VERBOSE = 1
 +
 +DIR2FIX=$(CURDIR)/debian/pompem/usr/share/pompem
 +
 +%:
 +	dh $@ 
 +
 +override_dh_fixperms:
- 	find $(DIR2FIX) -type f -not -name '*.py' -exec chmod 644 {} \;
- 	dh_fixperms
++	find $(DIR2FIX) -type f -name '*.py' -exec chmod +x {} \;
++	dh_fixperms

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/pompem.git



More information about the forensics-changes mailing list