Linux mail.vriendennsm.nl 6.1.0-51-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.177-1 (2026-07-16) x86_64
Apache/2.4.68 (Debian)
Server IP : 217.154.75.17 & Your IP : 216.73.216.195
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
webmin /
postgresql /
old /
Delete
Unzip
Name
Size
Permission
Date
Action
download.cgi
851
B
-rwxr-xr-x
2026-07-17 21:22
search_form.cgi
1.31
KB
-rwxr-xr-x
2026-07-17 21:22
view_table.cgi
12.74
KB
-rwxr-xr-x
2026-07-17 21:22
Save
Rename
#!/usr/bin/perl # download.cgi # Output the contents of a blob field require './postgresql-lib.pl'; &ReadParse(); &can_edit_db($in{'db'}) || &error($text{'dbase_ecannot'}); @str = &table_structure($in{'db'}, $in{'table'}); # Get the field to download $d = &execute_sql($in{'db'}, "select \"$in{'field'}\" from \"$in{'table'}\" where oid = ?", $in{'row'}); # Work out the MIME type based on the data $data = $d->{'data'}->[0]->[0]; if ($data =~ /^\s*(<!doctype|<html|<head|<title)/i) { $type = "text/html"; } elsif ($data =~ /^GIF89/) { $type = "image/gif"; } elsif ($data =~ /^\377\330\377\340/) { $type = "image/jpeg"; } elsif ($data =~ /^%PDF/) { $type = "application/pdf"; } elsif ($data =~ /^[\040-\176\r\n\t]+$/) { $type = "text/plain"; } else { $type = "application/octet-stream"; } print "Content-type: $type\n\n"; print $data;