!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.4.18 (Ubuntu). PHP/7.0.33-0ubuntu0.16.04.16 

uname -a: Linux digifus 3.13.0-57-generic #95-Ubuntu SMP Fri Jun 19 09:28:15 UTC 2015 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/share/doc/libdbd-mysql-perl/examples/   drwxr-xr-x
Free 9.89 GB of 29.4 GB (33.62%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     bug30033.pl (868 B)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl

use strict;
use warnings;
use Data::Dumper;
use Getopt::Long;
use DBI;

our $opt_prepared;

GetOptions (
    "p|prepared"  => \$opt_prepared
    );


my $dsn = "DBI:mysql:database=test;host=localhost";
$dsn .= ";mysql_server_prepare=1" if $opt_prepared;

my $dbh = DBI->connect( $dsn, 'root', '', { RaiseError => 1 } )
or die $DBI::errstr;

unlink('./bug3033.trace.log');
$dbh->trace(4, './bug3033_trace.log'); 

$dbh->do('DROP TABLE IF EXISTS buggy');
$dbh->do('CREATE TABLE buggy ( id int(3) )');
$dbh->do('INSERT INTO buggy (id) VALUES (1)');
my $query= "SELECT id FROM
-- It's a bug
buggy WHERE id = ?";
print "with var:\n";
my $ref= $dbh->selectall_arrayref($query, {}, 1);
print Dumper $ref;
print "with string terminator:\n";
$ref= $dbh->selectall_arrayref(<<END, {}, 1);
SELECT id
FROM buggy
-- It's a bug!
WHERE id = ?
END
print Dumper $ref;

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0057 ]--