REDMED-X 40561cb669 Update README.md пре 2 година
..
README.md 40561cb669 Update README.md пре 2 година
beacon.h 75c6c241e6 QoL update пре 2 година
bofcompile.bat 75c6c241e6 QoL update пре 2 година
enumfiles.c 75c6c241e6 QoL update пре 2 година
enumfiles.cna 75c6c241e6 QoL update пре 2 година
enumfiles.h 75c6c241e6 QoL update пре 2 година
enumfiles.o 75c6c241e6 QoL update пре 2 година

README.md

EnumFiles

Search for matching files based on a word, extension or keyword in the file content. Wildcards are supported.

Keyword matching only works for text based files like .csv, .txt or .ps1 etc. So no MS Office files like .xlsx and .docs :(.

Arguments

  • <path to directory>: specify a path to the directory from which to start searching (recursive searching supported).
  • <search pattern>: specify a single word or extention to search for (support wildcards).
  • <keyword>: leave empty OR specify a keyword to search for in text based files (support wildcards).

Usage

  • enumfiles <path to directory> <search pattern> <(optional) keyword>

Examples

  • enumfiles C:\Users\RTO\Documents *.xlsx
  • enumfiles C:\Users\RTO *login*.* username
  • enumfiles C:\Users\RTO *.txt *pass*

Compile

  • 1. Make sure Visual Studio is installed and supports C/C++.
  • 2. Open the x64 Native Tools Command Prompt for VS <2019/2022> terminal.
  • 3. Run the bofcompile.bat script to compile the object file.
  • 4. In Cobalt strike, use the script manager to load the .cna script to import the tool.