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 /
doc /
codewalk /
[ HOME SHELL ]
Name
Size
Permission
Action
codewalk.css
3.01
KB
-rw-r--r--
codewalk.js
10.68
KB
-rw-r--r--
codewalk.xml
5.26
KB
-rw-r--r--
codewalk_test.go
1.48
KB
-rw-r--r--
functions.xml
4.34
KB
-rw-r--r--
markov.go
3.84
KB
-rw-r--r--
markov.xml
13.22
KB
-rw-r--r--
pig.go
3.32
KB
-rw-r--r--
popout.png
213
B
-rw-r--r--
sharemem.xml
7.92
KB
-rw-r--r--
urlpoll.go
2.67
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : codewalk_test.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. package main_test import ( "bytes" "os" "os/exec" "strings" "testing" ) // TestMarkov tests the code dependency of markov.xml. func TestMarkov(t *testing.T) { cmd := exec.Command("go", "run", "markov.go") cmd.Stdin = strings.NewReader("foo") cmd.Stderr = bytes.NewBuffer(nil) out, err := cmd.Output() if err != nil { t.Fatalf("%s: %v\n%s", strings.Join(cmd.Args, " "), err, cmd.Stderr) } if !bytes.Equal(out, []byte("foo\n")) { t.Fatalf(`%s with input "foo" did not output "foo":\n%s`, strings.Join(cmd.Args, " "), out) } } // TestPig tests the code dependency of functions.xml. func TestPig(t *testing.T) { cmd := exec.Command("go", "run", "pig.go") cmd.Stderr = bytes.NewBuffer(nil) out, err := cmd.Output() if err != nil { t.Fatalf("%s: %v\n%s", strings.Join(cmd.Args, " "), err, cmd.Stderr) } const want = "Wins, losses staying at k = 100: 210/990 (21.2%), 780/990 (78.8%)\n" if !bytes.Contains(out, []byte(want)) { t.Fatalf(`%s: unexpected output\ngot:\n%s\nwant output containing:\n%s`, strings.Join(cmd.Args, " "), out, want) } } // TestURLPoll tests the code dependency of sharemem.xml. func TestURLPoll(t *testing.T) { cmd := exec.Command("go", "build", "-o", os.DevNull, "urlpoll.go") out, err := cmd.CombinedOutput() if err != nil { t.Fatalf("%s: %v\n%s", strings.Join(cmd.Args, " "), err, out) } }
Close