Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import idna
- class Fuzzer():
- def __init__(self):
- self.domain = idna.decode(domain)
- def _hyphenation(self):
- return {self.domain[:i] + '-' + self.domain[i:] for i in range(1, len(self.domain))}
- from file import Fuzzer
- if __name__ == '__main__':
- inputdomain = input("insert domain name: \n")
- print(Fuzzer._hyphenation(domain=inputDomain))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement