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.1
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 /
encoding /
csv /
[ HOME SHELL ]
Name
Size
Permission
Action
example_test.go
2.59
KB
-rw-r--r--
fuzz.go
1.32
KB
-rw-r--r--
reader.go
12.29
KB
-rw-r--r--
reader_test.go
14.18
KB
-rw-r--r--
writer.go
4.52
KB
-rw-r--r--
writer_test.go
2.91
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : fuzz.go
// Copyright 2019 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 gofuzz package csv import ( "bytes" "fmt" "reflect" ) func Fuzz(data []byte) int { score := 0 buf := new(bytes.Buffer) for _, tt := range []Reader{ {}, {Comma: ';'}, {Comma: '\t'}, {LazyQuotes: true}, {TrimLeadingSpace: true}, {Comment: '#'}, {Comment: ';'}, } { r := NewReader(bytes.NewReader(data)) r.Comma = tt.Comma r.Comment = tt.Comment r.LazyQuotes = tt.LazyQuotes r.TrimLeadingSpace = tt.TrimLeadingSpace records, err := r.ReadAll() if err != nil { continue } score = 1 buf.Reset() w := NewWriter(buf) w.Comma = tt.Comma err = w.WriteAll(records) if err != nil { fmt.Printf("writer = %#v\n", w) fmt.Printf("records = %v\n", records) panic(err) } r = NewReader(buf) r.Comma = tt.Comma r.Comment = tt.Comment r.LazyQuotes = tt.LazyQuotes r.TrimLeadingSpace = tt.TrimLeadingSpace result, err := r.ReadAll() if err != nil { fmt.Printf("reader = %#v\n", r) fmt.Printf("records = %v\n", records) panic(err) } if !reflect.DeepEqual(records, result) { fmt.Println("records = \n", records) fmt.Println("result = \n", records) panic("not equal") } } return score }
Close