Projects STRLCPY linuxprivchecker Commits 5803d5cb
🤬
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■ ■
    linuxprivchecker.py
    skipped 226 lines
    227 227  execCmd(devTools)
    228 228   
    229 229  print("[+] Related Shell Escape Sequences...\n")
    230  -escapeCmd = {"vi":[":!bash", ":set shell=/bin/bash:shell"], "awk":["awk 'BEGIN {system(\"/bin/bash\")}'"], "perl":["perl -e 'exec \"/bin/bash\";'"], "find":["find / -exec /usr/bin/awk 'BEGIN {system(\"/bin/bash\")}' \\;"], "nmap":["--interactive"]}
     230 + 
     231 +escapeCmd = {"vi":[":!bash", ":set shell=/bin/bash:shell"],
     232 + "awk":["awk 'BEGIN {system(\"/bin/bash\")}'"],
     233 + "perl":["perl -e 'exec \"/bin/bash\";'"],
     234 + "find":["find / -exec /usr/bin/awk 'BEGIN {system(\"/bin/bash\")}' \\;"],
     235 + "nmap":["--interactive"]}
     236 + 
    231 237  for cmd in escapeCmd:
    232 238   for result in devTools["TOOLS"]["results"]:
    233 239   if cmd in result:
    skipped 15 lines
Please wait...
Page is in error, reload to recover