Skip to content

Instantly share code, notes, and snippets.

@jackkongjr
jackkongjr / tap-pizero-roguedevice.md
Last active November 4, 2026 18:55
Different ways to make a Network TAP to sniff network traffic ... for Pentesting

Different ways to make a Network TAP to sniff network traffic ... for Pentesting

Summary

  • What is a network TAP
  • Network TAP with ethernet cable
  • Simulate a network TAP through a software bridge
@jackkongjr
jackkongjr / ssh-pam-exec.md
Last active August 28, 2024 09:41
Enhancing SSH with PAM - Accepting incoming SSH connection server side ... for Pentesting

Enhancing SSH with PAM - Accepting incoming SSH connection server side ... for Pentesting

What is the purpose:

  • run ssh without entering the remote user's password
  • and in the same time avoid to specify the private key
  • have control of every incoming SSH connection and decide whether to accept or reject it...server side
@jackkongjr
jackkongjr / Bypass.cs
Created June 17, 2023 09:23
Powershell Constrained Language bypass pseudo-shell
using System;
using System.Management.Automation;
using System.Management.Automation.Runspaces;
namespace Bypass
{
class Program
{
static void Main(string[] args)