OXIESEC PANEL
- Current Dir:
/
/
opt
/
golang
/
1.22.0
/
src
Server IP: 2a02:4780:11:1084:0:327f:3464:10
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
08/12/2024 06:18:01 PM
rwxr-xr-x
📄
Make.dist
553 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
README.vendor
2.11 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
all.bash
375 bytes
02/02/2024 06:09:55 PM
rwxr-xr-x
📄
all.bat
543 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
all.rc
388 bytes
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
archive
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
arena
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📄
bootstrap.bash
2.25 KB
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
bufio
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📄
buildall.bash
2.07 KB
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
builtin
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
bytes
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📄
clean.bash
518 bytes
02/02/2024 06:09:55 PM
rwxr-xr-x
📄
clean.bat
600 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
clean.rc
380 bytes
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
cmd
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
cmp
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📄
cmp.bash
1.46 KB
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
compress
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
container
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
context
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
crypto
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
database
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
debug
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
embed
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
encoding
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
errors
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
expvar
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
flag
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
fmt
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
go
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📄
go.mod
208 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
go.sum
680 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📁
hash
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
html
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
image
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
index
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
internal
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
io
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
iter
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
log
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📄
make.bash
7.65 KB
02/02/2024 06:09:55 PM
rwxr-xr-x
📄
make.bat
6.37 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
make.rc
3.76 KB
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
maps
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
math
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
mime
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
net
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
os
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
path
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
plugin
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📄
race.bash
919 bytes
02/02/2024 06:09:55 PM
rwxr-xr-x
📄
race.bat
1.07 KB
02/02/2024 06:09:55 PM
rw-r--r--
📁
reflect
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
regexp
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📄
run.bash
2.09 KB
02/02/2024 06:09:55 PM
rwxr-xr-x
📄
run.bat
859 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
run.rc
406 bytes
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
runtime
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
slices
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
sort
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
strconv
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
strings
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
sync
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
syscall
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
testdata
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
testing
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
text
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
time
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
unicode
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
unsafe
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
vendor
-
02/02/2024 06:09:55 PM
rwxr-xr-x
Editing: bootstrap.bash
Close
#!/usr/bin/env bash # Copyright 2015 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. # When run as (for example) # # GOOS=linux GOARCH=ppc64 bootstrap.bash # # this script cross-compiles a toolchain for that GOOS/GOARCH # combination, leaving the resulting tree in ../../go-${GOOS}-${GOARCH}-bootstrap. # That tree can be copied to a machine of the given target type # and used as $GOROOT_BOOTSTRAP to bootstrap a local build. # # Only changes that have been committed to Git (at least locally, # not necessary reviewed and submitted to master) are included in the tree. # # See also golang.org/x/build/cmd/genbootstrap, which is used # to generate bootstrap tgz files for builders. set -e if [ "$GOOS" = "" -o "$GOARCH" = "" ]; then echo "usage: GOOS=os GOARCH=arch ./bootstrap.bash [-force]" >&2 exit 2 fi forceflag="" if [ "$1" = "-force" ]; then forceflag=-force shift fi targ="../../go-${GOOS}-${GOARCH}-bootstrap" if [ -e $targ ]; then echo "$targ already exists; remove before continuing" exit 2 fi unset GOROOT src=$(cd .. && pwd) echo "#### Copying to $targ" cp -Rp "$src" "$targ" cd "$targ" echo echo "#### Cleaning $targ" chmod -R +w . rm -f .gitignore if [ -e .git ]; then git clean -f -d fi echo echo "#### Building $targ" echo cd src ./make.bash --no-banner $forceflag gohostos="$(../bin/go env GOHOSTOS)" gohostarch="$(../bin/go env GOHOSTARCH)" goos="$(../bin/go env GOOS)" goarch="$(../bin/go env GOARCH)" # NOTE: Cannot invoke go command after this point. # We're about to delete all but the cross-compiled binaries. cd .. if [ "$goos" = "$gohostos" -a "$goarch" = "$gohostarch" ]; then # cross-compile for local system. nothing to copy. # useful if you've bootstrapped yourself but want to # prepare a clean toolchain for others. true else rm -f bin/go_${goos}_${goarch}_exec mv bin/*_*/* bin rmdir bin/*_* rm -rf "pkg/${gohostos}_${gohostarch}" "pkg/tool/${gohostos}_${gohostarch}" fi rm -rf pkg/bootstrap pkg/obj .git echo ---- echo Bootstrap toolchain for "$GOOS/$GOARCH" installed in "$(pwd)". echo Building tbz. cd .. tar cf - "go-${GOOS}-${GOARCH}-bootstrap" | bzip2 -9 >"go-${GOOS}-${GOARCH}-bootstrap.tbz" ls -l "$(pwd)/go-${GOOS}-${GOARCH}-bootstrap.tbz" exit 0