Results 1 to 2 of 2

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: Bash Server Question

  1. #1
    Default Bash Server Question
    Is there a way for me to execute a bash command on the device using bash server?

    code I'm using here:

    script:
    su
    alpine
    cd /
    cd var
    cd mobile
    cd Documents
    dpkg -i file.deb

    html:
    <!DOCTYPE html>
    <html>
    <head>
    </head>
    <body>
    <form method="post">
    <input type="submit" name="submit" value="Launch SH" />
    </form>
    <?php
    if (isset($_POST['submit'])) {
    echo exec("script.sh");
    }
    ?>


    <a href="file.deb">file</a>
    </body>
    </html>

  2. #2
    Your missing #!?
    mod edit/link removed

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •