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

Skip to content

Commit 18d78a3

Browse files
committed
Removing unused methods
1 parent f9e80ad commit 18d78a3

5 files changed

Lines changed: 6 additions & 34 deletions

File tree

lib/core/agent.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -207,16 +207,6 @@ def _(pattern, repl, string):
207207

208208
return retVal
209209

210-
def fullPayload(self, query):
211-
if conf.direct:
212-
return self.payloadDirect(query)
213-
214-
query = self.prefixQuery(query)
215-
query = self.suffixQuery(query)
216-
payload = self.payload(newValue=query)
217-
218-
return payload
219-
220210
def prefixQuery(self, expression, prefix=None, where=None, clause=None):
221211
"""
222212
This method defines how the input expression has to be escaped

lib/core/common.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3428,21 +3428,6 @@ def listToStrValue(value):
34283428

34293429
return retVal
34303430

3431-
def getExceptionFrameLocals():
3432-
"""
3433-
Returns dictionary with local variable content from frame where exception has been raised
3434-
"""
3435-
3436-
retVal = {}
3437-
3438-
if sys.exc_info():
3439-
trace = sys.exc_info()[2]
3440-
while trace.tb_next:
3441-
trace = trace.tb_next
3442-
retVal = trace.tb_frame.f_locals
3443-
3444-
return retVal
3445-
34463431
def intersect(valueA, valueB, lowerCase=False):
34473432
"""
34483433
Returns intersection of the array-ized values

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.enums import OS
2020

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

lib/core/threads.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,6 @@ def reset(self):
6464

6565
ThreadData = _ThreadData()
6666

67-
def getCurrentThreadUID():
68-
return hash(threading.currentThread())
69-
7067
def readInput(message, default=None, checkBatch=True, boolean=False):
7168
# It will be overwritten by original from lib.core.common
7269
pass

txt/checksum.md5

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ f96467fc5cd1d87f52dd7966c8ae6e79 extra/shutils/regressiontest.py
2525
91c9ef44927b270ea53b6739ff5b2e76 lib/controller/controller.py
2626
d2cdb9e832e18a81e936ca3348144b16 lib/controller/handler.py
2727
5fb9aaf874daa47ea2b672a22740e56b lib/controller/__init__.py
28-
3672210ed0043fe094df8615e4c5c0c0 lib/core/agent.py
28+
c1ba81136151b327c71fd01376376451 lib/core/agent.py
2929
d55b4b58019d6dbfddd40ec919f9f172 lib/core/bigarray.py
30-
3c6534b1ccaa3987565e6c3f683acef5 lib/core/common.py
30+
abcdd166b8b7c7d84bfa3d70a1778f06 lib/core/common.py
3131
54326d3a690f8b26fe5a5da1a589b369 lib/core/convert.py
3232
90b1b08368ac8a859300e6fa6a8c796e lib/core/data.py
3333
1c14bdbf47b8dba31f73da9ad731a54a lib/core/datatype.py
@@ -46,12 +46,12 @@ ec6a778b0e74749b916caead78ba88b7 lib/core/option.py
4646
760d9df2a27ded29109b390ab202e72d lib/core/replication.py
4747
a2466b62e67f8b31736bac4dac590e51 lib/core/revision.py
4848
02d4762140a72fd44668d3dab5eabda9 lib/core/session.py
49-
5a6219d2ab49c9c702002f2d6c77c808 lib/core/settings.py
49+
5cfc263d2081144f63918be068e126e3 lib/core/settings.py
5050
35bffbad762eb9e03db9e93b1c991103 lib/core/shell.py
5151
a59ec28371ae067a6fdd8f810edbee3d lib/core/subprocessng.py
5252
7c9f2af3c0a8dd89223cfe07b0a0b826 lib/core/target.py
5353
df8f6475a53d83400c1a3967c0a21bd7 lib/core/testing.py
54-
20ae9917fa959ea423d8c28c297b37fe lib/core/threads.py
54+
632538fe50f6b3179e1a5a85e8b79741 lib/core/threads.py
5555
a119989ca03f8c8fbdf7d3035084eb31 lib/core/unescaper.py
5656
e7fb8c09fe7520c32895b859c4edf77a lib/core/update.py
5757
c976dd450b663cb4455cd9efbbcf625b lib/core/wordlist.py
@@ -432,7 +432,7 @@ b03fdbf8f427ab614303a03416970927 waf/secureiis.py
432432
2dee94358969c6b8dab8acb2e9560417 waf/sonicwall.py
433433
b384581ce833d147690c7c77c9509bdc waf/sophos.py
434434
e9127a67621440fba41e1cd176890851 waf/stingray.py
435-
6c87858fc902d272d5effc9ebb944deb waf/sucuri.py
435+
b9ede1695617c883e4230e6018753ba4 waf/sucuri.py
436436
313245e511fbe1ee6fb5fd344be88240 waf/tencent.py
437437
64c0e9c4c32adfd3c230705a7f17a63a waf/teros.py
438438
9df516cb9793ba7f906dc0597fdd73a0 waf/trafficshield.py

0 commit comments

Comments
 (0)