Skip to content

Commit

Permalink
Merged #7788
Browse files Browse the repository at this point in the history
  • Loading branch information
andresriancho committed Jan 26, 2015
1 parent ac98bef commit 755f06d
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
from .ubuntu1204 import Ubuntu1204
from .ubuntu1404 import Ubuntu1404
from .debian76 import Debian76
from .debian78 import Debian78
from .centos import CentOS
from .centos65 import CentOS65
from .fedora import Fedora
Expand Down
33 changes: 33 additions & 0 deletions w3af/core/controllers/dependency_check/platforms/debian78.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
"""
debian78.py
Copyright 2013 Andres Riancho
This file is part of w3af, http://w3af.org/ .
w3af 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 version 2 of the License.
w3af 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 w3af; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
"""
import platform

from .ubuntu1204 import Ubuntu1204


class Debian78(Ubuntu1204):
SYSTEM_NAME = 'Debian 7.8'

@staticmethod
def is_current_platform():
dist_name, dist_version, _ = platform.dist()
return 'debian' == dist_name and '7.8' == dist_version

0 comments on commit 755f06d

Please sign in to comment.