diff --git a/2019/README b/2019/README new file mode 100644 index 0000000..718132f --- /dev/null +++ b/2019/README @@ -0,0 +1,8 @@ +#Searx Setup with Docker and Filtron +A half hearted attempt to get Searx started in a short amount of time. Works but needs work. + + +#Windows ID vs Windows Product Key +See how an unsuspecting user thinks they copied the valid Windows Key but instead only copied the oem ID. +Windows 1, User 0 +Also a vbs script from lenovo in resources to grab the actual key from the machine (if the key isn't corrupted). \ No newline at end of file diff --git a/2019/Windows_ID_vs_Windows_Key/docs/8.aux b/2019/Windows_ID_vs_Windows_Key/docs/8.aux new file mode 100644 index 0000000..e39e8cb --- /dev/null +++ b/2019/Windows_ID_vs_Windows_Key/docs/8.aux @@ -0,0 +1,3 @@ +\relax +\@writefile{toc}{\contentsline {section}{\numberline {1}Overview}{1}} +\@writefile{toc}{\contentsline {section}{\numberline {2}Details}{1}} diff --git a/2019/Windows_ID_vs_Windows_Key/docs/8.log b/2019/Windows_ID_vs_Windows_Key/docs/8.log new file mode 100644 index 0000000..b4f133d --- /dev/null +++ b/2019/Windows_ID_vs_Windows_Key/docs/8.log @@ -0,0 +1,184 @@ +This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2015/dev/Debian) (preloaded format=pdflatex 2018.11.28) 6 FEB 2019 18:51 +entering extended mode + restricted \write18 enabled. + %&-line parsing enabled. +**/home/layoutdev/Desktop/code/documentation_general/IT_General/2019/8.tex +(/home/layoutdev/Desktop/code/documentation_general/IT_General/2019/8.tex +LaTeX2e <2014/05/01> +Babel <3.9l> and hyphenation patterns for 2 languages loaded. +(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls +Document Class: article 2014/09/29 v1.4h Standard LaTeX document class +(/usr/share/texlive/texmf-dist/tex/latex/base/size11.clo +File: size11.clo 2014/09/29 v1.4h Standard LaTeX file (size option) +) +\c@part=\count79 +\c@section=\count80 +\c@subsection=\count81 +\c@subsubsection=\count82 +\c@paragraph=\count83 +\c@subparagraph=\count84 +\c@figure=\count85 +\c@table=\count86 +\abovecaptionskip=\skip41 +\belowcaptionskip=\skip42 +\bibindent=\dimen102 +) +(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty +Package: graphicx 2014/04/25 v1.0g Enhanced LaTeX Graphics (DPC,SPQR) + +(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty +Package: keyval 2014/05/08 v1.15 key=value parser (DPC) +\KV@toks@=\toks14 +) +(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty +Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR) + +(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty +Package: trig 1999/03/16 v1.09 sin cos tan (DPC) +) +(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg +File: graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live +) +Package graphics Info: Driver file: pdftex.def on input line 91. + +(/usr/share/texlive/texmf-dist/tex/latex/pdftex-def/pdftex.def +File: pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX + +(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty +Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages (HO) +) +(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty +Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO) +) +\Gread@gobject=\count87 +)) +\Gin@req@height=\dimen103 +\Gin@req@width=\dimen104 +) +(/usr/share/texlive/texmf-dist/tex/latex/caption/caption.sty +Package: caption 2013/05/02 v3.3-89 Customizing captions (AR) + +(/usr/share/texlive/texmf-dist/tex/latex/caption/caption3.sty +Package: caption3 2013/05/02 v1.6-88 caption3 kernel (AR) +Package caption3 Info: TeX engine: e-TeX on input line 57. +\captionmargin=\dimen105 +\captionmargin@=\dimen106 +\captionwidth=\dimen107 +\caption@tempdima=\dimen108 +\caption@indent=\dimen109 +\caption@parindent=\dimen110 +\caption@hangindent=\dimen111 +) +\c@ContinuedFloat=\count88 +) (./8.aux) +\openout1 = `8.aux'. + +LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 8. +LaTeX Font Info: ... okay on input line 8. +LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 8. +LaTeX Font Info: ... okay on input line 8. +LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 8. +LaTeX Font Info: ... okay on input line 8. +LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 8. +LaTeX Font Info: ... okay on input line 8. +LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 8. +LaTeX Font Info: ... okay on input line 8. +LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 8. +LaTeX Font Info: ... okay on input line 8. + +(/usr/share/texlive/texmf-dist/tex/context/base/supp-pdf.mkii +[Loading MPS to PDF converter (version 2006.09.02).] +\scratchcounter=\count89 +\scratchdimen=\dimen112 +\scratchbox=\box26 +\nofMPsegments=\count90 +\nofMParguments=\count91 +\everyMPshowfont=\toks15 +\MPscratchCnt=\count92 +\MPscratchDim=\dimen113 +\MPnumerator=\count93 +\makeMPintoPDFobject=\count94 +\everyMPtoPDFconversion=\toks16 +) (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty +Package: pdftexcmds 2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX (HO +) + +(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifluatex.sty +Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO) +Package ifluatex Info: LuaTeX not detected. +) +(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty +Package: ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO) +Package ifpdf Info: pdfTeX in PDF mode is detected. +) +Package pdftexcmds Info: LuaTeX not detected. +Package pdftexcmds Info: \pdf@primitive is available. +Package pdftexcmds Info: \pdf@ifprimitive is available. +Package pdftexcmds Info: \pdfdraftmode found. +) +(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty +Package: epstopdf-base 2010/02/09 v2.5 Base part for package epstopdf + +(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/grfext.sty +Package: grfext 2010/08/19 v1.1 Manage graphics extensions (HO) + +(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty +Package: kvdefinekeys 2011/04/07 v1.3 Define keys (HO) +)) +(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty +Package: kvoptions 2011/06/30 v3.11 Key value format for package options (HO) + +(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty +Package: kvsetkeys 2012/04/25 v1.16 Key value parser (HO) + +(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/etexcmds.sty +Package: etexcmds 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO) +Package etexcmds Info: Could not find \expanded. +(etexcmds) That can mean that you are not using pdfTeX 1.50 or +(etexcmds) that some package has redefined \expanded. +(etexcmds) In the latter case, load this package earlier. +))) +Package grfext Info: Graphics extension search list: +(grfext) [.png,.pdf,.jpg,.mps,.jpeg,.jbig2,.jb2,.PNG,.PDF,.JPG,.JPE +G,.JBIG2,.JB2,.eps] +(grfext) \AppendGraphicsExtensions on input line 452. + +(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg +File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Liv +e +)) +Package caption Info: Begin \AtBeginDocument code. +Package caption Info: End \AtBeginDocument code. +LaTeX Font Info: External font `cmex10' loaded for size +(Font) <12> on input line 10. +LaTeX Font Info: External font `cmex10' loaded for size +(Font) <8> on input line 10. +LaTeX Font Info: External font `cmex10' loaded for size +(Font) <6> on input line 10. + +(./8.toc) +\tf@toc=\write3 +\openout3 = `8.toc'. + + [1 + +{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] (./8.aux) ) +Here is how much of TeX's memory you used: + 2534 strings out of 495020 + 40239 string characters out of 6181323 + 93796 words of memory out of 5000000 + 5750 multiletter control sequences out of 15000+600000 + 8195 words of font info for 29 fonts, out of 8000000 for 9000 + 14 hyphenation exceptions out of 8191 + 38i,4n,38p,424b,187s stack positions out of 5000i,500n,10000p,200000b,80000s + +Output written on 8.pdf (1 page, 44132 bytes). +PDF statistics: + 20 PDF objects out of 1000 (max. 8388607) + 13 compressed objects within 1 object stream + 0 named destinations out of 1000 (max. 500000) + 1 words of extra memory for PDF output out of 10000 (max. 10000000) + diff --git a/2019/Windows_ID_vs_Windows_Key/docs/8.pdf b/2019/Windows_ID_vs_Windows_Key/docs/8.pdf new file mode 100644 index 0000000..9087673 Binary files /dev/null and b/2019/Windows_ID_vs_Windows_Key/docs/8.pdf differ diff --git a/2019/Windows_ID_vs_Windows_Key/docs/8.tex b/2019/Windows_ID_vs_Windows_Key/docs/8.tex new file mode 100644 index 0000000..8d9db26 --- /dev/null +++ b/2019/Windows_ID_vs_Windows_Key/docs/8.tex @@ -0,0 +1,24 @@ +\documentclass[11pt]{article} +%Gummi|065|=) +\usepackage{graphicx} +\usepackage{caption} +\title{\textbf{Windows Licensing 7: Rectal Insertion}} +\author{} +\date{} +\begin{document} + +\maketitle +\tableofcontents + +\section{Overview} +Windows 7 is a beast to activate. Constant cat \& mouse game, where the admins are slowly trained that the best way to get it activated is to pay for it. But what if you did pay, and then it gets disactivated somehow? Pay for it again. It's the fastest way. Only a fool goes down the rabbit hole of trying to illegally activate a legal copy of Win7. +\section{Details} +User had Windows 8. Their IT advised them to downgrade to 7 because 8 was garbage. 5-10 years later, the license unexpectedly becomes inactive. + +Notes: The users had actually taken a screenshot of the windows ID, in the system screen, but this wasn't the windows key. It was the OEM ID. That was a trap. If it says OEM, you can get the windows key from a vbs script provided on lenovos webpage for finding win7 keys, (I'll include it in the git). That is what they should've used. + +Cat \& mouse. Even for paying customers. If there is a way to screw you, they will screw you. You might even take a picture of what you thought was the ID. Well, it wasn't the ID. + + + +\end{document} diff --git a/2019/Windows_ID_vs_Windows_Key/docs/8.toc b/2019/Windows_ID_vs_Windows_Key/docs/8.toc new file mode 100644 index 0000000..de42a79 --- /dev/null +++ b/2019/Windows_ID_vs_Windows_Key/docs/8.toc @@ -0,0 +1,2 @@ +\contentsline {section}{\numberline {1}Overview}{1} +\contentsline {section}{\numberline {2}Details}{1} diff --git a/2019/Windows_ID_vs_Windows_Key/resources/test.vbs b/2019/Windows_ID_vs_Windows_Key/resources/test.vbs new file mode 100644 index 0000000..c12bb17 --- /dev/null +++ b/2019/Windows_ID_vs_Windows_Key/resources/test.vbs @@ -0,0 +1,26 @@ +Set WshShell = CreateObject("WScript.Shell") +MsgBox ConvertToKey(WshShell.RegRead("HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId")) + +Function ConvertToKey(Key) +Const KeyOffset = 52 +i = 28 +Chars = "BCDFGHJKMPQRTVWXY2346789" +Do +Cur = 0 +x = 14 +Do +Cur = Cur * 256 +Cur = Key(x + KeyOffset) + Cur +Key(x + KeyOffset) = (Cur \ 24) And 255 +Cur = Cur Mod 24 +x = x -1 +Loop While x >= 0 +i = i -1 +KeyOutput = Mid(Chars, Cur + 1, 1) & KeyOutput +If (((29 - i) Mod 6) = 0) And (i <> -1) Then +i = i -1 +KeyOutput = "-" & KeyOutput +End If +Loop While i >= 0 +ConvertToKey = KeyOutput +End Function \ No newline at end of file diff --git a/README.md b/README.md index 21e817d..1f8dc1e 100644 --- a/README.md +++ b/README.md @@ -9,3 +9,4 @@ Honeywell T6 Pro review #2019 Setting up Searx with Filtron, docker, and an Nginx reverse proxy on Devuan Ascii. +Windows ID vs Windows Product Key