Skip to content

Instantly share code, notes, and snippets.

View mniip's full-sized avatar
😼

mniip mniip

😼
View GitHub Profile
@mniip
mniip / isbanned.pl
Last active August 29, 2015 14:13
A freenode-specific irssi script that checks whether someone is banned on some channel. For hexchat version see https://gist.github.com/mniip/441aacc9f7f571b8ea25
use Irssi;
use strict;
use bignum;
use Socket;
use vars qw($VERSION %IRSSI);
%IRSSI =
(
name => "isbanned",
description => "freenode-specific module that checks whether someone is banned on some channel",
@mniip
mniip / isbanned.py
Last active November 5, 2017 03:10
A freenode-specific hexchat script that checks whether someone is banned on some channel. For irssi version see https://gist.github.com/mniip/66a16b6da65d6deda9bc
__module_name__ = "isbanned"
__module_author__ = "mniip"
__module_version__ = "0.6"
__module_description__ = "freenode-specific module that checks whether someone is banned on some channel"
"""
Commands:
/isbanned <channel> <user>
Check whether <user> is banned on <channel>
/ismuted <channel> <user>
@mniip
mniip / where.lua
Last active August 29, 2015 14:09
where.lua - traverses a lua state and finds a path to a given object or hex address.
local _G, assert, newproxy, pairs, tostring, type = _G, assert, newproxy, pairs, tostring, type
local coroutine_create = coroutine.create
local debug_getfenv, debug_gethook, debug_getinfo, debug_getlocal, debug_getmetatable, debug_getregistry, debug_getupvalue, debug_upvalueid, debug_getuservalue = debug.getfenv, debug.gethook, debug.getinfo, debug.getlocal, debug.getmetatable, debug.getregistry, debug.getupvalue, debug.upvalueid, debug.getuservalue
local string_byte, string_format, string_gsub, string_match = string.byte, string.format, string.gsub, string.match
local where = {}
-- Auxiliary functions for finding the n'th key and n'th value in a table. Note
-- that the index may be invalidated even if the table is not modified, for
-- example if the table is weak
function where.nthkey(t, n)
@maxteufel
maxteufel / Security of cloaks.md
Last active October 21, 2021 16:50
About the security of (unaffiliated) cloaks on freenode

Copyright (c) 2014, 2016, 2017 M. Teufel

Unlimited redistribution and modification of this document is allowed provided that the above copyright notice and this permission notice remains in tact.


If you are reading this, you probably asked for a (unaffiliated) cloak on freenode because you wanted to hide your IP or hostname.

This text is here to tell you that cloaks and vHosts don't hide your IP very well. Cloaks on freenode show your (lack of) affiliation with a project or a group being hosted on freenode.

@devast8a
devast8a / 001-Bridge.lua
Created August 6, 2012 12:19
A lua console for the powder toy (powdertoy.co.uk)
-- Really there's no point in using this file.
-- Though if you so desire, just copy it into the same place as console.lua and run both the files.
-- Support cracker's manager
local using_manager = pcall(MANAGER_EXISTS)
if using_manager then
local v = MANAGER_VERSION()
MANAGER = {