diff --git a/Electrical/README.md b/Electrical/README.md new file mode 100644 index 0000000..b1ebb15 --- /dev/null +++ b/Electrical/README.md @@ -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. diff --git a/task1/ShreyW.md b/task1/ShreyW.md new file mode 100644 index 0000000..834b82b --- /dev/null +++ b/task1/ShreyW.md @@ -0,0 +1,103 @@ +# Assignment-1 + +
+ +## OverTheWire Wargames (Bandit) Lvl 0-10 + +
+ + +#### Login + + +##### Code +>ssh bandit0@bandit.labs.overthewire.org -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