76 lines
2.5 KiB
Markdown
76 lines
2.5 KiB
Markdown
|
```
|
||
|
/ $ echo $PATH
|
||
|
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||
|
/ $ ls -l /usr/local/sbin
|
||
|
ls: /usr/local/sbin: No such file or directory
|
||
|
/ $ ls -l /usr/local/bin
|
||
|
ls: /usr/local/bin: No such file or directory
|
||
|
/ $ ls -l /usr/sbin
|
||
|
ls: /usr/sbin: No such file or directory
|
||
|
/ $ ls -l /usr/bin
|
||
|
ls: /usr/bin: No such file or directory
|
||
|
/ $ ls -l /sbin
|
||
|
ls: /sbin: No such file or directory
|
||
|
/ $ ls -l /bin
|
||
|
total 4120
|
||
|
-rwxr-xr-x 1 root 0 808712 Oct 24 17:14 cat
|
||
|
-rwxr-xr-x 2 root 0 443480 Oct 24 17:14 cloud_cat
|
||
|
-rwxr-xr-x 1 root 0 443480 Oct 24 17:14 cloud_create
|
||
|
-rwxr-xr-x 1 root 0 443480 Oct 24 17:14 cloud_list
|
||
|
-rwxr-xr-x 1 root 0 443480 Oct 24 17:14 cloud_mv
|
||
|
-rwxr-xr-x 1 root 0 808712 Oct 24 17:14 ls
|
||
|
-rwxr-xr-x 1 root 0 808712 Oct 24 17:14 sh
|
||
|
```
|
||
|
|
||
|
```
|
||
|
/ $ cat /etc/passwd
|
||
|
root:x:0:0:root:/root:/bin/sh
|
||
|
bin:x:1:1:bin:/bin:/sbin/nologin
|
||
|
daemon:x:2:2:daemon:/sbin:/sbin/nologin
|
||
|
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
|
||
|
sync:x:5:0:sync:/sbin:/bin/sync
|
||
|
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
|
||
|
halt:x:7:0:halt:/sbin:/sbin/halt
|
||
|
mail:x:8:12:mail:/var/mail:/sbin/nologin
|
||
|
news:x:9:13:news:/usr/lib/news:/sbin/nologin
|
||
|
uucp:x:10:14:uucp:/var/spool/uucppublic:/sbin/nologin
|
||
|
cron:x:16:16:cron:/var/spool/cron:/sbin/nologin
|
||
|
ftp:x:21:21::/var/lib/ftp:/sbin/nologin
|
||
|
sshd:x:22:22:sshd:/dev/null:/sbin/nologin
|
||
|
games:x:35:35:games:/usr/games:/sbin/nologin
|
||
|
ntp:x:123:123:NTP:/var/empty:/sbin/nologin
|
||
|
guest:x:405:100:guest:/dev/null:/sbin/nologin
|
||
|
nobody:x:65534:65534:nobody:/:/sbin/nologin
|
||
|
gaoler:x:1000:1000:Linux User,,,:/home/gaoler:/bin/sh
|
||
|
restricted:x:1001:1001:Linux User,,,:/home/restricted:/bin/jail
|
||
|
```
|
||
|
|
||
|
```
|
||
|
____ _ _ ____ _ _ _
|
||
|
/ ___| | ___ _ _ __| | / ___|| |__ ___| | |
|
||
|
| | | |/ _ \| | | |/ _` | \___ \| '_ \ / _ \ | |
|
||
|
| |___| | (_) | |_| | (_| | ___) | | | | __/ | |
|
||
|
\____|_|\___/ \__,_|\__,_| |____/|_| |_|\___|_|_|
|
||
|
|
||
|
|
||
|
Welcome to Cloud Shell !
|
||
|
|
||
|
Here you can interact with your personal vault using our custom binaries :
|
||
|
- cloud_cat : Get the content of the specified file
|
||
|
- cloud_list : List your current file(s)
|
||
|
- cloud_mv : Rename a file
|
||
|
- cloud_create : Create a file with his content
|
||
|
|
||
|
If you don't know how to use a binary, just execute it without arguments, help will be provided !
|
||
|
|
||
|
/ $ cloud_cat
|
||
|
Usage: cloud_cat <file_name>
|
||
|
/ $ cloud_list
|
||
|
cloud_socket
|
||
|
/ $ cloud_mv
|
||
|
Usage: cloud_mv <old_name> <new_name>
|
||
|
/ $ cloud_create
|
||
|
Usage: cloud_create <file_name> <content>
|
||
|
/ $
|
||
|
```
|