{"id":79949,"date":"2021-06-01T14:17:18","date_gmt":"2021-06-01T22:17:18","guid":{"rendered":"http:\/\/www.transterrestrial.com\/?p=79949"},"modified":"2021-06-03T10:35:14","modified_gmt":"2021-06-03T18:35:14","slug":"bash-vi-issue","status":"publish","type":"post","link":"https:\/\/www.transterrestrial.com\/wordpress\/2021\/06\/01\/bash-vi-issue\/","title":{"rendered":"Bash\/Vi Issue"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">So I&#8217;m trying to dig my Windows product key out of my recovered files. I run this pattern on all of them with &#8216;egrep -r &#8216;^([A-Za-z0-9]{5}-){4}[A-Za-z0-9]{5}$&#8217; *&#8217;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It says it finds it in three files:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Binary file recup_dir.7567\/f2079240352_unregmp2 matches<br>Binary file recup_dir.7574\/f2082184960_pidgen_dll matches<br>Binary file recup_dir.7576\/f2082580864_pidgen_dll matches<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But when I go into vi to search for the string itself with the same regex, I get &#8220;No pattern matches.&#8221; Is the syntax for regex different in vi than in bash?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[Wednesday update]<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I still haven&#8217;t found it, but amazingly, I seem to have installed a working version of Windows 10 without it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So I&#8217;m trying to dig my Windows product key out of my recovered files. I run this pattern on all of them with &#8216;egrep -r &#8216;^([A-Za-z0-9]{5}-){4}[A-Za-z0-9]{5}$&#8217; *&#8217; It says it finds it in three files: Binary file recup_dir.7567\/f2079240352_unregmp2 matchesBinary file recup_dir.7574\/f2082184960_pidgen_dll matchesBinary file recup_dir.7576\/f2082580864_pidgen_dll matches But when I go into vi to search for the &hellip; <a href=\"https:\/\/www.transterrestrial.com\/wordpress\/2021\/06\/01\/bash-vi-issue\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Bash\/Vi Issue<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27,3],"tags":[],"class_list":["post-79949","post","type-post","status-publish","format-standard","hentry","category-mathematics","category-technology-and-society"],"_links":{"self":[{"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/posts\/79949","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/comments?post=79949"}],"version-history":[{"count":3,"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/posts\/79949\/revisions"}],"predecessor-version":[{"id":79966,"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/posts\/79949\/revisions\/79966"}],"wp:attachment":[{"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/media?parent=79949"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/categories?post=79949"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/tags?post=79949"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}