Skip to content
Open
Show file tree
Hide file tree
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
Binary file added Bash Assignment/Screenshot_20250604_192701.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions Bash Assignment/Solution.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
## DISK USAGE SCRIPT
#### Usage
This script tells the disk usage of all folders in HOME directory in descending order.
#### .sh file
```
#!/usr/bin/env bash
echo "Generate disk usage report"
echo "---------------------------------"
du -h --max-depth=1 "$HOME" | sort -hr
```
#### Output
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/refs/heads/main/Bash%20Assignment/Screenshot_20250604_192701.png)


4 changes: 4 additions & 0 deletions Bash Assignment/disk_usage.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
echo "Generate disk usage report"
echo "---------------------------------"
du -h --max-depth=1 "$HOME" | sort -hr
108 changes: 108 additions & 0 deletions Git/Git Immersion/Labs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
## Lab-1:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_142603.png)
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_142859.png)
## Lab-2:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_143212.png)
## Lab-3:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_144046.png)
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_144217.png)
## Lab-4:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_144325.png)
## Lab-5:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_144506.png)
## Lab-6:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_144616.png)
## Lab-7:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_145050.png)
## Lab-8:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_145725.png)
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_145744.png)
## Lab-9:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_150206.png)
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_150224.png)
## Lab-10:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_150401.png)
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_150506.png)
## Lab-11:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_150820.png)
## Lab-12:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_151129.png)
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_151141.png)
## Lab-13:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_151838.png)
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_151838.png)
## Lab-14:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_152727.png)
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_152738.png)
## Lab-15:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_153346.png)
## Lab-16:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_153903.png)
## Lab-17:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_154613.png)
## Lab-18:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_154911.png)
## Lab-19:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_155352.png)
## Lab-20:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_155825.png)
## Lab-21:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_160107.png)
## Lab-22:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_161103.png)
## Lab-23:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_174959.png)
## Lab-24:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_175630.png)
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_175726.png)
## Lab-25:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_181819.png)
## Lab-26:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_182217.png)
## Lab-27:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_182351.png)
## Lab-28:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_182459.png)
## Lab-29:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_182651.png)
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_182941.png)
## Lab-30:-
```Nothing to do```
## Lab-31:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_183335.png)
## Lab-32:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_183605.png)
## Lab-33:-
```Forgot to take screenshot```
## Lab-34-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_183754.png)
## Lab-35:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_184102.png)
## Lab-36:-
```Nothing to do```
## Lab-37:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_184319.png)
## Lab-38:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_184319.png)
## Lab-39:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_184635.png)
## Lab-40:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_184751.png)
## Lab-41:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_184954.png)
## Lab-42:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_185118.png)
## Lab-43:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_185225.png)
## Lab-44:-
```Nothing to do```
## Lab-45:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_185455.png)
## Lab-46:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_190109.png)
## Lab-47:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_190222.png)
## Lab-48:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_190222.png)
## Lab-49:-
![Alt text](https://raw.githubusercontent.com/ishantbhartii/Ishant-Bharti-Git-Assignment-DSG/main/Git/Git%20Immersion/Labs/Screenshot_20250604_190526.png)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
51 changes: 51 additions & 0 deletions Shell/Bandit/Bandit.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
Level-0:- Logged in by ssh command ssh [email protected] -p 2220
Add comment
More actions


Level-1:- Used cat command to read the readme file. Password:- ZjLjTmM6FvvyRnrb2rfNWOZOTa6ip5If


Level-2:- Used cat ./* Password:- 263JGJPfgU6LtdEvgfWU1XP5yac29mFx


Level-3:- Used cat "spaces in this filename" Password:- MNk8KNH3Usiio41PRUEoDFPqfxLPlSmx


Level-4:- Used cat "./...Hiding-From-You" Password:- 2WmrDFRmJIq3IPxneAaMGhap0pFhF3NJ


Level-5:- Used file to find the ASCII File Password:- 4oQYVPkxZOOEOO5pTW81FB8j8lxXGUQw


Level-6:- Used ls -r -la /*/* Password:- HWasnPhtq9AVKe0dmk45nxy20cvUa6EG


Level-7:- Used find ./ -user bandit7 -group bandit6 -size 33c 2>/dev/null to hide error messages of permission denied Password:- morbNTDkSW6jIlUc0ymOdMaLnOlFVAaj


Level-8:- Used cat data.txt | grep "millionth" Password:- dfwvzFQi4mU0wfNbFOe9RoWskMLg7eEc


Level-9:- Used cat data.txt | sort | uniq -u Password:- 4CKMh1JI91bUIZZPXDqGanal4xvAg0JM


Level-10:- Used cat data.txt | strings | grep "===" Password:- FGUW5ilLVJrxX9kMYMmlN4MgbpfMiqey


Level-11:- Used cat data.txt | base64 -d Password:- dtR173fZKb0RRsDFSGsg2RWnpNVj3qRr


Level-12:- Used cat data.txt | tr 'A-Za-z' 'N-ZA-Mn-za-m' Password:- 7x16WNeHIi5YkIhWsfFIqoognUTyj9Q4


Level-13:- Reversed the hexdump and used file continuously and unzipped it. Password:- FO5dwFsc0cbaIiH0h8J2eUks2vdTDwAn


Level-14:- Used ssh -i ./sshkey to login to next Level


Level-15:- Password used is MU4VWeTyJk8ROof1qqmcBPaLh7lDCPvS and nc localhost 3000 Password:- 8xCjnmgoKbGLhHFAZlGE5Tmu4M2tKJQo


Level-16:- Used openssl s_client -connect localhost:30001 Password:- kSkvUpMQ7lBYyCM4GBPvCvT1BfWRy0Dx
13 changes: 13 additions & 0 deletions Shell/Missing Semester/Shell Scripting/Exercises.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#### 1.
`ls -lath -color=auto`
#### 2.
![Alt Text](/Shell/Missing%20Semester/Shell%20Scripting/Exercises/Screenshot_20250604_165200.png)
```#!/usr/bin/env bash
marco(){
export MARCO="$(pwd)"
}
polo(){
cd "$MARCO"
}
```
#### 3.
12 changes: 12 additions & 0 deletions Shell/Missing Semester/the Shell/Exercises.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
1. /bin/bash as output
2. Directory made using mkdir command
3. Looked up using man
4. Done
5. Done
6. No execution permission
7. From man sh, it executes the script by reading the file, so no execution permission is required.
8. Done, it adds file bits which can be used to change permission
9. chmod +x ./semester
10. date -r ./semester | cat > ./last-modified.txt
11. cat /sys/class/power_supply/BAT0/capacity
cat /sys/class/thermal/thermal_zone0/temp