Skip to content

Instantly share code, notes, and snippets.

@benichmt1
Created June 16, 2016 20:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benichmt1/10d21adaff08d13b9cd3589ff53c3859 to your computer and use it in GitHub Desktop.
Save benichmt1/10d21adaff08d13b9cd3589ff53c3859 to your computer and use it in GitHub Desktop.
Extracting user IDs from Burp output
import re
file = open("/root/Desktop/enum.txt","r")
out = open("enum-out.txt","w")
text = file.read()
m = re.findall(r'workgroup%5C(\w+)',text)
if m:
print ("\n".join(m))
print str(len(m)) + " unique ids processed"
out.write("\n".join(m))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment