Created
March 5, 2015 07:22
-
-
Save patrickallaert/ac24c733de072c3bb421 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$a = [1, 2]; | |
$fd = fopen("/etc/hosts", "r"); | |
echo "$a, $fd"; | |
?> | |
Will produce: | |
Notice: Array to string conversion in php shell code on line 1 | |
Array, Resource id #2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment