Skip to content

Instantly share code, notes, and snippets.

View michele-tn's full-sized avatar
🎯
Focusing

michele-tn

🎯
Focusing
View GitHub Profile

πŸš€ Advanced Network Stress-Testing in C#

SYN Flood & UDP Flood with Random Source IP and MAC


network icon

Simulate DDoS/DoS Attacks for Penetration Testing (Linux, C#, Raw Sockets)

πŸš€ [#SCADA LANGUAGE] Videojet DataFlex 6420 β€” Zipher Text Communications Protocol Example

This README demonstrates how to communicate with a Videojet printer using the Zipher Text Communications Protocol, as detailed in the official documentation:

πŸ“„ Protocol PDF: Zipher Text Coms Protocol v1.21


πŸ”§ Purpose

πŸš€ Automated Reverse SSH Port Forwarding

πŸ” A Windows Service for Secure SSH Tunneling & Multi-Port Forwarding

πŸ›  Features

βœ… Automated Reverse Port Forwarding – Supports 22, 3389, 5800, 5900
βœ… Windows Service Mode – Prevents accidental termination
βœ… Auto-Reconnect – If disconnected, reconnects automatically
βœ… Encrypted Passphrase – Loads AES-encrypted passphrase from file
βœ… Embedded Private Key Security – Uses Renci.SshNet for seamless authentication

πŸ› οΈ How to Create VLANs via SSH on OpenWRT Routers (e.g., GL.iNet Mango)

This README provides a step-by-step guide on how to create VLANs on OpenWRT-based routers (such as GL.iNet Mango) using the command-line interface via SSH. VLANs (Virtual LANs) enable network segmentation for enhanced security and management.


πŸ“‹ Requirements

  • OpenWRT-compatible router (e.g., GL.iNet Mango)
  • SSH access to the router

πŸ–±οΈ Windows 11 - Restore Classic Context Menu

This GITS provides batch scripts to enable and disable the classic right-click context menu in Windows 11.


πŸ“‹ Description

Windows 11 introduced a new modern-style context menu. If you prefer the classic Windows 10-style menu, these scripts modify the Windows Registry to bring it back.

πŸ›‘οΈ Backup and Restore GRUB Configuration to Prevent Boot Issues

Ensure your Linux system remains bootable by backing up GRUB and the Master Boot Record (MBR).


πŸ“˜ Overview

GRUB (GRand Unified Bootloader) is a critical part of the Linux boot process.
Misconfiguring or damaging it can lead to system boot failures.

πŸ” Google Dorking: Hacking with Google

"Google is your best friend... if you know how to ask."


πŸ“– What is Google Dorking?

Google Dorking (or Google Hacking) is an advanced technique used to refine Google searches using specific operators to uncover hidden or sensitive information exposed on the web. This method is widely used in:

@michele-tn
michele-tn / SSH Tunnels ASCII diagrams.md
Last active May 7, 2025 09:09
SSH Tunnels ASCII diagrams.md

~@eeowaa Sam post

SSH Tunnels

  • ASCII diagrams inspired by this Stack Exchange answer.
  • In all of the examples shown, port 123 must be free on your client host before opening the SSH tunnel.

Useful options

  • -T: Disables pseudo-tty allocation, which is appropriate because you're not trying to create an interactive shell.
  • -N: Says that you want an SSH connection, but you don't actually want to run any remote commands. If all you're creating is a tunnel, then including this option saves resources.
  • -f: Tells ssh to background itself after it authenticates, so you don't have to sit around running something on the remote server for the tunnel to remain alive.
@michele-tn
michele-tn / remote-capture-packet-simple.md
Last active May 6, 2025 12:44
Wireshark Tcpdump Remote Capturing!

Topology

+------------------+                    +----------------------+
|   Local host     |  tcpdump over ssh  |    Remote Host       |
|                  |--------------------|                      |\ eth0
| +--------------+ |--------------------|                      |/
| |   Wireshark  | |                    |  tcpdump -i eth0...  |

| |--------------| | +----------------------+