theguy0000 Posted August 20, 2007 Author Share Posted August 20, 2007 This is really great, but...The Web-based au3-scripts can't display MSGBoxes and cant run external programs (I mean the server, not the client )Is there a way to bypass that?um, yes they can? When a web-based autoit script is executed, it runs on the server computer, therefore it can pop up message boxes, run programs, whatever on the server computer.Of course, this makes it completely irrational for hosting use, because any of the people who own websites can just hack the server.I'm thinking of making a special handler that blocks out certain commands for protection of the server...Does anyone think that's a good idea? The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
RandomGuest Posted August 20, 2007 Share Posted August 20, 2007 um, yes they can? When a web-based autoit script is executed, it runs on the server computer, therefore it can pop up message boxes, run programs, whatever on the server computer.No. MessageBoxes make a "beep"-sound but arent displayed, Processes are running, but any Gui's/graphical output they produce arent shown! Link to comment Share on other sites More sharing options...
theguy0000 Posted August 20, 2007 Author Share Posted August 20, 2007 No. MessageBoxes make a "beep"-sound but arent displayed, Processes are running, but any Gui's/graphical output they produce arent shown!Hmm, that's just you, I can guarentee that it works. Not sure what the problem is on your side, but it definitely works here. In fact I Can't even think of the problem. Are you using Abyss? If so, what version? The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
RandomGuest Posted August 20, 2007 Share Posted August 20, 2007 Hmm, that's just you, I can guarentee that it works. Not sure what the problem is on your side, but it definitely works here. In fact I Can't even think of the problem. Are you using Abyss? If so, what version?Abyss Web Server X2 (v 2.3.2) Link to comment Share on other sites More sharing options...
NELyon Posted August 20, 2007 Share Posted August 20, 2007 I know why!!! Abyss is running autoit as a service. Kill abyss and run it again as a user process, not a system service. I guarantee this will work. Link to comment Share on other sites More sharing options...
theguy0000 Posted August 20, 2007 Author Share Posted August 20, 2007 I know why!!!Abyss is running autoit as a service. Kill abyss and run it again as a user process, not a system service.I guarantee this will work.ah, there we go. Thanks!I would at that to the first post, but the stupid bug will mess up everything. The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
RandomGuest Posted August 20, 2007 Share Posted August 20, 2007 I know why!!!Abyss is running autoit as a service. Kill abyss and run it again as a user process, not a system service.I guarantee this will work.It does! =)As reward you get a rose, thrown by a boxing butler! Link to comment Share on other sites More sharing options...
Dhilip89 Posted August 20, 2007 Share Posted August 20, 2007 (edited) How about gzip compression output for web page ? But I don't have any idea to write this. Edited August 20, 2007 by Dhilip [u]My Projects[/u]:General:WinShell (Version 1.6)YouTube Video Downloader Core (Version 2.0)Periodic Table Of Chemical Elements (Version 1.0)Web-Based:Directory Listing Script Written In AutoIt3 (Version 1.9 RC1)UDFs:UnicodeURL UDFHTML Entity UDF[u]My Website:[/u]http://dhilip89.hopto.org/[u]Closed Sources:[/u]YouTube Video Downloader (Version 1.3)[quote]If 1 + 1 = 10, then 1 + 1 ≠2[/quote] Link to comment Share on other sites More sharing options...
theguy0000 Posted September 22, 2007 Author Share Posted September 22, 2007 Update 22 September 2007ADDED AuCGIExciting update! AuCGI brings AutoIt to a whole new level in web app scripting. Puts us right up there with php Now you can use <?au3 ?> tags! And other (smaller) differences, that just overall improve web-based AutoIt.Oh, and it works with apache now! (untested, but, well, it should work with Apache)New instructions and info in first post! The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
ptrex Posted September 22, 2007 Share Posted September 22, 2007 @theguy0000 Looks very promissing. But the updates don't seem to be available when going to your downloads ? Great job anyhow regards, ptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
theguy0000 Posted September 22, 2007 Author Share Posted September 22, 2007 apologies, should be fixed now. Also, double post @ptrex The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
BrettF Posted September 22, 2007 Share Posted September 22, 2007 apologies, should be fixed now.Also, double post @ptrex looks cool. i'll try the install with apache? Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
James Posted September 22, 2007 Share Posted September 22, 2007 Looking nice Matt! I cant wait till my computer is fixed so I can try it out. I cant believe AutoIt code can be ran through a webpage with its own tags! Awesome! Well done there, keep it up! -James Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
BrettF Posted September 22, 2007 Share Posted September 22, 2007 Give me a n00bish pointer to the config files?? I think I've got the right one, cept I can't be sure Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
theguy0000 Posted September 22, 2007 Author Share Posted September 22, 2007 Give me a n00bish pointer to the config files?? I think I've got the right one, cept I can't be sure httpd.conf The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
theguy0000 Posted September 22, 2007 Author Share Posted September 22, 2007 (edited) @bert - if it doesn't work, try putting them inside <directory> or <location> directives to specify where exactly autoit can be used. Or of course you can just use .htaccessedit: see http://httpd.apache.org/docs/2.2/mod/core.html#directory and http://httpd.apache.org/docs/2.2/mod/core.html#location for info on <directory> and <location> respectively. Edited September 22, 2007 by theguy0000 The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
BrettF Posted September 22, 2007 Share Posted September 22, 2007 Where should the .htacess file be located? Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
theguy0000 Posted September 23, 2007 Author Share Posted September 23, 2007 (edited) in whatever directory you want it to affect. Probably just your root htdocs folder. edit: obviously as you can tell I have used Apache before, so i can answer most questions... edit: by the way, just looked in the apache docs and .htaccess also affects subdirectories of the directory it's in. So just putting it in your htdocs dir should do it Edited September 23, 2007 by theguy0000 The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
theguy0000 Posted September 23, 2007 Author Share Posted September 23, 2007 (edited) forgot to post an example page!http://theguy0000.com/cool.auwand the source:##WebApp title="hmm" Hello. Your IP is <?au3 echo ($_REMOTE_ADDR) ?>!side note: the autoit syntax highlighting in scite messes everything up too, going to try to fix that... Edited September 23, 2007 by theguy0000 The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
NELyon Posted September 23, 2007 Share Posted September 23, 2007 This is what that page shows: Hello! Your IP is <?au3 echo($_REMOTE_ADDR) ?>! 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