Ever hunted down an exploit on Backtrack only to find it full of ^M characters? Pain in the ass!
I came up with a little python script to clean the file up ready for use!
=========================== CODE ===========================
str_file_in = raw_input(“Enter file name: “)
str_file_out = raw_input(“Enter file output name: “)
os.popen(“cat %s | col -b > %s ” %(str_file_in, str_file_out))