Created
December 28, 2022 09:38
-
-
Save clemente/4dbe4fd4d4e9a8cc88e11f4a731d88f8 to your computer and use it in GitHub Desktop.
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
expregu = "(" | |
for i in range(1, 20000): | |
expregu += str(i) + "|" | |
expregu += ")" | |
comando = "grep -Eo '%s' /etc/passwd" % expregu | |
fi = open("/home/dc/expregu1.sh", "w") | |
fi.write(comando) | |
fi.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment