This file contains hidden or 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
#!/usr/bin/perl | |
# php_watch.pl - Monitor directory for PHP code in non-.php files | |
# Darian Anthony Patrick <[email protected]> | |
# | |
# Uses inotify to monitor a directory for the | |
# existence of files containing PHP code which | |
# are not named with a .php file extension | |
use perl5i; |
This file contains hidden or 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
#!/usr/bin/perl | |
# write_gif.pl - Store PHP code inside of a GIF | |
# Darian Anthony Patrick <[email protected]> | |
# | |
# Demonstration of masquerading PHP code inside | |
# of a file identifiable as GIF format | |
use perl5i; | |
use IO::All; |
This file contains hidden or 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
#!/usr/bin/perl | |
# write_jpg.pl - Store PHP code inside of a JPEG | |
# Darian Anthony Patrick <[email protected]> | |
# | |
# Demonstration of masquerading PHP code inside | |
# of a file identifiable as JPEG format | |
use perl5i; | |
use IO::All; |
NewerOlder