• In times of hackathon you can do a port scan on the IP’s of the WIFI routers around and can see the applications they are running
  • We can create an website called faceboook.com keeping same CSS of facebook.com and send to friend and get the credentials if your friend is an numb
  • Open sudo nvim /etc/hosts and you can see the IP addresses wrt to your local domains, thus if you get hang of a persons laptop then you can configure an IP of his laptop to another IP of the website you built
  • we can sniff the packets if people around you are using HTTP using wireshark Tool for reference refer https://www.geeksforgeeks.org/sniffing-of-login-credential-or-password-capturing-in-wireshark/
  • There are two types of languages: Compiled, Interpreted. Compiled languages like C, Rust, go they don’t relay on any other programs to run as they compile down to binary and can run independently like we can run a go compiled program like this ./main.go. But on the other hand Interpreted languages need an another program (probably and interpreter Program) to run for example python, javascript, ruby to run this we need to use interpreter like python3 main.py
  • The PATH variable in Linux File tells the shell to directly execute the program without specifying the whole path. For context, the programs, languages kind of things are installed in the /bin directory(in most of the cases), but to use them we need to give absolute path. For example, suppose i have installed ghostty terminal in bin directory say at /bin/ghostty but to access/open ghostty i need to type ~/bin/ghostty, it’s not ideal and get complex when there are sub directories thus we can set the path of the ghostty into the PATH variable like PATH=~/bin/ghostty (not exactly) and we can access it simply by typing ghostty in terminal. We can attach as many values/paths to PATH variable in out config file. for context type echo ${PATH} in terminal. And now you know the meaning of error zsh: command not found: some_random_text , it basically means this command is not configured in PATH variable
  • Use this command to get the of the port running netstat -tulpn | grep :<PORT>