theguy0000 Posted October 29, 2006 Share Posted October 29, 2006 UPDATE TO SCRIPT ON FIRST POSTUpdates:-changed PHP to Post instead of GET for longer strings-changed Names and vars to be understood better.-Added ReadMe.txt file for simple instructions.you should remake it web-based.Pro: just 1 simple au3 fileCon: have to install Abyss Web Server, but that's easy. 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...
Guest tenk Posted October 30, 2006 Share Posted October 30, 2006 hi guy...nice job for what u guys done so far...er i got something here, just minor thing hehe... when i enter the au3*msgbox(0,"hi","hi"),it go ut perfect... but then i try entering much longer massages like au3*msgbox(0,"hi","hi there people")... autoit error occur.. say something like this Line 1: msgbox(0,'hi','hi msgbox(0,'hi',^ ERROR Error: String missing closing quote i tried it a couple of times but still the same....got problem with the space identifier i think....i dont know if it just me or there's is a problem Link to comment Share on other sites More sharing options...
ConsultingJoe Posted October 30, 2006 Author Share Posted October 30, 2006 hi guy...nice job for what u guys done so far...er i got something here, just minor thing hehe... when i enter the au3*msgbox(0,"hi","hi"),it go ut perfect... but then i try entering much longer massages like au3*msgbox(0,"hi","hi there people")... autoit error occur.. say something like thisLine 1:msgbox(0,'hi','himsgbox(0,'hi',^ ERRORError: String missing closing quotei tried it a couple of times but still the same....got problem with the space identifier i think....i dont know if it just me or there's is a problemOk, maybe it doesnt like spaces. I should put in a ie decryper, so incase it sees %20, it will be spaces and so on Check out ConsultingJoe.com Link to comment Share on other sites More sharing options...
ConsultingJoe Posted October 30, 2006 Author Share Posted October 30, 2006 (edited) hi guy...nice job for what u guys done so far...er i got something here, just minor thing hehe... when i enter the au3*msgbox(0,"hi","hi"),it go ut perfect... but then i try entering much longer massages like au3*msgbox(0,"hi","hi there people")... autoit error occur.. say something like thisLine 1:msgbox(0,'hi','himsgbox(0,'hi',^ ERRORError: String missing closing quotei tried it a couple of times but still the same....got problem with the space identifier i think....i dont know if it just me or there's is a problemThanks A Lot, I'm glad you caught that. I just fixed it, it was the quotes that affected it.First post zip file updated.Things I need to do:add an IE decrypter to allow for more strange characters in the commands. (%20 = " ")(HEX codes)Fix the interpreter return if the au3 command passed or failed (StdRead)add a webserver to access the IPI use remote webservers because it allows you to bypass routers and firewalls and its not tracable, but I will work on a webserver in the au3 Edited October 30, 2006 by zerocool60544 Check out ConsultingJoe.com Link to comment Share on other sites More sharing options...
ConsultingJoe Posted October 31, 2006 Author Share Posted October 31, 2006 sorry another one of my lame question... how should i view the screenshot? i key-in the 'screen' and the screen captured update showed up...but then should i search and open the jpg file from the tempdir or it suppose auto-viewup????....that command is still very beta. I want to eleminate the ftp and allow the php script to upload it, but for now if it doesn't show up it would be located "/gallery/SC.jpg" on your webserver. Check out ConsultingJoe.com Link to comment Share on other sites More sharing options...
Guest tenk Posted October 31, 2006 Share Posted October 31, 2006 (edited) ops sorry zero,my bad man my bad... its just my stupid mistake, for not setting up my ftp server properly... i've deleted my earlier post already... it work fine and marvelous now... hey u work here just make me loss my night sleep, so interesting i just cant stop thinking... just plus this... so can this things handle more pc like what i say in my pm...??? Edited October 31, 2006 by tenk Link to comment Share on other sites More sharing options...
ConsultingJoe Posted October 31, 2006 Author Share Posted October 31, 2006 ops sorry zero,my bad man my bad... its just my stupid mistake, for not setting up my ftp server properly... i've deleted my earlier post already... it work fine and marvelous now... hey u work here just make me loss my night sleep, so interesting i just cant stop thinking...just plus this... so can this things handle more pc like what i say in my pm...???Did you ask if I work here? if so, no.And it might work on more than one computer but its not ment to. the first computer that sees the command will complete the command and return the results which will delete the command so if 2 or three computers see the command without yet deleting it the last computer will return the results. This can be modded to select which computer.UPDATE: FIXED: screen shot issue. add the screen shot dll. and add a link in the return for the screen shot. when it posts the link for the image it is still uploading so wait a few seconds before going to the link or refresh the image if it is only half way loaded.Thanks guys Check out ConsultingJoe.com Link to comment Share on other sites More sharing options...
Guest tenk Posted October 31, 2006 Share Posted October 31, 2006 sweet update .. mind-opener,tq Link to comment Share on other sites More sharing options...
ConsultingJoe Posted October 31, 2006 Author Share Posted October 31, 2006 NOW YOU CAN SEND ENTIRE SCRIPTS USING: au3*code-here Check out ConsultingJoe.com Link to comment Share on other sites More sharing options...
Guest tenk Posted October 31, 2006 Share Posted October 31, 2006 (edited) Run(@AutoItExe & ' /AutoIt3ExecuteLine ' & '""' & $gettext[2] & '""')oÝ÷ ÚÜ(ªê-ê®·¶ëay«·r^®éçx.¥Özj+zvº¶¥Á¬¢)éº×(f§u«¢+Ø%%9½ÐMÑÉ¥¹%¹MÑÈ ÀÌØíÑáаÅÕ½Ðì¨ÅÕ½Ðì¤Q¡¸ÀÌØíÑáÐôMÑÉ¥¹IÁ± ÀÌØíÑáаÅÕ½ÐìÅÕ½Ðì°ÅÕ½Ðì¨ÅÕ½Ðì°Ä¤($ÀÌØíÑÑáÐôMÑÉ¥¹MÁ±¥Ð ÀÌØíÑáаÅÕ½Ðì¨ÅÕ½Ðì¤ under funcfind() now can just type say hello there or au3 msgbox(0,"","hello there") to make the function work Edited October 31, 2006 by tenk Link to comment Share on other sites More sharing options...
ConsultingJoe Posted October 31, 2006 Author Share Posted October 31, 2006 Run(@AutoItExe & ' /AutoIt3ExecuteLine ' & '""' & $gettext[2] & '""')oÝ÷ ÚÜ(ªê-ê®·¶ëay«·r^®éçx.¥Özj+zvº¶¥Á¬¢)éº×(f§u«¢+Ø%%9½ÐMÑÉ¥¹%¹MÑÈ ÀÌØíÑáаÅÕ½Ðì¨ÅÕ½Ðì¤Q¡¸ÀÌØíÑáÐôMÑÉ¥¹IÁ± ÀÌØíÑáаÅÕ½ÐìÅÕ½Ðì°ÅÕ½Ðì¨ÅÕ½Ðì°Ä¤($ÀÌØíÑÑáÐôMÑÉ¥¹MÁ±¥Ð ÀÌØíÑáаÅÕ½Ðì¨ÅÕ½Ðì¤ under funcfind() now can just type say hello there or au3 msgbox(0,"","hello there") to make the function workbut you need the "*" as a delimiter Check out ConsultingJoe.com Link to comment Share on other sites More sharing options...
Guest tenk Posted November 1, 2006 Share Posted November 1, 2006 (edited) it would just replace the first space it found to * and run the rest of the scriptwon't work if there is more than 1 * tho*** UPDATE ***redo the stringsplit part to cater for more than 1 *Func funcfind() Dim $gettext[3] If StringInStr($text,Chr(32)) < StringInStr($text,"*") Then $text = StringReplace($text,Chr(32),"*",1) ; check for space " " and replace it with * $gettext[1] = StringLeft($text,StringInStr($text,"*")-1) ; extract the trigger $gettext[2] = StringTrimLeft($text,StringInStr($text,"*")) ; extract the command If StringInStr($text,"*") = 0 Then $gettext[1] = $gettext[2] ; check for single trigger event $ubound = UBound($gettext)-1now can put au3 msgbox(0,"*","* * *") and get a proper msgbox without error Edited November 1, 2006 by tenk Link to comment Share on other sites More sharing options...
spyrorocks Posted November 1, 2006 Share Posted November 1, 2006 try making it able to upload scripts then have them executed could be hard parsing the upload headers though... [center] My Projects: Online AutoIt Compiler - AutoForum - AutoGuestbook - AutoIt Web-based Auto Installer - Pure AutoIt Zipping Functions - ConfuseGen - MindReader - P2PChat[/center] Link to comment Share on other sites More sharing options...
Guest tenk Posted November 1, 2006 Share Posted November 1, 2006 try making it able to upload scripts then have them executed could be hard parsing the upload headers though...but this open the script to misuse (vir,keylog,etc) Link to comment Share on other sites More sharing options...
spyrorocks Posted November 1, 2006 Share Posted November 1, 2006 There are lots of ways someone could misuse this script. as hacker0 put it, If i had a car thats speed was governed down to 60 MPH and then i sell the car, and the person who buys it adjusts the governor up to 120 MPH, and the new owner goes 101 MPH and kills someone, is it my (zerocools) fault that that happened? [center] My Projects: Online AutoIt Compiler - AutoForum - AutoGuestbook - AutoIt Web-based Auto Installer - Pure AutoIt Zipping Functions - ConfuseGen - MindReader - P2PChat[/center] Link to comment Share on other sites More sharing options...
ConsultingJoe Posted November 1, 2006 Author Share Posted November 1, 2006 There are lots of ways someone could misuse this script.as hacker0 put it, If i had a car thats speed was governed down to 60 MPH and then i sell the car, and the person who buys it adjusts the governor up to 120 MPH, and the new owner goes 101 MPH and kills someone, is it my (zerocools) fault that that happened?nice one spyro.I was thinking of taking out everything except the "au3" and the "say"and i see what you mean about the spaces and "*". i will update that tomarrow Check out ConsultingJoe.com Link to comment Share on other sites More sharing options...
ConsultingJoe Posted November 2, 2006 Author Share Posted November 2, 2006 I did that change to the beginning of the findfunc() and I got this: "Ran command: msgbox(0,\"*\\ at 22:28:43" when I typed this: "au3*msgbox(0,"*",0)" but when I typed this: "au3*msgbox(0,0,0)" It worked just fine. I cant figure out where the issue is. any ideas? Thanks Check out ConsultingJoe.com Link to comment Share on other sites More sharing options...
Guest tenk Posted November 2, 2006 Share Posted November 2, 2006 7 PM' post='260887'] I did that change to the beginning of the findfunc() and I got this: "Ran command: msgbox(0,\"*\\ at 22:28:43" when I typed this: "au3*msgbox(0,"*",0)" but when I typed this: "au3*msgbox(0,0,0)" It worked just fine. I cant figure out where the issue is. any ideas? Thanks did you put the EXTRA "" in the au3 part Run(@AutoItExe & ' /AutoIt3ExecuteLine ' & '""' & $gettext[2] & '""') mine works fine Link to comment Share on other sites More sharing options...
ConsultingJoe Posted November 2, 2006 Author Share Posted November 2, 2006 did you put the EXTRA "" in the au3 part Run(@AutoItExe & ' /AutoIt3ExecuteLine ' & '""' & $gettext[2] & '""') mine works fineI'm not using the "/Autoit3ExecuteLine" read the script, it writes to a temp file so I can do more than one line at a time then runs the entire script Check out ConsultingJoe.com Link to comment Share on other sites More sharing options...
Dumpy Dooby Posted May 24, 2007 Share Posted May 24, 2007 Right now the PHP uses fopen which is relatively insecure, plus it's slowest method for opening a file with PHP. I would recommend a switch to CURL. If you'd like, I can post the PHP that I use once I'm done playing with it. (might wanna PM me for that, because I don't log into this site that often, and the PM would go to my email) 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