Skip to content

Instantly share code, notes, and snippets.

View tuantmb's full-sized avatar
😹

Tuan T tuantmb

😹
  • Vietnam
View GitHub Profile
From: http://redteams.net/bookshelf/
Techie
Unauthorised Access: Physical Penetration Testing For IT Security Teams by Wil Allsopp.
Social Engineering: The Art of Human Hacking by Christopher Hadnagy
Practical Lock Picking: A Physical Penetration Tester's Training Guide by Deviant Ollam
The Art of Deception: Controlling the Human Element of Security by Kevin Mitnick
Hacking: The Art of Exploitation by Jon Erickson and Hacking Exposed by Stuart McClure and others.
Nmap Network Scanning: The Official Nmap Project Guide to Network Discovery and Security Scanning by Fyodor
The Shellcoder's Handbook: Discovering and Exploiting Security Holes by several authors
@tuantmb
tuantmb / LAPSDecrypt.cs
Created May 16, 2023 06:54 — forked from xpn/LAPSDecrypt.cs
Quick POC looking at how encryption works for LAPS (v2)
using System;
using System.Collections.Generic;
using System.DirectoryServices.Protocols;
using System.Globalization;
using System.Linq;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.ComTypes;
using System.Security.Policy;
using System.Security.Principal;
using System.Text;
@tuantmb
tuantmb / macbook_pro_ubuntu_install.md
Created February 23, 2023 06:25 — forked from cjonesy/macbook_pro_ubuntu_install.md
Installing Ubuntu on MacBook Pro

Macbook Pro - Ubuntu Install

Requirements

2 USB drives > 2GB

Pre-Install

Create bootable USB drive

  1. Grab the latest Ubuntu Desktop iso image
@tuantmb
tuantmb / transmac reset.txt
Created February 22, 2023 23:16 — forked from speediegq/transmac reset.txt
Reset TransMac Trial back to 15 days (Unpatchable)
since you can find this on the internet easily anyway, i decided to create this for ya.
I know a lot of ppl wont like this but fuck it, it's ez anyway.
One click batch script download: https://anonfiles.com/59T773t2uf/TransMac_Trial_Resetter_bat
Run this whenever you want or put it in your startup folder
(Win+R and type shell:startup)
For all other users, one time easy way to do it, open Regedit
Navigate to Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved\ or paste that in the address bar.
@tuantmb
tuantmb / siem_training.md
Created February 21, 2023 15:35 — forked from isaqueprofeta/siem_training.md
SIEM Training
@tuantmb
tuantmb / leadership_reads.md
Created November 18, 2022 09:13 — forked from Neener54/leadership_reads.md
Leadership Reading Material
@tuantmb
tuantmb / add CA cert on CentOS Debian Ubuntu.md
Created October 19, 2022 08:35 — forked from kekru/add CA cert on CentOS Debian Ubuntu.md
Add CA cert to local trust store on CentOS, Debian or Ubuntu
  • Open a webpage that uses the CA with Firefox
  • Click the lock-icon in the addressbar -> show information -> show certificate
  • the certificate viewer will open
  • click details and choose the certificate of the certificate-chain, you want to import to CentOS
  • click "Export..." and save it as .crt file
  • Copy the .crt file to /etc/pki/ca-trust/source/anchors on your CentOS machine
  • run update-ca-trust extract
  • test it with wget https://thewebsite.org
@tuantmb
tuantmb / New-SYSVOLZip.ps1
Created August 12, 2022 15:43 — forked from HarmJ0y/New-SYSVOLZip.ps1
Compresses all of SYSVOL to a local .zip file.
function New-SYSVOLZip {
<#
.SYNOPSIS
Compresses all folders/files in SYSVOL to a .zip file.
Author: Will Schroeder (@harmj0y)
License: BSD 3-Clause
Required Dependencies: None
function Get-NonstandardService {
<#
.SYNOPSIS
Returns services where the associated binaries are either not signed, or are
signed by an issuer not matching 'Microsoft'.
Author: Will Schroeder (@harmj0y)
License: BSD 3-Clause
Required Dependencies: None