Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.31
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
local /
go /
src /
mime /
[ HOME SHELL ]
Name
Size
Permission
Action
multipart
[ DIR ]
drwxr-xr-x
quotedprintable
[ DIR ]
drwxr-xr-x
testdata
[ DIR ]
drwxr-xr-x
encodedword.go
10.16
KB
-rw-r--r--
encodedword_test.go
6.99
KB
-rw-r--r--
example_test.go
2.46
KB
-rw-r--r--
grammar.go
828
B
-rw-r--r--
mediatype.go
9.79
KB
-rw-r--r--
mediatype_test.go
17.35
KB
-rw-r--r--
type.go
5
KB
-rw-r--r--
type_dragonfly.go
250
B
-rw-r--r--
type_freebsd.go
250
B
-rw-r--r--
type_openbsd.go
251
B
-rw-r--r--
type_plan9.go
1.04
KB
-rw-r--r--
type_test.go
4.26
KB
-rw-r--r--
type_unix.go
1.18
KB
-rw-r--r--
type_windows.go
831
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : type_unix.go
// Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build aix darwin dragonfly freebsd js,wasm linux netbsd openbsd solaris package mime import ( "bufio" "os" "strings" ) func init() { osInitMime = initMimeUnix } var typeFiles = []string{ "/etc/mime.types", "/etc/apache2/mime.types", "/etc/apache/mime.types", } func loadMimeFile(filename string) { f, err := os.Open(filename) if err != nil { return } defer f.Close() scanner := bufio.NewScanner(f) for scanner.Scan() { fields := strings.Fields(scanner.Text()) if len(fields) <= 1 || fields[0][0] == '#' { continue } mimeType := fields[0] for _, ext := range fields[1:] { if ext[0] == '#' { break } setExtensionType("."+ext, mimeType) } } if err := scanner.Err(); err != nil { panic(err) } } func initMimeUnix() { for _, filename := range typeFiles { loadMimeFile(filename) } } func initMimeForTests() map[string]string { typeFiles = []string{"testdata/test.types"} return map[string]string{ ".T1": "application/test", ".t2": "text/test; charset=utf-8", ".png": "image/png", } }
Close