Skip to main content

Linux command: strings

strings - print the sequences of printable characters in files

List all 17-printable-characters-long strings

# strings Level-0.exe | egrep ^\.{17}$
L3v3lZ340_is_D02e
virtual thunk to
hidden alias for
 transaction_safe
std::basic_string
unsigned __int128
decltype(nullptr)
NSt6locale5facetE
St13__ios_failure
St13bad_exception
St13messages_base
St13runtime_error
St7codecvtIDiDuiE
St7codecvtIDsDuiE

Popular posts from this blog

MSSQL: Fix error 'Consistency validation for SQL Server registry keys'

While installing Microsof SQL Server 2012, I ran into the following error. "The SQL Server registry keys from a prior installation cannot be modified. To continue, see SQL Server Setup documentation about how to fix registry keys." How to fix Replace the D:\x64\FixSqlRegistryKey_x86.exe file with the original file from the ENU\SQLFULL_ENU.iso file downloading from Microsoft Download Center. This ISO file is 4.2GB. So you can click FixSqlRegistryKey_x86.exe to download this file only. After replacing that file, press Re-run to check. All rules are passed.

Powershell: Get-History

Get-History - Gets a list of the commands entered during the current session.

Powershell: Check Bad Logon

get-aduser -Filter {BadLogonCount -ne 0} -properties * | select SamAccountName,BadLogonCount,BadPasswordTime,BadPwdCount,@{name='badPasswordTimeDT'; expression={[datetime]::fromFileTime($_.badPasswordTime)}} | sort BadPasswordTime | FT