mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Added resume functionality to -d and fixed logging with -d
This commit is contained in:
parent
e0d0913fc6
commit
eecee3b274
10 changed files with 33 additions and 25 deletions
|
|
@ -27,7 +27,8 @@ try:
|
|||
except:
|
||||
import md5
|
||||
import sha
|
||||
|
||||
|
||||
import pickle
|
||||
import sys
|
||||
import struct
|
||||
import urllib
|
||||
|
|
@ -38,7 +39,13 @@ def base64decode(string):
|
|||
return string.decode("base64")
|
||||
|
||||
def base64encode(string):
|
||||
return string.encode("base64")[:-1]
|
||||
return string.encode("base64")[:-1].replace("\n", "")
|
||||
|
||||
def base64pickle(string):
|
||||
return base64encode(pickle.dumps(string))
|
||||
|
||||
def base64unpickle(string):
|
||||
return pickle.loads(base64decode(string))
|
||||
|
||||
def hexdecode(string):
|
||||
string = string.lower()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue