Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Electrical(Task-1) #43

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
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
11 changes: 11 additions & 0 deletions Electrical/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
### Link To Tinkercad :
[555 Timer Circuit](https://www.tinkercad.com/things/2Z2OQxuMoN3)

#### Approach :

- Using the 'Astable' mode of the the 555 Timer IC.
- Changing the values of the resistors to control the frequency of the LED.
- T1=0.693 * (R1+R2) * C1 -Time for which LED is ON.
- T=0.693 * (R1+2R2) * C1 -Total time period.
- Duty= T1/T * 100
- Potentiometer to be used for changing the blinking frequency of the LED.
103 changes: 103 additions & 0 deletions task1/ShreyW.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
# Assignment-1

<hr style="border:1px solid gray"> </hr>

## OverTheWire Wargames (Bandit) Lvl 0-10

<hr style="border:1px solid gray"> </hr>


#### Login


##### Code
>ssh [email protected] -p 2220
---

#### Level 0-

##### Code
>ls
>
>cat readme

---

#### Level 1-
##### Code
> cat ./-


---

#### Level 2-
##### Code
>cat spaces\ in\ this\ filename

---

#### Level 3-
##### Code
>cd inhere/
>
>ls -a
>
>cat .hidden

---

#### Level 4-
##### Code
>cd inhere
>
>file ./-*
>
>cat ./-file07

*file07-only file with ASCII text*

---

#### Level 5-
##### Code
>cd inhere
>
>find ./maybehere* -size 1033c
>
>cat ./maybehere07/.file2

*-size used to find file with given size (c for bytes)*

---
#### Level 6-
##### Code
>find / -user bandit7 -group bandit6 -size 33c
>
>cat /var/lib/dpkg/info/bandit7.password


---

#### Level 7-
##### Code
>grep 'millionth' data.txt

---

#### Level 8-
##### Code
>sort data.txt | uniq -u

*sort is used first to put same text adjacent to each other which is then filtered by uniq and printed using -u*

---

#### Level 9-
##### Code
>strings data.txt | grep '===='

---

#### Level 10-
##### Code
>base64 -d data.txt