nerdexam
EC-Council

312-50V11 · Question #829

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 an

The correct answer is D. .bash_history. 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. T

System Hacking

Question

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?

Options

  • A.X session-log
  • B.bashrc
  • C.profile
  • D.bash_history

How the community answered

(58 responses)
  • A
    2% (1)
  • B
    3% (2)
  • C
    9% (5)
  • D
    86% (50)

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.

Topics

#bash history#covering tracks#credential cleanup#SMB

Community Discussion

No community discussion yet for this question.

Full 312-50V11 Practice