Created
June 16, 2016 20:10
-
-
Save benichmt1/10d21adaff08d13b9cd3589ff53c3859 to your computer and use it in GitHub Desktop.
Extracting user IDs from Burp output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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