ExamGecko
Question list
Search
Search

Related questions











Question 329 - 312-50v12 discussion

Report
Export

By performing a penetration test, you gained access under a user account. During the test, you established a connection with your own machine via the SMB service and occasionally entered your login and password in plaintext.

Which file do you have to clean to clear the password?

A.
.X session-log
Answers
A.
.X session-log
B.
.bashrc
Answers
B.
.bashrc
C.
.profile
Answers
C.
.profile
D.
.bash_history
Answers
D.
.bash_history
Suggested answer: D

Explanation:

File created by Bash, a Unix-based shell program commonly used on Mac OS X and Linux operating systems; stores a history of user commands entered at the command prompt; used for viewing old commands that are executed.

BASH_HISTORY files are hidden files with no filename prefix. They always use the filename .bash_history.

NOTE: Bash is that the shell program employed by Apple Terminal.

Our goal is to assist you understand what a file with a *.bash_history suffix is and the way to open it.

The Bash History file type, file format description, and Mac and Linux programs listed on this page are individually researched and verified by the FileInfo team. we attempt for 100% accuracy and only publish information about file formats that we've tested and validated.

asked 18/09/2024
Pawel Lenart
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first