403Webshell
Server IP : 127.0.0.1  /  Your IP : 216.73.216.48
Web Server : Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12
System : Windows NT DESKTOP-3H4FHQJ 10.0 build 19045 (Windows 10) AMD64
User : win 10 ( 0)
PHP Version : 8.2.12
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : OFF |  Perl : OFF |  Python : OFF |  Sudo : OFF |  Pkexec : OFF
Directory :  D:/xampp/perl/vendor/lib/Win32/Exe/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : D:/xampp/perl/vendor/lib/Win32/Exe/ResourceEntry.pm
# Copyright 2004 by Audrey Tang <cpan@audreyt.org>

package Win32::Exe::ResourceEntry;

use strict;
use base 'Win32::Exe::Base';
use constant FORMAT => (
    Data        => 'V',
    E_RVA       => 'V',
);
use constant HIGH_BIT => 0x80_00_00_00;
use Win32::Exe::ResourceData;

sub high_bit {
    my ($self) = @_;
    return +HIGH_BIT;
}

sub path {
    my ($self) = @_;
    return $self->parent->path;
}

sub PathName {
    my ($self) = @_;
    return join('/', '', $self->path, $self->Name);
}

sub VirtualAddress {
    my ($self) = @_;
    $self->E_RVA & ~($self->high_bit);
}

sub SetVirtualAddress {
    my ($self, $data) = @_;
    $self->SetE_RVA($data | $self->IsDirectory);
}

sub IsDirectory {
    my ($self) = @_;
    $self->E_RVA & ($self->high_bit);
}

sub initialize {
    my ($self) = @_;
    my $section = $self->first_parent('Resources');
    my $data = $section->substr($self->VirtualAddress, 12);
    my $res_data = Win32::Exe::ResourceData->new(\$data, { parent => $self });
    $res_data->initialize;
    $self->{res_data} = $res_data;
}

sub Data {
    my ($self) = @_;
    return $self->{res_data}->Data;
}

sub CodePage {
    my ($self) = @_;
    return $self->{res_data}->CodePage;
}

sub object {
    my ($self) = @_;
    return $self->{res_data}->object;
}

1;

Youez - 2016 - github.com/yon3zu
LinuXploit