Benign perl Download

Mojolicious-Plugin-Fondation-Auth 0.04

“Fondation authentication plugin — DBIx-backed login/logout”

Perl unlink file deletion callHTTP login path
SHA-25692094522d154cb39fc50f04fed6458f9389c76114ed35f7a8b9cb079233c14a1
MaleculeH₂(Cm₃F)

Evidence

Perl sigil variable declaration MyApp.pm · lines 1–10
1package MyApp;
2use Mojo::Base 'Mojolicious';
3use File::Basename qw(dirname);
4use Mojo::File;
5
6sub startup {
7 my $self = shift;
8
9 my $test_dir = dirname(__FILE__);
10 my $data_dir = Mojo::File->new("$test_dir/. …
Perl unlink file deletion call MyApp.pm · lines 12–20
12 my $dbfile = "$data_dir/test.db";
13
14 # Remove stale test database
15 unlink $dbfile if -e $dbfile;
16
17 # Load via Fondation
18 $self->plugin('Fondation' => {
19 dependencies => [
20 { 'Fo …
SQL CREATE TABLE syntax reference MyApp.pm · lines 48–54
48:3… my ($storage, $dbh) = @_;
49 $dbh->do(q{
50 CREATE TABLE IF NOT EXISTS users (
51 id TEXT PRIMARY KEY,
52 username TEXT NOT NULL UNIQUE,
53 password TEXT NOT NULL,
54 active INTEGER NOT NULL DEFAULT 1 …
Perl LWP GET call MyApp.pm · lines 74–82
74:177… ───
75
76 my $r = $self->routes;
77
78 # Public route
79 $r->get('/public')->to(cb => sub { shift->render(text => 'public content') });
80
81 # Protected route — requires authentication
82 $r …
HTTP login path DBIx.pm · lines 90–94
90:11… orm ($self, $c) {
91 my $template_file = $c->app->home->child('templates/auth/login.html.ep');
92 if (-e $template_file) {
93 my $mt = Mojo::Template->new;
94 my $content = $template_file->slurp; …

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.