Skip to content

Instantly share code, notes, and snippets.

View TheBarret's full-sized avatar
💭
I may be slow to respond.

Barret TheBarret

💭
I may be slow to respond.
  • Private
View GitHub Profile
@dr4k0nia
dr4k0nia / Suscall.cs
Created August 3, 2021 13:30
An example of using x64 syscall shellcode to call NtProtectVirtualMemory
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace Code_Projects
{
public unsafe class Suscall
{
[DllImport("kernel32", SetLastError = true)]
@juliojsb
juliojsb / iptables-multicast.sh
Last active February 2, 2024 14:33
Allow multicast communications in iptables
Run the following:
iptables -A INPUT -m pkttype --pkt-type multicast -j ACCEPT
iptables -A FORWARD -m pkttype --pkt-type multicast -j ACCEPT
iptables -A OUTPUT -m pkttype --pkt-type multicast -j ACCEPT
Or:
iptables -A INPUT -s 224.0.0.0/4 -j ACCEPT
iptables -A FORWARD -s 224.0.0.0/4 -d 224.0.0.0/4 -j ACCEPT
#!/bin/bash
#
# Install/Uninstall Froxlor for RPi/Raspbian
#
# http://rasptorial.com/server/froxlor-webserver
# Courier screen select 'no' to web directories.
# Postfix screen select 'internet site'. 'mail name' should be the server's domain.
# Proftpd screen, select 'standalone'.
# MySQL screen, enter a password.
#