iamtheky Posted December 13, 2015 Share Posted December 13, 2015 (edited) https://googleonlinesecurity.blogspot.com/2015/12/proactive-measures-in-digital.html Edited December 17, 2015 by iamtheky ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__) Link to comment Share on other sites More sharing options...
iamtheky Posted December 17, 2015 Author Share Posted December 17, 2015 How to Check for the certs with Powershell, updated as i learned you can use dots for spaces in findstr #include <Constants.au3> $SearchString = "VeriSign.Class.3.Public.Primary" $sCommands = 'Powershell dir Cert:\CurrentUser\AuthRoot | findstr ' & '"' & $SearchString & '"' $iPID = Run(@ComSpec & " /c " & $sCommands, "", @SW_HIDE , $stdout_child) $sOutput = "" While 1 $sOutput &= StdoutRead($iPID) If @error Then ExitLoop EndIf WEnd $sRtn = StringLen(StringStripWS($sOutPut , 8)) > 1 ? $sOutput : $SearchString & " Certificate NOT found" ConsoleWrite($sRtn) ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__) Link to comment Share on other sites More sharing options...
TheSaint Posted December 18, 2015 Share Posted December 18, 2015 Wouldn't this be better in Examples, where it is more appropriate, rather than here in Chat where we are not supposed to talk code? You can always link the two places. Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler What is the Secret Key? Life is like a Donut If I put effort into communication, I expect you to read properly & fully, or just not comment. Ignoring those who try to divert conversation with irrelevancies. If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it. I'm only big and bad, to those who have an over-active imagination. I may have the Artistic Liesense to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage) Link to comment Share on other sites More sharing options...
iamtheky Posted December 18, 2015 Author Share Posted December 18, 2015 (edited) True, it is in another location with the eDell cert. I want to chat about using dots in lieu of spaces, when did that happen? If a mod does move this please crosslink it as I am now offering my efforts to the powershell community on twitter, in hopes that they also see the appeal of being able to easily work with the returns in AutoIt.I did not realize that questions existed outside of our community that we have answered long ago, there is something to be said for the aggressive dialog that happens here that has yielded great results. "AutoIt - Get better or gtfo" Edited December 18, 2015 by iamtheky ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__) Link to comment Share on other sites More sharing options...
Blue_Drache Posted December 18, 2015 Share Posted December 18, 2015 I usually check for Certs with a tingling, wintergreen or peppermint feeling in my mouth. Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted December 18, 2015 Moderators Share Posted December 18, 2015 (edited) @iamtheky thankfully we now have a PowerShell sub Examples forum, per our PM discussion. Edited December 18, 2015 by JLogan3o13 "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
iamtheky Posted December 19, 2015 Author Share Posted December 19, 2015 (edited) Ha, "thankfully we now have a Examples forum..." Your edit has you abandoning grammar and sarcastically agreeing with @TheSaint, a win-win Edited December 19, 2015 by iamtheky ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__) Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted December 20, 2015 Moderators Share Posted December 20, 2015 Too true, @iamtheky, mea culpa on this one "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
iamtheky Posted December 20, 2015 Author Share Posted December 20, 2015 no worries, moving targets are equally as difficult as physical constraints. And i have had great fun in the last month offending folks on twitter unintentionally by trying to cram my intent into 144 chars. ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now