見出し画像

10/14 io

  • su (switch user): This command allows you to switch to another user in a session. It can be used to switch to the root user or any other user by providing their credentials. For example, su - switches you to the root user, while su username switches you to another specified user.

  • sudo (superuser do): This command allows a permitted user to execute a command as the superuser (root) or another user temporarily, based on configuration in the /etc/sudoers file. It grants elevated permissions for a single command without needing to switch users entirely.

  • nmap -sS (SYN scan): The -sS option initiates a SYN scan, also known as a half-open scan. In this scan, Nmap sends a SYN packet (the first step in the TCP 3-way handshake). If the target responds with a SYN/ACK, Nmap knows the port is open but doesn't complete the handshake. Instead, it resets the connection (RST), making it stealthier because it doesn't fully establish a TCP connection.

3-way handshake

いいなと思ったら応援しよう!