You will be prompted for a password during extraction.
If the "encrypt file names" option was used during creation, you cannot even view the file list inside the archive without the password. You will be prompted for a password during extraction
To extract to a specific directory: 7z x fp.7z -o./destination_folder . If fp.7z is password-protected: You will be prompted for a password during extraction
In CTF scenarios, you might use tools like 7z2john followed by John the Ripper to attempt a brute-force or dictionary attack on the archive's password. 7zip - Securely encrypt and decrypt files using 7zip You will be prompted for a password during extraction
You can also use PeaZip or WinZip for full read/write support. Command Line (CLI): To extract with full paths: 7z x fp.7z .