Pejman Posted October 26, 2015 Share Posted October 26, 2015 Hello, I have a proxy program like belowUser <-> Client <-> Server <-> Internetbut it's unsecure, and firewalls detects it and drop connection. I want to encrypt connection with below way.User <-> Client <-> Tunnel client <-encrypted-> Tunnel Server <-decrypted-> Server <-> InternetIs there any sample script that could handle this job? it must be reliable and really optimized and fast Link to comment Share on other sites More sharing options...
jdelaney Posted October 27, 2015 Share Posted October 27, 2015 (edited) You can script in the addition of the firewall exceptions...that would be required...google that, but you can do it via command line (would need to run as admin and use exec()). Be safe, and only allow the proper route and port depending on if you are listening or sending.Then, you can use TCPIP functions...one as an example:TCPConnectYou can use the the crypt udf to encrypt/decrypt_Crypt_Startup _Crypt_DeriveKey _Crypt_EncryptData _Crypt_ShutdownOf course, the key you make to use for encryption will never truly be safe from prying eyes that decompile your script. Edited October 27, 2015 by jdelaney IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window. Link to comment Share on other sites More sharing options...
jchd Posted October 27, 2015 Share Posted October 27, 2015 From your scheme, I fail to see how using encryption after client and before server would make a difference.Also and again according to your scheme, you seem to consider the LAN part of your organization as insecure and the Internet as secure, which is something that I don't fully understand.Finally, where do you think the blocking firewall resides? This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe hereRegExp tutorial: enough to get startedPCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta. SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt) 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