Learn Hacking from Scratch
The password for the next level is stored in a file called readme located in the home directory. Use this password to log into bandit1 using SSH. Whenever you find a password for a level, use SSH (on port 2220) to log into that level and continue the game.
Host | Port | Password |
---|---|---|
[email protected] | 2220 | bandit0 |
First, if you know a command, but don’t know how to use it, try the manual (man page) by entering “man ” (without the quotes). e.g. if you know about the “ls” command, type: man ls. The “man” command also has a manual, try it. Press q to quit the man command. if you havent installed man, just install it with apt-get install man. Second, if there is no man page, the command might be a shell built-in. In that case use the “help ” command. E.g. help cd Also, your favorite search-engine is your friend. Learn how to use it! I recommend DuckDuckGo.
Command | Synopsis | Description | Options |
---|---|---|---|
ls | ls [OPTION]... [FILE]... | List information about the FILEs (the current directory by default). Sort entries alphabetically if none of -cftuvSUX nor --sort is specified. | -a, -A, --author. -b, --block-size=SIZE |
cd | cd [-L|[-P [-e]] [-@]] [dir] | Change the current directory to DIR. The default DIR is the value of the HOME shell variable. | -L, -P, -e, -@ |
cat | cat [OPTION]... [FILE]... | Concatenate files and print on the standard output. | -A, -b, -e, -E, -n, -s |
file | file [-bcdEhiklLNnprsSvzZ0] [--apple] [--extension] [--mime-encoding] [--mime-type] [-e testname] [-F separator] [-f namefile] [-m magicfiles] [-P name=value] file ... file -C [-m magicfiles] file [--help] | Determine file type. | --apple, --extension, --mime-encoding, --mime-type, -e testname, -F separator, [-f namefile], -m magicfiles, -P name=value |
du | du [OPTION]... [FILE]... du [OPTION]... --files0-from=F | Estimate file space usage. | -0, -a, -apparent-size, -B, -b |
find | find [-H] [-L] [-P] [-D debugopts] [-Olevel] [starting-point...] [expression] | Search for files in a directory hierarchy | -H, -L, -P, -D, -Olevel, starting-point |
The password for the next level is stored in a file called - located in the home directory, find it
Host | Port | Password |
---|---|---|
[email protected] | 2220 | boJ9jbbUNNfktd78OOpsqOltutMc3MY1 |
First, if you know a command, but don’t know how to use it, try the manual (man page) by entering “man ” (without the quotes). e.g. if you know about the “ls” command, type: man ls. The “man” command also has a manual, try it. Press q to quit the man command. if you havent installed man, just install it with apt-get install man. Second, if there is no man page, the command might be a shell built-in. In that case use the “help ” command. E.g. help cd Also, your favorite search-engine is your friend. Learn how to use it! I recommend DuckDuckGo.
Command | Synopsis | Description | Options |
---|---|---|---|
ls | ls [OPTION]... [FILE]... | List information about the FILEs (the current directory by default). Sort entries alphabetically if none of -cftuvSUX nor --sort is specified. | -a, -A, --author. -b, --block-size=SIZE |
cd | cd [-L|[-P [-e]] [-@]] [dir] | Change the current directory to DIR. The default DIR is the value of the HOME shell variable. | -L, -P, -e, -@ |
cat | cat [OPTION]... [FILE]... | Concatenate files and print on the standard output. | -A, -b, -e, -E, -n, -s |
file | file [-bcdEhiklLNnprsSvzZ0] [--apple] [--extension] [--mime-encoding] [--mime-type] [-e testname] [-F separator] [-f namefile] [-m magicfiles] [-P name=value] file ... file -C [-m magicfiles] file [--help] | Determine file type. | --apple, --extension, --mime-encoding, --mime-type, -e testname, -F separator, [-f namefile], -m magicfiles, -P name=value |
du | du [OPTION]... [FILE]... du [OPTION]... --files0-from=F | Estimate file space usage. | -0, -a, -apparent-size, -B, -b |
find | find [-H] [-L] [-P] [-D debugopts] [-Olevel] [starting-point...] [expression] | Search for files in a directory hierarchy | -H, -L, -P, -D, -Olevel, starting-point |
DuckDuckGo Search for “dashed filename”
Advanced Bash-scripting Guide - Chapter 3 - Special Characters
The password for the next level is stored in a file called spaces in this filename located in the home directory
Host | Port | Password |
---|---|---|
[email protected] | 2220 | CV1DtqXWVFXTvM2F0k09SHz0YwRINYA9 |
First, if you know a command, but don’t know how to use it, try the manual (man page) by entering “man ” (without the quotes). e.g. if you know about the “ls” command, type: man ls. The “man” command also has a manual, try it. Press q to quit the man command. if you havent installed man, just install it with apt-get install man. Second, if there is no man page, the command might be a shell built-in. In that case use the “help ” command. E.g. help cd Also, your favorite search-engine is your friend. Learn how to use it! I recommend DuckDuckGo.
Command | Synopsis | Description | Options |
---|---|---|---|
ls | ls [OPTION]... [FILE]... | List information about the FILEs (the current directory by default). Sort entries alphabetically if none of -cftuvSUX nor --sort is specified. | -a, -A, --author. -b, --block-size=SIZE |
cd | cd [-L|[-P [-e]] [-@]] [dir] | Change the current directory to DIR. The default DIR is the value of the HOME shell variable. | -L, -P, -e, -@ |
cat | cat [OPTION]... [FILE]... | Concatenate files and print on the standard output. | -A, -b, -e, -E, -n, -s |
file | file [-bcdEhiklLNnprsSvzZ0] [--apple] [--extension] [--mime-encoding] [--mime-type] [-e testname] [-F separator] [-f namefile] [-m magicfiles] [-P name=value] file ... file -C [-m magicfiles] file [--help] | Determine file type. | --apple, --extension, --mime-encoding, --mime-type, -e testname, -F separator, [-f namefile], -m magicfiles, -P name=value |
du | du [OPTION]... [FILE]... du [OPTION]... --files0-from=F | Estimate file space usage. | -0, -a, -apparent-size, -B, -b |
find | find [-H] [-L] [-P] [-D debugopts] [-Olevel] [starting-point...] [expression] | Search for files in a directory hierarchy | -H, -L, -P, -D, -Olevel, starting-point |
DuckDuckGo Search for “spaces in filename”
The password for the next level is stored in a hidden file in the inhere directory.
Host | Port | Password |
---|---|---|
[email protected] | 2220 | UmHadQclWmgdLOKQ3YNgjWxGoRMb5luK |
First, if you know a command, but don’t know how to use it, try the manual (man page) by entering “man ” (without the quotes). e.g. if you know about the “ls” command, type: man ls. The “man” command also has a manual, try it. Press q to quit the man command. if you havent installed man, just install it with apt-get install man. Second, if there is no man page, the command might be a shell built-in. In that case use the “help ” command. E.g. help cd Also, your favorite search-engine is your friend. Learn how to use it! I recommend DuckDuckGo.
Command | Synopsis | Description | Options |
---|---|---|---|
ls | ls [OPTION]... [FILE]... | List information about the FILEs (the current directory by default). Sort entries alphabetically if none of -cftuvSUX nor --sort is specified. | -a, -A, --author. -b, --block-size=SIZE |
cd | cd [-L|[-P [-e]] [-@]] [dir] | Change the current directory to DIR. The default DIR is the value of the HOME shell variable. | -L, -P, -e, -@ |
cat | cat [OPTION]... [FILE]... | Concatenate files and print on the standard output. | -A, -b, -e, -E, -n, -s |
file | file [-bcdEhiklLNnprsSvzZ0] [--apple] [--extension] [--mime-encoding] [--mime-type] [-e testname] [-F separator] [-f namefile] [-m magicfiles] [-P name=value] file ... file -C [-m magicfiles] file [--help] | Determine file type. | --apple, --extension, --mime-encoding, --mime-type, -e testname, -F separator, [-f namefile], -m magicfiles, -P name=value |
du | du [OPTION]... [FILE]... du [OPTION]... --files0-from=F | Estimate file space usage. | -0, -a, -apparent-size, -B, -b |
find | find [-H] [-L] [-P] [-D debugopts] [-Olevel] [starting-point...] [expression] | Search for files in a directory hierarchy | -H, -L, -P, -D, -Olevel, starting-point |
The password for the next level is stored in the only human-readable file in the inhere directory. Tip: if your terminal is messed up, try the “reset” command.
Host | Port | Password |
---|---|---|
[email protected] | 2220 | pIwrPrtPN36QITSp3EQaw936yaFoFgAB |
First, if you know a command, but don’t know how to use it, try the manual (man page) by entering “man ” (without the quotes). e.g. if you know about the “ls” command, type: man ls. The “man” command also has a manual, try it. Press q to quit the man command. if you havent installed man, just install it with apt-get install man. Second, if there is no man page, the command might be a shell built-in. In that case use the “help ” command. E.g. help cd Also, your favorite search-engine is your friend. Learn how to use it! I recommend DuckDuckGo.
Command | Synopsis | Description | Options |
---|---|---|---|
ls | ls [OPTION]... [FILE]... | List information about the FILEs (the current directory by default). Sort entries alphabetically if none of -cftuvSUX nor --sort is specified. | -a, -A, --author. -b, --block-size=SIZE |
cd | cd [-L|[-P [-e]] [-@]] [dir] | Change the current directory to DIR. The default DIR is the value of the HOME shell variable. | -L, -P, -e, -@ |
cat | cat [OPTION]... [FILE]... | Concatenate files and print on the standard output. | -A, -b, -e, -E, -n, -s |
file | file [-bcdEhiklLNnprsSvzZ0] [--apple] [--extension] [--mime-encoding] [--mime-type] [-e testname] [-F separator] [-f namefile] [-m magicfiles] [-P name=value] file ... file -C [-m magicfiles] file [--help] | Determine file type. | --apple, --extension, --mime-encoding, --mime-type, -e testname, -F separator, [-f namefile], -m magicfiles, -P name=value |
du | du [OPTION]... [FILE]... du [OPTION]... --files0-from=F | Estimate file space usage. | -0, -a, -apparent-size, -B, -b |
find | find [-H] [-L] [-P] [-D debugopts] [-Olevel] [starting-point...] [expression] | Search for files in a directory hierarchy | -H, -L, -P, -D, -Olevel, starting-point |
The password for the next level is stored in a file somewhere under the inhere directory and has all of the following properties:
- human-readable
- 1033 bytes in size
- not executable
Host | Port | Password |
---|---|---|
[email protected] | 2220 | koReBOKuIDDepwhWk7jZC0RTdopnAYKh |
First, if you know a command, but don’t know how to use it, try the manual (man page) by entering “man ” (without the quotes). e.g. if you know about the “ls” command, type: man ls. The “man” command also has a manual, try it. Press q to quit the man command. if you havent installed man, just install it with apt-get install man. Second, if there is no man page, the command might be a shell built-in. In that case use the “help ” command. E.g. help cd Also, your favorite search-engine is your friend. Learn how to use it! I recommend DuckDuckGo.
Command | Synopsis | Description | Options |
---|---|---|---|
ls | ls [OPTION]... [FILE]... | List information about the FILEs (the current directory by default). Sort entries alphabetically if none of -cftuvSUX nor --sort is specified. | -a, -A, --author. -b, --block-size=SIZE |
cd | cd [-L|[-P [-e]] [-@]] [dir] | Change the current directory to DIR. The default DIR is the value of the HOME shell variable. | -L, -P, -e, -@ |
cat | cat [OPTION]... [FILE]... | Concatenate files and print on the standard output. | -A, -b, -e, -E, -n, -s |
file | file [-bcdEhiklLNnprsSvzZ0] [--apple] [--extension] [--mime-encoding] [--mime-type] [-e testname] [-F separator] [-f namefile] [-m magicfiles] [-P name=value] file ... file -C [-m magicfiles] file [--help] | Determine file type. | --apple, --extension, --mime-encoding, --mime-type, -e testname, -F separator, [-f namefile], -m magicfiles, -P name=value |
du | du [OPTION]... [FILE]... du [OPTION]... --files0-from=F | Estimate file space usage. | -0, -a, -apparent-size, -B, -b |
find | find [-H] [-L] [-P] [-D debugopts] [-Olevel] [starting-point...] [expression] | Search for files in a directory hierarchy | -H, -L, -P, -D, -Olevel, starting-point |
The password for the next level is stored somewhere on the server and has all of the following properties:
- owned by user bandit7
- owned by group bandit6
- 33 bytes in size
Host | Port | Password |
---|---|---|
[email protected] | 2220 | DXjZPULLxYr17uwoI01bNLQbtFemEgo7 |
First, if you know a command, but don’t know how to use it, try the manual (man page) by entering “man ” (without the quotes). e.g. if you know about the “ls” command, type: man ls. The “man” command also has a manual, try it. Press q to quit the man command. if you havent installed man, just install it with apt-get install man. Second, if there is no man page, the command might be a shell built-in. In that case use the “help ” command. E.g. help cd Also, your favorite search-engine is your friend. Learn how to use it! I recommend DuckDuckGo.
Command | Synopsis | Description | Options |
---|---|---|---|
ls | ls [OPTION]... [FILE]... | List information about the FILEs (the current directory by default). Sort entries alphabetically if none of -cftuvSUX nor --sort is specified. | -a, -A, --author. -b, --block-size=SIZE |
cd | cd [-L|[-P [-e]] [-@]] [dir] | Change the current directory to DIR. The default DIR is the value of the HOME shell variable. | -L, -P, -e, -@ |
cat | cat [OPTION]... [FILE]... | Concatenate files and print on the standard output. | -A, -b, -e, -E, -n, -s |
file | file [-bcdEhiklLNnprsSvzZ0] [--apple] [--extension] [--mime-encoding] [--mime-type] [-e testname] [-F separator] [-f namefile] [-m magicfiles] [-P name=value] file ... file -C [-m magicfiles] file [--help] | Determine file type. | --apple, --extension, --mime-encoding, --mime-type, -e testname, -F separator, [-f namefile], -m magicfiles, -P name=value |
du | du [OPTION]... [FILE]... du [OPTION]... --files0-from=F | Estimate file space usage. | -0, -a, -apparent-size, -B, -b |
find | find [-H] [-L] [-P] [-D debugopts] [-Olevel] [starting-point...] [expression] | Search for files in a directory hierarchy | -H, -L, -P, -D, -Olevel, starting-point |
grep | grep [OPTION...] PATTERNS [FILE...] grep [OPTION...] -e PATTERNS ... [FILE...] grep [OPTION...] -f PATTERN_FILE ... [FILE...] | grep, egrep, fgrep, rgrep - print lines that match patterns/td> | -E, -F, -r, --help, --version |
The password for the next level is stored in the file data.txt next to the word millionth
Host | Port | Password |
---|---|---|
[email protected] | 2220 | HKBPTKQnIay4Fw76bEy8PVxKEDQRKTzs |
First, if you know a command, but don’t know how to use it, try the manual (man page) by entering “man ” (without the quotes). e.g. if you know about the “ls” command, type: man ls. The “man” command also has a manual, try it. Press q to quit the man command. if you havent installed man, just install it with apt-get install man. Second, if there is no man page, the command might be a shell built-in. In that case use the “help ” command. E.g. help cd Also, your favorite search-engine is your friend. Learn how to use it! I recommend DuckDuckGo.
Command | Synopsis | Description | Options |
---|---|---|---|
grep | grep [OPTION...] PATTERNS [FILE...] grep [OPTION...] -e PATTERNS ... [FILE...] grep [OPTION...] -f PATTERN_FILE ... [FILE...] | grep, egrep, fgrep, rgrep - print lines that match patterns/td> | -E, -F, -r, --help, --version |
sort | sort [OPTION]... [FILE]... sort [OPTION]... --files0-from=F | Sort lines of text files | -b, -d, -f, -g, -i |
uniq | uniq [OPTION]... [INPUT [OUTPUT]] | Report or omit repeated lines | --count, --repeated, -D, --all-repeated[=METHOD], -f |
strings | strings [OPTIONS] FILENAME | grab human-readable files. | -n, -t, -a, -d, -s |
base64 | base64 [OPTION]... [FILE] | base64 encode/decode data and print to standard output | -d, -i, -w, --help, --version |
tr | tr [OPTION]... SET1 [SET2] | translate or delete characters | -c, -d, -s, -t, --help, --version |
tar | UNIX-style usage: tar -A [OPTIONS] ARCHIVE ARCHIVE GNU-style usage: tar {--catenate|--concatenate} [OPTIONS] ARCHIVE ARCHIVE | An archiving utility | -A, -c, -d, -t, -r, -u, -x |
gzip, gunzip, zcat | gzip [ -acdfhklLnNrtvV19 ] [-S suffix] [ name ... ] gunzip [ -acfhklLnNrtvV ] [-S suffix] [ name ... ] zcat [ -fhLV ] [ name ... ] | compress or expand files | -z, -d |
bzip2 | bzip2 [Options] [filename] | basic utility for compress and decompress files | -z, -d |
xxd | xxd -h[elp] xxd [options] [infile [outfile]] xxd -r[evert] [options] [infile [outfile]] | Make a hexdump or do the reverse | -h, -r, -a |
The password for the next level is stored in the file data.txt and is the only line of text that occurs only once
Host | Port | Password |
---|---|---|
[email protected] | 2220 | cvX2JJa4CFALtqS87jk27qwqGhBM9plV |
First, if you know a command, but don’t know how to use it, try the manual (man page) by entering “man ” (without the quotes). e.g. if you know about the “ls” command, type: man ls. The “man” command also has a manual, try it. Press q to quit the man command. if you havent installed man, just install it with apt-get install man. Second, if there is no man page, the command might be a shell built-in. In that case use the “help ” command. E.g. help cd Also, your favorite search-engine is your friend. Learn how to use it! I recommend DuckDuckGo.
Command | Synopsis | Description | Options |
---|---|---|---|
grep | grep [OPTION...] PATTERNS [FILE...] grep [OPTION...] -e PATTERNS ... [FILE...] grep [OPTION...] -f PATTERN_FILE ... [FILE...] | grep, egrep, fgrep, rgrep - print lines that match patterns/td> | -E, -F, -r, --help, --version |
sort | sort [OPTION]... [FILE]... sort [OPTION]... --files0-from=F | Sort lines of text files | -b, -d, -f, -g, -i |
uniq | uniq [OPTION]... [INPUT [OUTPUT]] | Report or omit repeated lines | --count, --repeated, -D, --all-repeated[=METHOD], -f |
strings | strings [OPTIONS] FILENAME | grab human-readable files. | -n, -t, -a, -d, -s |
base64 | base64 [OPTION]... [FILE] | base64 encode/decode data and print to standard output | -d, -i, -w, --help, --version |
tr | tr [OPTION]... SET1 [SET2] | translate or delete characters | -c, -d, -s, -t, --help, --version |
tar | UNIX-style usage: tar -A [OPTIONS] ARCHIVE ARCHIVE GNU-style usage: tar {--catenate|--concatenate} [OPTIONS] ARCHIVE ARCHIVE | An archiving utility | -A, -c, -d, -t, -r, -u, -x |
gzip, gunzip, zcat | gzip [ -acdfhklLnNrtvV19 ] [-S suffix] [ name ... ] gunzip [ -acfhklLnNrtvV ] [-S suffix] [ name ... ] zcat [ -fhLV ] [ name ... ] | compress or expand files | -z, -d |
bzip2 | bzip2 [Options] [filename] | basic utility for compress and decompress files | -z, -d |
xxd | xxd -h[elp] xxd [options] [infile [outfile]] xxd -r[evert] [options] [infile [outfile]] | Make a hexdump or do the reverse | -h, -r, -a |
The password for the next level is stored in the file data.txt in one of the few human-readable strings, preceded by several ‘=’ characters.
Host | Port | Password |
---|---|---|
[email protected] | 2220 | UsvVyFSfZZWbi6wgC7dAFyFuR6jQQUhR |
First, if you know a command, but don’t know how to use it, try the manual (man page) by entering “man ” (without the quotes). e.g. if you know about the “ls” command, type: man ls. The “man” command also has a manual, try it. Press q to quit the man command. if you havent installed man, just install it with apt-get install man. Second, if there is no man page, the command might be a shell built-in. In that case use the “help ” command. E.g. help cd Also, your favorite search-engine is your friend. Learn how to use it! I recommend DuckDuckGo.
Command | Synopsis | Description | Options |
---|---|---|---|
grep | grep [OPTION...] PATTERNS [FILE...] grep [OPTION...] -e PATTERNS ... [FILE...] grep [OPTION...] -f PATTERN_FILE ... [FILE...] | grep, egrep, fgrep, rgrep - print lines that match patterns/td> | -E, -F, -r, --help, --version |
sort | sort [OPTION]... [FILE]... sort [OPTION]... --files0-from=F | Sort lines of text files | -b, -d, -f, -g, -i |
uniq | uniq [OPTION]... [INPUT [OUTPUT]] | Report or omit repeated lines | --count, --repeated, -D, --all-repeated[=METHOD], -f |
strings | strings [OPTIONS] FILENAME | grab human-readable files. | -n, -t, -a, -d, -s |
base64 | base64 [OPTION]... [FILE] | base64 encode/decode data and print to standard output | -d, -i, -w, --help, --version |
tr | tr [OPTION]... SET1 [SET2] | translate or delete characters | -c, -d, -s, -t, --help, --version |
tar | UNIX-style usage: tar -A [OPTIONS] ARCHIVE ARCHIVE GNU-style usage: tar {--catenate|--concatenate} [OPTIONS] ARCHIVE ARCHIVE | An archiving utility | -A, -c, -d, -t, -r, -u, -x |
gzip, gunzip, zcat | gzip [ -acdfhklLnNrtvV19 ] [-S suffix] [ name ... ] gunzip [ -acfhklLnNrtvV ] [-S suffix] [ name ... ] zcat [ -fhLV ] [ name ... ] | compress or expand files | -z, -d |
bzip2 | bzip2 [Options] [filename] | basic utility for compress and decompress files | -z, -d |
xxd | xxd -h[elp] xxd [options] [infile [outfile]] xxd -r[evert] [options] [infile [outfile]] | Make a hexdump or do the reverse | -h, -r, -a |
The password for the next level is stored in the file data.txt and is the only line of text that occurs only once
Host | Port | Password |
---|---|---|
[email protected] | 2220 | cvX2JJa4CFALtqS87jk27qwqGhBM9plV |
First, if you know a command, but don’t know how to use it, try the manual (man page) by entering “man ” (without the quotes). e.g. if you know about the “ls” command, type: man ls. The “man” command also has a manual, try it. Press q to quit the man command. if you havent installed man, just install it with apt-get install man. Second, if there is no man page, the command might be a shell built-in. In that case use the “help ” command. E.g. help cd Also, your favorite search-engine is your friend. Learn how to use it! I recommend DuckDuckGo.
Command | Synopsis | Description | Options |
---|---|---|---|
grep | grep [OPTION...] PATTERNS [FILE...] grep [OPTION...] -e PATTERNS ... [FILE...] grep [OPTION...] -f PATTERN_FILE ... [FILE...] | grep, egrep, fgrep, rgrep - print lines that match patterns/td> | -E, -F, -r, --help, --version |
sort | sort [OPTION]... [FILE]... sort [OPTION]... --files0-from=F | Sort lines of text files | -b, -d, -f, -g, -i |
uniq | uniq [OPTION]... [INPUT [OUTPUT]] | Report or omit repeated lines | --count, --repeated, -D, --all-repeated[=METHOD], -f |
strings | strings [OPTIONS] FILENAME | grab human-readable files. | -n, -t, -a, -d, -s |
base64 | base64 [OPTION]... [FILE] | base64 encode/decode data and print to standard output | -d, -i, -w, --help, --version |
tr | tr [OPTION]... SET1 [SET2] | translate or delete characters | -c, -d, -s, -t, --help, --version |
tar | UNIX-style usage: tar -A [OPTIONS] ARCHIVE ARCHIVE GNU-style usage: tar {--catenate|--concatenate} [OPTIONS] ARCHIVE ARCHIVE | An archiving utility | -A, -c, -d, -t, -r, -u, -x |
gzip, gunzip, zcat | gzip [ -acdfhklLnNrtvV19 ] [-S suffix] [ name ... ] gunzip [ -acfhklLnNrtvV ] [-S suffix] [ name ... ] zcat [ -fhLV ] [ name ... ] | compress or expand files | -z, -d |
bzip2 | bzip2 [Options] [filename] | basic utility for compress and decompress files | -z, -d |
xxd | xxd -h[elp] xxd [options] [infile [outfile]] xxd -r[evert] [options] [infile [outfile]] | Make a hexdump or do the reverse | -h, -r, -a |
The password for the next level is stored in the file data.txt in one of the few human-readable strings, preceded by several ‘=’ characters.
Host | Port | Password |
---|---|---|
[email protected] | 2220 | UsvVyFSfZZWbi6wgC7dAFyFuR6jQQUhR |
First, if you know a command, but don’t know how to use it, try the manual (man page) by entering “man ” (without the quotes). e.g. if you know about the “ls” command, type: man ls. The “man” command also has a manual, try it. Press q to quit the man command. if you havent installed man, just install it with apt-get install man. Second, if there is no man page, the command might be a shell built-in. In that case use the “help ” command. E.g. help cd Also, your favorite search-engine is your friend. Learn how to use it! I recommend DuckDuckGo.
Command | Synopsis | Description | Options |
---|---|---|---|
grep | grep [OPTION...] PATTERNS [FILE...] grep [OPTION...] -e PATTERNS ... [FILE...] grep [OPTION...] -f PATTERN_FILE ... [FILE...] | grep, egrep, fgrep, rgrep - print lines that match patterns/td> | -E, -F, -r, --help, --version |
sort | sort [OPTION]... [FILE]... sort [OPTION]... --files0-from=F | Sort lines of text files | -b, -d, -f, -g, -i |
uniq | uniq [OPTION]... [INPUT [OUTPUT]] | Report or omit repeated lines | --count, --repeated, -D, --all-repeated[=METHOD], -f |
strings | strings [OPTIONS] FILENAME | grab human-readable files. | -n, -t, -a, -d, -s |
base64 | base64 [OPTION]... [FILE] | base64 encode/decode data and print to standard output | -d, -i, -w, --help, --version |
tr | tr [OPTION]... SET1 [SET2] | translate or delete characters | -c, -d, -s, -t, --help, --version |
tar | UNIX-style usage: tar -A [OPTIONS] ARCHIVE ARCHIVE GNU-style usage: tar {--catenate|--concatenate} [OPTIONS] ARCHIVE ARCHIVE | An archiving utility | -A, -c, -d, -t, -r, -u, -x |
gzip, gunzip, zcat | gzip [ -acdfhklLnNrtvV19 ] [-S suffix] [ name ... ] gunzip [ -acfhklLnNrtvV ] [-S suffix] [ name ... ] zcat [ -fhLV ] [ name ... ] | compress or expand files | -z, -d |
bzip2 | bzip2 [Options] [filename] | basic utility for compress and decompress files | -z, -d |
xxd | xxd -h[elp] xxd [options] [infile [outfile]] xxd -r[evert] [options] [infile [outfile]] | Make a hexdump or do the reverse | -h, -r, -a |
The password for the next level is stored in the file data.txt, which contains base64 encoded data
Host | Port | Password |
---|---|---|
[email protected] | 2220 | cvX2JJa4CFALtqS87jk27qwqGhBM9plV |
First, if you know a command, but don’t know how to use it, try the manual (man page) by entering “man ” (without the quotes). e.g. if you know about the “ls” command, type: man ls. The “man” command also has a manual, try it. Press q to quit the man command. if you havent installed man, just install it with apt-get install man. Second, if there is no man page, the command might be a shell built-in. In that case use the “help ” command. E.g. help cd Also, your favorite search-engine is your friend. Learn how to use it! I recommend DuckDuckGo.
Command | Synopsis | Description | Options |
---|---|---|---|
grep | grep [OPTION...] PATTERNS [FILE...] grep [OPTION...] -e PATTERNS ... [FILE...] grep [OPTION...] -f PATTERN_FILE ... [FILE...] | grep, egrep, fgrep, rgrep - print lines that match patterns/td> | -E, -F, -r, --help, --version |
sort | sort [OPTION]... [FILE]... sort [OPTION]... --files0-from=F | Sort lines of text files | -b, -d, -f, -g, -i |
uniq | uniq [OPTION]... [INPUT [OUTPUT]] | Report or omit repeated lines | --count, --repeated, -D, --all-repeated[=METHOD], -f |
strings | strings [OPTIONS] FILENAME | grab human-readable files. | -n, -t, -a, -d, -s |
base64 | base64 [OPTION]... [FILE] | base64 encode/decode data and print to standard output | -d, -i, -w, --help, --version |
tr | tr [OPTION]... SET1 [SET2] | translate or delete characters | -c, -d, -s, -t, --help, --version |
tar | UNIX-style usage: tar -A [OPTIONS] ARCHIVE ARCHIVE GNU-style usage: tar {--catenate|--concatenate} [OPTIONS] ARCHIVE ARCHIVE | An archiving utility | -A, -c, -d, -t, -r, -u, -x |
gzip, gunzip, zcat | gzip [ -acdfhklLnNrtvV19 ] [-S suffix] [ name ... ] gunzip [ -acfhklLnNrtvV ] [-S suffix] [ name ... ] zcat [ -fhLV ] [ name ... ] | compress or expand files | -z, -d |
bzip2 | bzip2 [Options] [filename] | basic utility for compress and decompress files | -z, -d |
xxd | xxd -h[elp] xxd [options] [infile [outfile]] xxd -r[evert] [options] [infile [outfile]] | Make a hexdump or do the reverse | -h, -r, -a |