This is a simple Python script that generates a custom URL based on your inputted domain name and saves it to a file called url.txt.
- Interactive prompt for your domain name
- Formats a premade URL string with your input
- Saves the result automatically to
url.txt - No dependencies required—just Python!
-
Clone this repo (or just copy the code):
git clone https://github.com/batmanrizz/url-obfuscator.git cd url-obfuscator -
Run the script:
python main.py
-
Follow the prompt:
Enter your domain name--> example.com -
Check the output:
The URL will be saved in a file calledurl.txtin the same directory.
If you enter:
Enter your domain name--> example.com
The content of url.txt will be:
https://accounts.google.com+signin=secure+v2+identifier=passive@example.com
url_end = input("Enter your domain name--> ")
url = f"https://accounts.google.com+signin=secure+v2+identifier=passive@{url_end}"
with open("url.txt", "w") as f:
f.write(url)