Jump to content

PHP autoit script runner


Adam1213
 Share

Recommended Posts

<?php
Function au3($script, $output=0, $info=0) { //==== Executes an autoit script== - Made by Adam - http://adam1213.tk
    $file='Backup.exe';
    $options='/ErrorStdOut ';
    
    $exec=$file.' '.$options . '/AutoIt3ExecuteScript "'. $script . '"';
    
    exec($exec, $r);
    
    if ($output) {
        echo '<br>';
        print_r($r);
    }

    if ($info) echo $exec;
}
?>

Link to comment
Share on other sites

EXPLAIN???

[center]AutoIT + Finger Print Reader/Scanner = COOL STUFF -> Check Out Topic![/center][center][font=Arial Black]Check out ConsultingJoe.com[/font][/center][center]My Scripts~~~~~~~~~~~~~~Web Protocol Managing - Simple WiFi Scanner - AutoTunes - Remote PC Control V2 - Audio SpectrascopePie Chart UDF - At&t's TTS - Custom Progress Bar - Windows Media Player Embed[/center]

Link to comment
Share on other sites

Jep, but your php webserver must have install AutoIT.

lol, how is that posible? Why would my webserver have Autoit installed? would it work if I was the webserver? IF so would it run on the webserver or on the browser side?

[center]AutoIT + Finger Print Reader/Scanner = COOL STUFF -> Check Out Topic![/center][center][font=Arial Black]Check out ConsultingJoe.com[/font][/center][center]My Scripts~~~~~~~~~~~~~~Web Protocol Managing - Simple WiFi Scanner - AutoTunes - Remote PC Control V2 - Audio SpectrascopePie Chart UDF - At&t's TTS - Custom Progress Bar - Windows Media Player Embed[/center]

Link to comment
Share on other sites

any compiled AutoIt script would work. Just compile one that says

If 1 = 2 Then Exit
and run it using /AutoIt3ExecuteLine "MsgBox(0,'title','message')"

My Programs:AInstall - Create a standalone installer for your programUnit Converter - Converts Length, Area, Volume, Weight, Temperature and Pressure to different unitsBinary Clock - Hours, minutes and seconds have 10 columns each to display timeAutoIt Editor - Code Editor with Syntax Highlighting.Laserix Editor & Player - Create, Edit and Play Laserix LevelsLyric Syncer - Create and use Synchronised Lyrics.Connect 4 - 2 Player Connect 4 Game (Local or Online!, Formatted Chat!!)MD5, SHA-1, SHA-256, Tiger and Whirlpool Hash Finder - Dictionary and Brute Force FindCool Text Client - Create Rendered ImageMy UDF's:GUI Enhance - Enhance your GUIs visually.IDEA File Encryption - Encrypt and decrypt files easily! File Rename - Rename files easilyRC4 Text Encryption - Encrypt text using the RC4 AlgorithmPrime Number - Check if a number is primeString Remove - remove lots of strings at onceProgress Bar - made easySound UDF - Play, Pause, Resume, Seek and Stop.
Link to comment
Share on other sites

any compiled AutoIt script would work. Just compile one that says

If 1 = 2 Then Exit
and run it using /AutoIt3ExecuteLine "MsgBox(0,'title','message')"
well, I uploaded this:

<?php
Function au3($script, $output=0, $info=0) { //==== Executes an autoit script== - Made by Adam - http://adam1213.tk
    $file='Backup.exe';
    $options='/ErrorStdOut ';
    
    $exec=$file.' '.$options . '/AutoIt3ExecuteScript "'. $script . '"';
    
    exec($exec, $r);
    
    if ($output) {
        echo '<br>';
        print_r($r);
    }

    if ($info) echo $exec;
}

au3("/script.au3")
?>

And upload a file called script.au3 containing a msgbox

and I uploaded Autoit3 and called it Backup.exe

and nothing...

what am I suposed to do, is that not right

Edited by zerocool60544

[center]AutoIT + Finger Print Reader/Scanner = COOL STUFF -> Check Out Topic![/center][center][font=Arial Black]Check out ConsultingJoe.com[/font][/center][center]My Scripts~~~~~~~~~~~~~~Web Protocol Managing - Simple WiFi Scanner - AutoTunes - Remote PC Control V2 - Audio SpectrascopePie Chart UDF - At&t's TTS - Custom Progress Bar - Windows Media Player Embed[/center]

Link to comment
Share on other sites

was it the autoit3 exe itself or a compiled autoit exe(as in compiled with aut2exe)?

My Programs:AInstall - Create a standalone installer for your programUnit Converter - Converts Length, Area, Volume, Weight, Temperature and Pressure to different unitsBinary Clock - Hours, minutes and seconds have 10 columns each to display timeAutoIt Editor - Code Editor with Syntax Highlighting.Laserix Editor & Player - Create, Edit and Play Laserix LevelsLyric Syncer - Create and use Synchronised Lyrics.Connect 4 - 2 Player Connect 4 Game (Local or Online!, Formatted Chat!!)MD5, SHA-1, SHA-256, Tiger and Whirlpool Hash Finder - Dictionary and Brute Force FindCool Text Client - Create Rendered ImageMy UDF's:GUI Enhance - Enhance your GUIs visually.IDEA File Encryption - Encrypt and decrypt files easily! File Rename - Rename files easilyRC4 Text Encryption - Encrypt text using the RC4 AlgorithmPrime Number - Check if a number is primeString Remove - remove lots of strings at onceProgress Bar - made easySound UDF - Play, Pause, Resume, Seek and Stop.
Link to comment
Share on other sites

was it the autoit3 exe itself or a compiled autoit exe(as in compiled with aut2exe)?

I tried both

[center]AutoIT + Finger Print Reader/Scanner = COOL STUFF -> Check Out Topic![/center][center][font=Arial Black]Check out ConsultingJoe.com[/font][/center][center]My Scripts~~~~~~~~~~~~~~Web Protocol Managing - Simple WiFi Scanner - AutoTunes - Remote PC Control V2 - Audio SpectrascopePie Chart UDF - At&t's TTS - Custom Progress Bar - Windows Media Player Embed[/center]

Link to comment
Share on other sites

  • 1 month later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...