paullab Posted August 23, 2006 Share Posted August 23, 2006 (edited) Converts any file (including exe's) into a text file that will pass through most e-mail filtersThis is great when you need to send an autoit executable file via e-mailTo re-create the original file, simply rename the .txt file to a .bat and execute it. tested to work happily with exes, zips, dll,7z etcCode updated to handle long paths and filenames with spaces betterOriginal passthru.au3 downloasded 47 times.This version is an updated much faster one.Fast Version Downloaded 336 TimesNow includes a minor update to create the Text File in the same directory as the source and not in the Script directoryas well as some additional speed improvement by using the autoit file functions correctly as well as compile using 3.2.10.0Passthru.au3 Edited November 28, 2007 by paullab Wallpaper Rotatorwith overlay, Loop through a folder of wallpaper & another of overlay, then create a combined image and set it as the wallpaperE-Mail passthru, Send any file, even executables via e-mail as plain text. The recipient can then later re-construct them.Slideshow widget, A slideshow widget similar to the Vista onePredictive typing using the Numpad, Predictive typing using the numpad of a keyboar similar to that on a mobile phone (the key is the .t16 file).PSTools Front End, For Remote Admin. Just makes life a lot easier (Demonstrates executing external programs and passing parameters, tabbed form Handling STDIN/STDERR)FTP Helper application Up and Download files from an FTP server demonstrates this and Tooltray TipsShow a Map of your Post-codes/Zip Codes, Uses the Clipboard, Hotkeys, the system tray (incl. menus)Disc/CD/DVD Catalogue, Ideal for all those Covermount Discs (Demonstrates Array handling, executing DOS programs, handling STDIN/STDOUT recursive directory reads, file searching.)YAST , Yet another Stopwatch/Timer (Uses a hotkey, Copies to clipboard, handles multiple events and stays on top)Keyboard Status Indicator , Indicates status of NumLock, Caps Lock and Scroll Lock Keys, demonstrates API calling & System tray Icon Toggling Link to comment Share on other sites More sharing options...
blitzkrg Posted August 23, 2006 Share Posted August 23, 2006 Converts any file (including exe's) into a text file that will pass through most e-mail filters This is great when you need to send an autoit executable file via e-mail To re-create the original file, simply rename the .txt file to a .bat and execute it. tested to work happily with exes, zips, dll,7z etc this is great. my work email blocks everything.. i will give it a test now Link to comment Share on other sites More sharing options...
NELyon Posted August 23, 2006 Share Posted August 23, 2006 Wow! Testing on GIF's. Works fine! Link to comment Share on other sites More sharing options...
trids Posted August 23, 2006 Share Posted August 23, 2006 Coool! .. i LOVE the idea .. and it works fine with a GIF, but not a JPG Link to comment Share on other sites More sharing options...
blitzkrg Posted August 23, 2006 Share Posted August 23, 2006 Coool! .. i LOVE the idea .. and it works fine with a GIF, but not a JPG tested on 68k exe file.it worked but took a long time to encode/decode on a 2.4ghz boxi would imagine someone on here can do this in pure autoit..great idea though. Link to comment Share on other sites More sharing options...
trids Posted August 23, 2006 Share Posted August 23, 2006 OK .. i ran everything in a DOS folder (Where each subfolder is no more than 8 characters), and now the JPG works and a BMP too (which previously didn't). Very cool Link to comment Share on other sites More sharing options...
paullab Posted October 26, 2006 Author Share Posted October 26, 2006 (edited) Now Updated to run loads and loads faster, A File that previously took 2 minutes and 44 seconds now takes 9 seconds !!! All that was done was really really obvious (there is no need to specify next the record when sequentially reading lines from a file!!) Download updated version from Original post. Edited November 15, 2006 by paullab Wallpaper Rotatorwith overlay, Loop through a folder of wallpaper & another of overlay, then create a combined image and set it as the wallpaperE-Mail passthru, Send any file, even executables via e-mail as plain text. The recipient can then later re-construct them.Slideshow widget, A slideshow widget similar to the Vista onePredictive typing using the Numpad, Predictive typing using the numpad of a keyboar similar to that on a mobile phone (the key is the .t16 file).PSTools Front End, For Remote Admin. Just makes life a lot easier (Demonstrates executing external programs and passing parameters, tabbed form Handling STDIN/STDERR)FTP Helper application Up and Download files from an FTP server demonstrates this and Tooltray TipsShow a Map of your Post-codes/Zip Codes, Uses the Clipboard, Hotkeys, the system tray (incl. menus)Disc/CD/DVD Catalogue, Ideal for all those Covermount Discs (Demonstrates Array handling, executing DOS programs, handling STDIN/STDOUT recursive directory reads, file searching.)YAST , Yet another Stopwatch/Timer (Uses a hotkey, Copies to clipboard, handles multiple events and stays on top)Keyboard Status Indicator , Indicates status of NumLock, Caps Lock and Scroll Lock Keys, demonstrates API calling & System tray Icon Toggling Link to comment Share on other sites More sharing options...
HackerZer0 Posted October 26, 2006 Share Posted October 26, 2006 i would imagine someone on here can do this in pure autoit..you can't write it in only autoit, you need the .bat file to change it back...they can't change the file back with an exe, because you can't mail it to them in the first place...and if they had Autoit installed you could just email the .au3 file...------------------------------i think this is a long and drawn out way to do this, i would prefer making a .bat file that said:@echo offren FILENAME.exe FILENAME.txtto change it, and send them the disguised exe file along with a .bat file that said:@echo offren FILENAME.txt FILENAME.exedel %0and mail them both files with short instructions that said:put both of the files in the same directory (don't change names) and run the .bat file, then run the newly created .exe file...anyone who can't comprehend that probably isn't someone you would wish to send executable files to anyway...good job tho : ) lol Earn money on CASHCRATE by sitting around doing nothing.. Link to comment Share on other sites More sharing options...
paullab Posted October 27, 2006 Author Share Posted October 27, 2006 (edited) Yup the rename trick used to work, but the bl**dy filter we now use finds renamed exe files and even kills exe file inside zipfiles. not to mention vbs, bas, com, reg, ini and loads more. i have to send .bat files as .txt otherwise they are also stripped out. Edited October 27, 2006 by paullab Wallpaper Rotatorwith overlay, Loop through a folder of wallpaper & another of overlay, then create a combined image and set it as the wallpaperE-Mail passthru, Send any file, even executables via e-mail as plain text. The recipient can then later re-construct them.Slideshow widget, A slideshow widget similar to the Vista onePredictive typing using the Numpad, Predictive typing using the numpad of a keyboar similar to that on a mobile phone (the key is the .t16 file).PSTools Front End, For Remote Admin. Just makes life a lot easier (Demonstrates executing external programs and passing parameters, tabbed form Handling STDIN/STDERR)FTP Helper application Up and Download files from an FTP server demonstrates this and Tooltray TipsShow a Map of your Post-codes/Zip Codes, Uses the Clipboard, Hotkeys, the system tray (incl. menus)Disc/CD/DVD Catalogue, Ideal for all those Covermount Discs (Demonstrates Array handling, executing DOS programs, handling STDIN/STDOUT recursive directory reads, file searching.)YAST , Yet another Stopwatch/Timer (Uses a hotkey, Copies to clipboard, handles multiple events and stays on top)Keyboard Status Indicator , Indicates status of NumLock, Caps Lock and Scroll Lock Keys, demonstrates API calling & System tray Icon Toggling Link to comment Share on other sites More sharing options...
HackerZer0 Posted October 27, 2006 Share Posted October 27, 2006 you could use an encryption algorithm...or trick the mail server into not scanning, but i don't think im at a grounds to explain how to do so, i do believe explaining further will get me into some trouble so i plead the 5th on weather or not i have obtained such information, and to weather or not my name portays me with any accuracy... : ) Earn money on CASHCRATE by sitting around doing nothing.. Link to comment Share on other sites More sharing options...
paullab Posted December 31, 2006 Author Share Posted December 31, 2006 This is primarily used to send the ftphelper application to sites with fairly tight restrictions on e-mail attachments etc. then can then easily fetch large file without needing to know ip adresses, usernames & passwords etc. It is/was not intended for devious use (as may have been implied in some responses). This is difficult anyway as the recipient needs to perform at least 4 positive actions to re-create the file sent to them 1. save the text file 2. rename to bat 3. execute the bat 4. execute/view/open the re-created file Wallpaper Rotatorwith overlay, Loop through a folder of wallpaper & another of overlay, then create a combined image and set it as the wallpaperE-Mail passthru, Send any file, even executables via e-mail as plain text. The recipient can then later re-construct them.Slideshow widget, A slideshow widget similar to the Vista onePredictive typing using the Numpad, Predictive typing using the numpad of a keyboar similar to that on a mobile phone (the key is the .t16 file).PSTools Front End, For Remote Admin. Just makes life a lot easier (Demonstrates executing external programs and passing parameters, tabbed form Handling STDIN/STDERR)FTP Helper application Up and Download files from an FTP server demonstrates this and Tooltray TipsShow a Map of your Post-codes/Zip Codes, Uses the Clipboard, Hotkeys, the system tray (incl. menus)Disc/CD/DVD Catalogue, Ideal for all those Covermount Discs (Demonstrates Array handling, executing DOS programs, handling STDIN/STDOUT recursive directory reads, file searching.)YAST , Yet another Stopwatch/Timer (Uses a hotkey, Copies to clipboard, handles multiple events and stays on top)Keyboard Status Indicator , Indicates status of NumLock, Caps Lock and Scroll Lock Keys, demonstrates API calling & System tray Icon Toggling Link to comment Share on other sites More sharing options...
Bounda Posted December 31, 2006 Share Posted December 31, 2006 zomgz i needed dis soo much CS:S Aimbot - List From INI Funcs Link to comment Share on other sites More sharing options...
Richard Robertson Posted December 31, 2006 Share Posted December 31, 2006 If you just put passwords on the zip files, the server can't do anything about it unless it feels like brute forcing the information. Link to comment Share on other sites More sharing options...
paullab Posted January 2, 2007 Author Share Posted January 2, 2007 If you just put passwords on the zip files, the server can't do anything about it unless it feels like brute forcing the information.The issue is not the content of the attachment, it is the attachment itself and the fact that it gets blocked by the e-mail filter that is really doing the right thing. (ours, and most customers, block zips, 7z and most other archive formats along with the others expected.) This then causes all the problems associated with getting the file released. This util circumvents all the trauma by sending a plain text file that is then re-constructed. Wallpaper Rotatorwith overlay, Loop through a folder of wallpaper & another of overlay, then create a combined image and set it as the wallpaperE-Mail passthru, Send any file, even executables via e-mail as plain text. The recipient can then later re-construct them.Slideshow widget, A slideshow widget similar to the Vista onePredictive typing using the Numpad, Predictive typing using the numpad of a keyboar similar to that on a mobile phone (the key is the .t16 file).PSTools Front End, For Remote Admin. Just makes life a lot easier (Demonstrates executing external programs and passing parameters, tabbed form Handling STDIN/STDERR)FTP Helper application Up and Download files from an FTP server demonstrates this and Tooltray TipsShow a Map of your Post-codes/Zip Codes, Uses the Clipboard, Hotkeys, the system tray (incl. menus)Disc/CD/DVD Catalogue, Ideal for all those Covermount Discs (Demonstrates Array handling, executing DOS programs, handling STDIN/STDOUT recursive directory reads, file searching.)YAST , Yet another Stopwatch/Timer (Uses a hotkey, Copies to clipboard, handles multiple events and stays on top)Keyboard Status Indicator , Indicates status of NumLock, Caps Lock and Scroll Lock Keys, demonstrates API calling & System tray Icon Toggling Link to comment Share on other sites More sharing options...
/dev/null Posted January 2, 2007 Share Posted January 2, 2007 The issue is not the content of the attachment, it is the attachment itself and the fact that it gets blocked by the e-mail filter that is really doing the right thing. (ours, and most customers, block zips, 7z and most other archive formats along with the others expected.) This then causes all the problems associated with getting the file released. This util circumvents all the trauma by sending a plain text file that is then re-constructed.hmm.. why do you think your copmany is spending money for that "trauma" of a mail filter?CheersKurt __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
acideax Posted January 2, 2007 Share Posted January 2, 2007 Great script.. tested on many file sizes and types.. biggest file was a rer file 10 mb and it worked in a matter of seconds.. great work.. and all other files exe, gif.. worked You only need two tools in life: WD40 and Duct Tape.If it moves and it shouldn't, use Duct Tape.If it should move but doesnt, use WD40. Link to comment Share on other sites More sharing options...
paullab Posted May 25, 2007 Author Share Posted May 25, 2007 Now includes a minor update to create the Text File in the same directory as the source and not in the Script directory. Updated Source is in the original post. Wallpaper Rotatorwith overlay, Loop through a folder of wallpaper & another of overlay, then create a combined image and set it as the wallpaperE-Mail passthru, Send any file, even executables via e-mail as plain text. The recipient can then later re-construct them.Slideshow widget, A slideshow widget similar to the Vista onePredictive typing using the Numpad, Predictive typing using the numpad of a keyboar similar to that on a mobile phone (the key is the .t16 file).PSTools Front End, For Remote Admin. Just makes life a lot easier (Demonstrates executing external programs and passing parameters, tabbed form Handling STDIN/STDERR)FTP Helper application Up and Download files from an FTP server demonstrates this and Tooltray TipsShow a Map of your Post-codes/Zip Codes, Uses the Clipboard, Hotkeys, the system tray (incl. menus)Disc/CD/DVD Catalogue, Ideal for all those Covermount Discs (Demonstrates Array handling, executing DOS programs, handling STDIN/STDOUT recursive directory reads, file searching.)YAST , Yet another Stopwatch/Timer (Uses a hotkey, Copies to clipboard, handles multiple events and stays on top)Keyboard Status Indicator , Indicates status of NumLock, Caps Lock and Scroll Lock Keys, demonstrates API calling & System tray Icon Toggling Link to comment Share on other sites More sharing options...
Gif Posted May 25, 2007 Share Posted May 25, 2007 Great idea!! and a great program Link to comment Share on other sites More sharing options...
testingtest Posted May 25, 2007 Share Posted May 25, 2007 (edited) if you made a .exe file into plain text send it and told the person to make a .exe again why wouldn't that work got losted in the script can't rewrite its self? Edited May 25, 2007 by testingtest Link to comment Share on other sites More sharing options...
paullab Posted May 25, 2007 Author Share Posted May 25, 2007 (edited) if you made a .exe file into plain text send it and told the person to make a .exe again why wouldn't that workThis is in effect what the script is doing (and catering for all those not-text Characters) as well as getting rid of the binary signatures that are used to detect file-types, this bypassing the filterscan't rewrite its self?No, Not directly, but you could creates a copy (fred.exe) then create your text file (in reality a batch file) end edit that to create the output filename you want. (check the attachment below)got losted in the scriptMakeChunks() ; select a a file and break it down into chunks (a little les that 40k per chunk)Makeit() ; create encbin & decbin (these are the magic bits)Top() ; create the header of the batch File this includes creating the decbin program that does the reconstructionBody() ; create the body of the File (this is what takes most of the time) take each chunk, convert it to text and append it to the end of either the header or previously converted chuncktail() ; the tailend some batch file code to get rid of most of temporary filestidy() ; a little tidying up. IMPORTANT.I use 'encbin.com' and 'decbin.com' to do the real workBoth of these are © Copyright 2002 Terry Newtonand have been released to the public domain.Passthrough.exe.txt Edited May 25, 2007 by paullab Wallpaper Rotatorwith overlay, Loop through a folder of wallpaper & another of overlay, then create a combined image and set it as the wallpaperE-Mail passthru, Send any file, even executables via e-mail as plain text. The recipient can then later re-construct them.Slideshow widget, A slideshow widget similar to the Vista onePredictive typing using the Numpad, Predictive typing using the numpad of a keyboar similar to that on a mobile phone (the key is the .t16 file).PSTools Front End, For Remote Admin. Just makes life a lot easier (Demonstrates executing external programs and passing parameters, tabbed form Handling STDIN/STDERR)FTP Helper application Up and Download files from an FTP server demonstrates this and Tooltray TipsShow a Map of your Post-codes/Zip Codes, Uses the Clipboard, Hotkeys, the system tray (incl. menus)Disc/CD/DVD Catalogue, Ideal for all those Covermount Discs (Demonstrates Array handling, executing DOS programs, handling STDIN/STDOUT recursive directory reads, file searching.)YAST , Yet another Stopwatch/Timer (Uses a hotkey, Copies to clipboard, handles multiple events and stays on top)Keyboard Status Indicator , Indicates status of NumLock, Caps Lock and Scroll Lock Keys, demonstrates API calling & System tray Icon Toggling Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now