Skip to content

Instantly share code, notes, and snippets.

View t3hcr's full-sized avatar
💭
[🔋 ,⚡]🐚

Chris Rivers t3hcr

💭
[🔋 ,⚡]🐚
View GitHub Profile
@t3hcr
t3hcr / Check_and_update_Lenovo_ImController.ps1
Created January 6, 2022 19:23
Checking and updating Lenovo ImController version with PowerShell
<#
CONTEXT:
- https://heimdalsecurity.com/blog/lenovo-laptops-vulnerable-to-privilege-escalation-exploit/
- https://support.lenovo.com/cy/en/product_security/len-75210
On default installs, ImController is located at:
\\$ComputerName\C$\Windows\Lenovo\ImController\Service\Lenovo.Modern.ImController.exe
Per the article and advisory, versionf of ImController 1.1.20.2 and earlier are vulnerable.
@t3hcr
t3hcr / WSL2_VPN_Workaround_Instructions.md
Created April 9, 2021 02:17 — forked from machuu/WSL2_VPN_Workaround_Instructions.md
Workaround for WSL2 network broken on VPN

Overview

Internet connection and DNS routing are broken from WSL2 instances, when some VPNs are active. The workaround breaks down into two problems:

  1. Network connection to internet
  2. DNS in WSL2

This problem is tracked in multiple microsoft/WSL issues including, but not limited to:

Keybase proof

I hereby claim:

  • I am t3hcr on github.
  • I am t3hcr (https://keybase.io/t3hcr) on keybase.
  • I have a public key ASAgRMg9XyDFFbUhjlEoe796M7CFiNPOY-2KIwxHjKP_sAo

To claim this, I am signing this object:

@t3hcr
t3hcr / code_review.md
Created June 10, 2016 03:31 — forked from marionzualo/code_review.md
Code Reviews

Code Review

A guide for reviewing code and having your code reviewed.

Peer code reviews are the single biggest thing you can do to improve your code - Jeff Atwood

Purpose

Code review is an important part of a team's development process. It helps to:

  • disseminate knowledge about the codebase/technology/techniques across teams
  • increase awareness of the features being developed