make sure to use Python 2 interpreter when default system Python is version 3

This commit is contained in:
Bernardo Damele 2013-02-14 11:25:04 +00:00
parent 6629233de5
commit a67ef4117f
257 changed files with 258 additions and 259 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
beep.py - Make a beep sound

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
cloak.py - Simple file encryption/compression utility

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
dbgtool.py - Portable executable to ASCII debug script converter

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
#
# icmpsh - simple icmp command shell (port of icmpsh-m.pl written in
# Perl by Nico Leidecker <nico@leidecker.info>)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
#
# icmpsh - simple icmp command shell (port of icmpsh-m.pl written in
# Perl by Nico Leidecker <nico@leidecker.info>)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
safe2bin.py - Simple safe(hex) to binary format converter

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
# Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)
# See the file 'doc/COPYING' for copying permission

View File

@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python2
# Runs pylint on all python scripts found in a directory tree
# Reference: http://rowinggolfer.blogspot.com/2009/08/pylint-recursively.html

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
# Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)
# See the file 'doc/COPYING' for copying permission

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
import codecs
import os

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)
@ -178,8 +178,7 @@ class Xp_cmdshell:
return agent.runAsDBMSUser(self._forgedCmd)
def xpCmdshellExecCmd(self, cmd, silent=False):
cmd = self.xpCmdshellForgeCmd(cmd)
return inject.goStacked(cmd, silent)
return inject.goStacked(self.xpCmdshellForgeCmd(cmd), silent)
def xpCmdshellEvalCmd(self, cmd, first=None, last=None):
if conf.direct:

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/)

Some files were not shown because too many files have changed in this diff Show More