+ Reply
Results 1 to 2 of 2

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


Thread: Bash Server Question

is a discussion within the

Web Apps

forums, a part of the

3rd Party Apps For iPhone | iPod Touch

section;
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
...
  1. #1
    What's Jailbreak?
    Join Date
    Aug 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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
    What's Jailbreak?
    Join Date
    Sep 2012
    Location
    Boulder, CO
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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