From 3770cc2dd5a47cdd524f2a634db6eb0f783d5ede Mon Sep 17 00:00:00 2001 From: acevest Date: Mon, 1 Aug 2016 12:54:50 +0800 Subject: [PATCH] ... --- tools/hack/sqlinject.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/hack/sqlinject.py b/tools/hack/sqlinject.py index af4f272..d252417 100755 --- a/tools/hack/sqlinject.py +++ b/tools/hack/sqlinject.py @@ -12,6 +12,7 @@ import random import urllib import urllib2 import argparse +import string gArgs = None @@ -35,7 +36,7 @@ def IsErrPage(html) : def getRandStr(length) : rs = '' - cs = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ' + cs = string.ascii_letters for i in range(0, length) : inx = random.randint(0, len(cs)-1) rs += cs[inx] -- 2.44.0