Skip to content

Instantly share code, notes, and snippets.

@0xsonu
Last active December 16, 2022 07:02
Show Gist options
  • Save 0xsonu/d814b9dbc2f5261a3a5d6e5d36ebb098 to your computer and use it in GitHub Desktop.
Save 0xsonu/d814b9dbc2f5261a3a5d6e5d36ebb098 to your computer and use it in GitHub Desktop.
Hackers and Security Analysts Collections: Tips and Free Tools List for Penetration Testers,

Cleanup Evidence on Windows

  • Use Metasploit, and issue the command -> meterpreter > clearev this command will clear the application, system, and Security logs.

  • Or you can go to the Event Viewer > and clear the log manually.

image

Cleanup Evidence On Linux

  • Open Log Files are stored in the /var/log directory

  • Erase the command history and set it to zero -> export HISTSIZE=0

  • Shared the history file shred -> zu root/.bash_history

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment