Skip to content

Instantly share code, notes, and snippets.

@E314c
Last active May 31, 2020 23:03
Show Gist options
  • Save E314c/6e2de50565afd1a1e09fc08929bcf67e to your computer and use it in GitHub Desktop.
Save E314c/6e2de50565afd1a1e09fc08929bcf67e to your computer and use it in GitHub Desktop.

Revisions

  1. E314c revised this gist May 31, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion test.php
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    <h1> checking if this works <h1>
    <h1> checking if this works </h1>
    <? echo exec('whoami');
    echo exec('ls /usr/share/php');
    ?>
  2. E314c created this gist May 31, 2020.
    4 changes: 4 additions & 0 deletions test.php
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    <h1> checking if this works <h1>
    <? echo exec('whoami');
    echo exec('ls /usr/share/php');
    ?>