This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Requires -RunAsAdministrator | |
| $TunnelName = "IPv6Tunnel" | |
| $TunnelID = "123456" | |
| $ServerIPv6Address = "2001:a:b:c::1" | |
| $ServerIPv4Address = "200.1.2.3" | |
| # When behind a firewall appliance that passes protocol 41, | |
| # use the IPv4 address you get from your appliance's DHCP service |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bpftrace | |
| BEGIN | |
| { | |
| printf("ptrace_scope address: %p\n", kaddr("ptrace_scope")); | |
| $data_addr = kaddr("ptrace_scope"); | |
| @last_val = *(int32*)$data_addr; // Initial value | |
| printf("Monitoring kernel.yama.ptrace_scope at address 0x%x (initial value: %d)\n", | |
| $data_addr, @last_val); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # Author: @neoplacer | |
| # Contributor: @socketz | |
| """ | |
| Fake FTP Server | |
| ~~~~~~~~~~~~~~~ | |
| This is a simple fake FTP daemon. It stores the login data (username and |