Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
100 changes: 100 additions & 0 deletions Linux-git/Aman_Yadav.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
0. ssh [email protected] -p 2220
password:bandit0
cat readme

1. ssh [email protected] -p 2220
password: boJ9jbbUNNfktd78OOpsqOltutMc3MY1
cat ./-

2. ssh [email protected] -p 2220
password: CV1DtqXWVFXTvM2F0k09SHz0YwRINYA9
cat "spaces in this filename"

3. ssh [email protected] -p 2220
password: UmHadQclWmgdLOKQ3YNgjWxGoRMb5luK
cd inhere
ls -a
cat .hidden

4. ssh [email protected] -p 2220
password: pIwrPrtPN36QITSp3EQaw936yaFoFgAB
cd inhere
ls
file ./*
cat ./-file07

5. ssh [email protected] -p 2220
password: koReBOKuIDDepwhWk7jZC0RTdopnAYKh
cd inhere
find -type f -size 1033c ! -executable
cd maybehere07
cat .file2

6. ssh [email protected] -p 2220
password: DXjZPULLxYr17uwoI01bNLQbtFemEgo7
find / -user bandit7 -group bandit6 -size 33c
cat /var/lib/dpkg/info/bandit7.password

7. ssh [email protected] -p 2220
password: HKBPTKQnIay4Fw76bEy8PVxKEDQRKTzs
cat data.txt | grep "millionth"

8. ssh [email protected] -p 2220
password: cvX2JJa4CFALtqS87jk27qwqGhBM9plV
sort data.txt | uniq -u

9. ssh [email protected] -p 2220
password: UsvVyFSfZZWbi6wgC7dAFyFuR6jQQUhR
cat data.txt | strings | grep "="

10. ssh [email protected] -p 2220
password: truKLdjsbJ5g7yyJ2X2R0o3a5HQJFuLk
base64 -d data.txt

11. ssh [email protected] -p 2220
password: IFukwKGsFW8MOq3IRFqrxE1hxTNEbUPR
cat data.txt | tr 'A-Za-z' 'N-ZA-Mn-za-m'i

12. ssh [email protected] -p 2220
password: 5Te8Y4drgCRfCx8ugdwuEX8KFC6k2EUu
mkdir tmp/temp
cp data.txt /tmp/temp
cd /tmp/temp
xxd -r data.txt > bandit
file bandit
mv bandit bandit.gz
gzip -d bandit.gz
file bandit
mv bandit bandit.bz2
bzip2 -d bandit.bz2
file bandit
mv bandit bandit.gz
gzip -d bandit.gz
file bandit
mv bandit bandit.tar
tar xf bandit.tar
file data5.bin
mv data5.bin data5.tar
tar xf data5.tar
file data6.bin
mv data6.bin data6.bz2
bzip2 -d data6.bz2
file data6
mv data6 data6.tar
tar xf data6.tar
file data8.bin
mv data8.bin data8.gz
gzip -d data8.gz
file data8
cat data8

13. ssh [email protected] -p 2220
password: 8ZjyCRiBWFYkneahHwxCv3wb2a1ORpYL
ssh -i sshkey.private bandit14@localhost
cat /etc/bandit_pass/bandit14

14. nc localhost 30000
password: 4wcYUJFw0k0XLShlDzztnTBHiqxU3b3e

15. openssl s_client -connect localhost:30001
password: BfMYroe26WYalil77FoDi9qh59eK5xNr