Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6a1e0fb

Browse files
committed
Travis CI patch (no more --check-internet)
1 parent 5c650e1 commit 6a1e0fb

3 files changed

Lines changed: 3 additions & 7 deletions

File tree

lib/controller/checks.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
from extra.beep.beep import beep
1818
from lib.core.agent import agent
1919
from lib.core.common import Backend
20-
from lib.core.common import dataToStdout
2120
from lib.core.common import extractRegexResult
2221
from lib.core.common import extractTextTagContent
2322
from lib.core.common import filterNone
@@ -1595,10 +1594,7 @@ def checkConnection(suppressOutput=False):
15951594

15961595
def checkInternet():
15971596
content = Request.getPage(url=CHECK_INTERNET_ADDRESS, checking=True)[0]
1598-
result = CHECK_INTERNET_VALUE in (content or "")
1599-
if not result and conf.nonInteractive:
1600-
dataToStdout(repr(content))
1601-
return result
1597+
return CHECK_INTERNET_VALUE in (content or "")
16021598

16031599
def setVerbosity(): # Cross-referenced function
16041600
raise NotImplementedError

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from thirdparty.six import unichr as _unichr
1919

2020
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21-
VERSION = "1.4.5.33"
21+
VERSION = "1.4.5.34"
2222
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2323
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2424
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

lib/core/testing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def vulnTest():
4141
("-h", ("to see full list of options run with '-hh'",)),
4242
("--dependencies", ("sqlmap requires", "third-party library")),
4343
("-u <url> --flush-session --wizard", ("Please choose:", "back-end DBMS: SQLite", "current user is DBA: True", "banner: '3.")),
44-
(u"-c <config> --flush-session --roles --statements --hostname --privileges --sql-query=\"SELECT '\u0161u\u0107uraj'\" --technique=U --check-internet", (u": '\u0161u\u0107uraj'", "on SQLite it is not possible", "~no connection detected", "~please check your Internet connection")),
44+
(u"-c <config> --flush-session --roles --statements --hostname --privileges --sql-query=\"SELECT '\u0161u\u0107uraj'\" --technique=U", (u": '\u0161u\u0107uraj'", "on SQLite it is not possible")),
4545
(u"-u <url> --flush-session --sql-query=\"SELECT '\u0161u\u0107uraj'\" --technique=B --no-escape --string=luther --unstable", (u": '\u0161u\u0107uraj'",)),
4646
("--dummy", ("all tested parameters do not appear to be injectable", "does not seem to be injectable", "there is not at least one", "~might be injectable")),
4747
("--list-tampers", ("between", "MySQL", "xforwardedfor")),

0 commit comments

Comments
 (0)