This script reads in the input file line by line and writes the encoded lines to the output file. It skips any empty lines in the input file.
You can use this script by replacing input.txt
with the name of your input file and output.txt
with the name of the output file you want to create.
Useful for when you have a password or vuln list that has blank lines you need to clean up before running them through your scanners.