This file contains 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 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 |
This file contains 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 | |
from flask import Flask, jsonify, request | |
app = Flask(__name__) | |
@app.route("/.json", methods=["GET"]) | |
def remote_ip(): | |
try: |
This file contains 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/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) { |
This file contains 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
<?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 |