Maximus5 / ConEmu

Customizable Windows terminal with tabs, splits, quake-style, hotkeys and more
https://conemu.github.io/
BSD 3-Clause "New" or "Revised" License
8.53k stars 572 forks source link

'strings' is not recognized as an internal or external command. #2377

Closed yeti-code closed 2 years ago

yeti-code commented 2 years ago

Versions

ConEmu build: 210912 x64 OS version: Windows 10 x64 Used shell version /cmd

Problem description

Ran the strings command on an exe file and piped it out to grep for a specific string. Got a "Strings is not recognized as an internal or external command" error.

strings example.exe |grep -i example_string

Steps to reproduce

  1. Install latest build, all default settings, and nano as editor.
  2. Pick an exe file of choosing
  3. run <<strings example.exe |grep -i example_string

Actual results

C:\Users\***\Desktop\AVEvasion\mimikatz\x64 (master -> origin)

λ strings mimikatz.exe |grep -i mimikatz
'strings' is not recognized as an internal or external command,
operable program or batch file.

Expected results

Either strings are outputted or a null result.

Additional files

https://gist.github.com/yeti-code/f139bf2fa7b1a08027917012ebbc2f9a

dodmi commented 2 years ago

"strings" is not a native command. Ensure, that the executable is in your system path.

yeti-code commented 2 years ago

I can't believe I never thought of that smh. Thank you. Working now.