Created
October 18, 2019 09:15
-
-
Save lvaylet/c0c0c20dfaca5c0694956c74737714aa to your computer and use it in GitHub Desktop.
Generate an alphabet pattern for buffer overflow exploits
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
""" | |
>>> python alphabet.py | |
AAAABBBBCCCCDDDDEEEEFFFFGGGGHHHHIIIIJJJJKKKKLLLLMMMMNNNNOOOOPPPPQQQQRRRRSSSSTTTTUUUUVVVVWWWWXXXXYYYYZZZZ | |
""" | |
import string | |
alphabet = ''.join([c*4 for c in string.ascii_uppercase]) | |
print(alphabet) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment