Skip to content

Commit d6245f2

Browse files
authored
Merge pull request #77 from lugvitc/master
Deploy
2 parents f21db48 + 57ddeae commit d6245f2

File tree

3 files changed

+65
-28
lines changed

3 files changed

+65
-28
lines changed

src/pages/cli/Cli.jsx

Lines changed: 60 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Terminal } from "primereact/terminal";
33
import { TerminalService } from "primereact/terminalservice";
44
import Particle from "../../components/Particle/Particle";
55
import Typewriters from "typewriter-effect";
6-
import { Typewriter } from "react-simple-typewriter";
6+
// import { Typewriter } from "react-simple-typewriter";
77
export default function Cli() {
88
const commandHandler = (text) => {
99
// console.log("executing: ", text);
@@ -60,22 +60,6 @@ export default function Cli() {
6060
break;
6161

6262
case "event-list":
63-
// response = (
64-
// <div>
65-
// <ul>
66-
// <li>00: Adrenaline/FOSS Day</li>
67-
// <li>01: Rescue Tux</li>
68-
// <li>02: Cyber-0-Day</li>
69-
// <li>03: Hackers' Horizon</li>
70-
// <li>04: GSOC Made Easy</li>
71-
// <li>05: LINUX Installation Booth</li>
72-
// <li>06: Password</li>
73-
// <li>07: Cyber-0-Day 2.0</li>
74-
// <li>08: Password 2024</li>
75-
// <li>09: FOSSit 2024</li>
76-
// </ul>
77-
// </div>
78-
// );
7963
response = (
8064
<div>
8165
<ul>
@@ -98,26 +82,32 @@ export default function Cli() {
9882
response =
9983
"Held on the 17th March, 2022, Adreanline/FOSS Day was a one-day event for participants to show-off their familiarity with open-source technologies. Participants gathered to demonstrate their projects to an industry expert.";
10084
break;
85+
10186
case "man rescue-tux":
10287
response =
10388
"Rescue The Tux event, generously sponsored by GeeksForGeeks, was an opportunity to bring together participants for an immersive Linux competition, introducing them to the world of Linux and Open Source Software.";
10489
break;
90+
10591
case "man cyber-0-day":
10692
response =
10793
"Cyber-0-Day 2.0, the flagship event of Technovit, took our future hackers on a riveting expedition into the world of cybersecurity. Held at the grand Netaji Auditorium, this 24-hour tech marathon was an unforgettable experience.The event commenced with a knowledge-packed workshop covering five key topics: Linux fundamentals, OSINT reconnaissance, Web exploitation, cryptography, and Binary exploitation. Participants absorbed valuable insights and honed their skills during these interactive as well as hands-on sessions. Our tech team was active throughout the sessions assisting them with their doubts.";
10894
break;
95+
10996
case "man hackers-horizon":
11097
response =
11198
'The Linux Club organized a highly successful two-day event, "Hackers Horizon" on 11th and 12th February 2023, featuring a full hands-on hacking session led by the esteemed Mr. Ankit Singh, a renowned cybersecurity expert and a top 50 Bugcrowd hacker globally.';
11299
break;
100+
113101
case "man gsoc-made-easy":
114102
response =
115-
"Linux Club, VIT Chennai successfully organised “Google Summer of Code Made Easy” , purpose of the event was to guide students about GSOC. Beleswar Prasad Padhi, president of LINUX CLUB was speaker of the event, he participated in GSoC and contributed to the well-known Metasploit cybersecurity framework";
103+
"Linux Club, VIT Chennai successfully organised “Google Summer of Code Made Easy”, purpose of the event was to guide students about GSOC. Beleswar Prasad Padhi, president of LINUX CLUB was speaker of the event, he participated in GSoC and contributed to the well-known Metasploit cybersecurity framework";
116104
break;
105+
117106
case "man linux-installation-booth":
118107
response =
119108
"Linux Club, VIT Chennai successfully organised “LINUX INSTALLATION BOOTH”, where we helped students both install Linux OS and dual boot their systems. Our aim was to make Linux accessible to everyone, regardless of their technical background, and we are proud to say that we achieved this goal. During the event, we provided step-by-step guidance and assistance to students installing Linux on their systems. We welcomed more than 200 participants. It was amazing to see the enthusiasm and curiosity of the students who participated in the booth. Many of them were interested in learning more about Linux and its potential.";
120109
break;
110+
121111
case "man password":
122112
response =
123113
"Password in this event participants will have the opportunity to engage in hands-on workshops, where they can learn practical skills related to cybersecurity. These workshops will cover areas like cryptography, penetration testing, and incident response";
@@ -127,10 +117,12 @@ export default function Cli() {
127117
response =
128118
"Cyber-0-Day 2.0, the flagship event of Technovit, took our future hackers on a riveting expedition into the world of cybersecurity. Held at the grand Netaji Auditorium, this 24-hour tech marathon was an unforgettable experience.The event commenced with a knowledge-packed workshop covering five key topics: Linux fundamentals, OSINT reconnaissance, Web exploitation, cryptography, and Binary exploitation. Participants absorbed valuable insights and honed their skills during these interactive as well as hands-on sessions. Our tech team was active throughout the sessions assisting them with their doubts.";
129119
break;
120+
130121
case "man password2":
131122
response =
132123
"The club's flagship event for the academic year, Password 2.0 saw engaging workshops, the official launch of StratOS and a novel attack and defense based CTF round covering the wide field of cybersecurity";
133124
break;
125+
134126
case "man fossit":
135127
response =
136128
"FOSSit '24 was a 24-hour Open Source marathon aimed towards introducing the participants to the different aspects of Free and Open Source Software. With workshops, competition, collaboration, the event encapsulated the world of FOSS into a informative and fun experience.";
@@ -206,14 +198,16 @@ export default function Cli() {
206198
<li>rm: Remove files or directories. rm file_name</li>
207199
<li>cp: Copy files or directories. cp source destination</li>
208200
<li>
209-
{" "}
210201
mv: Move or rename files or directories. mv old_name new_name
211202
</li>
212203
<li>
213204
touch: Create an empty file or update the access and
214205
modification times of a file. touch filename
215206
</li>
216-
<li>cat: Display the contents of a file. cat filename</li>
207+
<li>
208+
cat: Display the contents of a file. cat filename example: cat
209+
level_8
210+
</li>
217211
<li>
218212
echo: Display a message or concatenate files. echo "Hello,
219213
Linux!"
@@ -222,7 +216,6 @@ export default function Cli() {
222216
</div>
223217
);
224218
break;
225-
``;
226219

227220
case "board-member":
228221
response = (
@@ -289,6 +282,52 @@ export default function Cli() {
289282
);
290283
break;
291284

285+
case "nexus":
286+
response = (
287+
<div>
288+
<a href="https://a.lugvitc.net/d577b6d3-6fa2-4cec-ad29-208c9476bf22">
289+
Begin
290+
</a>
291+
</div>
292+
);
293+
break;
294+
295+
case "cat level_8":
296+
response = (
297+
<div>
298+
<p>Requires super user privilege</p>
299+
</div>
300+
);
301+
break;
302+
303+
case "sudo cat level_8":
304+
response = (
305+
<div>
306+
<a href="https://a.lugvitc.net/1cc7a3f4-1637-4ce1-a3b2-051f06f89b2e">
307+
Level 9
308+
</a>
309+
</div>
310+
);
311+
break;
312+
313+
case "sudo":
314+
response = (
315+
<div>Learn the basics before using super user privileges</div>
316+
);
317+
break;
318+
319+
case "ls":
320+
response = (
321+
<ul>
322+
<li>Desktop</li>
323+
<li>Downloads</li>
324+
<li>level_8</li>
325+
<li>Music</li>
326+
<li>Pictures</li>
327+
</ul>
328+
);
329+
break;
330+
292331
default:
293332
response = "Unknown command: " + command;
294333
break;

src/pages/home/Root.jsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,11 @@ function Root() {
5353
</svg>
5454
);
5555
}
56-
5756

5857
return (
5958
<>
6059
<Particles />
6160
<div className="flex flex-row flex-wrap ">
62-
6361
<div className="flex justify-center items-center flex-wrap sm:w-7/12 sm:h-[60vh]">
6462
<div className="w-full md:w-8/12 lg:w-6/12 xl:w-6/12 px-4">
6563
<div className="pt-32 sm:pt-0">
@@ -100,7 +98,7 @@ function Root() {
10098
</p>
10199
<Typewriter
102100
words={[
103-
"Are you a member of CLI cult ,If yes explore our website with our CLI",
101+
"Are you a member of CLI cult, If yes explore our website with our CLI",
104102
]}
105103
cursor
106104
cursorStyle="_"

src/pages/learn/Learn.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function Learn() {
1515
link: "/chapter_1",
1616
title: "Linux: What? Why? How?",
1717
description:
18-
"What is Linux,Linux Distributions , The Linux Family Tree,Why do we need it?,Installation ...",
18+
"What is Linux, Linux Distributions, The Linux Family Tree,Why do we need it?,Installation ...",
1919
},
2020
{
2121
link: "/chapter_2",
@@ -34,19 +34,19 @@ function Learn() {
3434
link: "/chapter_4",
3535
title: "Processes and Packages",
3636
description:
37-
"Processes, Process states , Process Monitoring, Background and Foreground jobs, Package Managers...",
37+
"Processes, Process states, Process Monitoring, Background and Foreground jobs, Package Managers...",
3838
},
3939
{
4040
link: "/chapter_5",
4141
title: "Advanced Features",
4242
description:
43-
"Terminal Utilities, Path Expansion ,Brace Expansion ,Modes, Opening a file, Changing Modes and Giving Commands, Vim cheat sheet ...",
43+
"Terminal Utilities, Path Expansion, Brace Expansion, Modes, Opening a file, Changing Modes and Giving Commands, Vim cheat sheet ...",
4444
},
4545
{
4646
link: "/chapter_6",
4747
title: "Desktop Customization",
4848
description:
49-
"Vim Customization, Vim Plugins , Customizing GNOME, Extensions",
49+
"Vim Customization, Vim Plugins, Customizing GNOME, Extensions",
5050
},
5151
];
5252

0 commit comments

Comments
 (0)