Skip to content

Instantly share code, notes, and snippets.

View ruped24's full-sized avatar
🛰️
Low Earth Orbiting

Rupert Edwards ruped24

🛰️
Low Earth Orbiting
  • Van Allen Belts
View GitHub Profile
@ruped24
ruped24 / fsu.php
Last active March 16, 2017 19:49
Windows fork of fuckshitup
<?php
/*
FuckShitUp Multi Vulnerabilities Scanner 0.1
MultiBrtuer requirements (php5):
php5-mysql - for mysql connections
php5-pgsql - for postgresql connections
libssh2-php - for ssh connections
#!/usr/bin/perl
use strict;
use warnings;
my @types = qw/nat mangle filter/;
$SIG{INT} = sub{print "\e[?25h\e[u"; exit};
print "\e[40;37m\e[2J\e[?25l";
while (1) {
print "\e[0;0H";
my %output = map {$_ => scalar `iptables -t $_ -L -v -Z`} @types;
foreach my $type (@types) {
#! /usr/bin/env python
from flask import Flask, jsonify, request
app = Flask(__name__)
@app.route("/.json", methods=["GET"])
def remote_ip():
try:
@ruped24
ruped24 / auto-remove-sublime3-license-popup.py
Last active August 13, 2023 02:37
Auto-remove SublimeText3 license popup
#! /usr/bin/env python2
# -*- coding: utf-8 -*-
# forked from egel/auto-remove-sublime-license-popup
# https://gist.github.com/egel/b7beba6f962110596660
from commands import getoutput as cl
from threading import Event, Thread
from sublime_plugin import EventListener