I hereby claim:
- I am mcd1992 on github.
- I am mcd1992 (https://keybase.io/mcd1992) on keybase.
- I have a public key whose fingerprint is CC94 BC99 E85F A7EB 92AF 1ECD FAE9 6912 AB26 5484
To claim this, I am signing this object:
# Reversing container for CTFs by mcd1992 | |
# docker run -ti --rm -v `pwd`:/workdir/ --security-opt seccomp:unconfined -P mcd1992/archctf:latest | |
FROM archlinux/base:latest | |
MAINTAINER mcd1992 | |
# Make port 31337 available for listening (must use -p for publishing) | |
EXPOSE 31337 | |
# Enable pacman colors and multilib repo; add vim to editor /etc/profile; set LOCALE to en_US.UTF-8 |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# figure out the absolute path to the script being run a bit | |
# non-obvious, the ${0%/*} pulls the path out of $0, cd's into the | |
# specified directory, then uses $PWD to figure out where that | |
# directory lives - and all this in a subshell, so we don't affect | |
# $PWD | |
GAMEROOT=$(cd "${0%/*}" && echo $PWD) |
function unrequire( modName ) | |
if( not modName ) then return end | |
local _R = debug.getregistry() | |
local moduleMetatable = _R["_LOADLIB"] | |
package.loaded[ modName ] = nil | |
_G[ modName ] = nil | |
for k, ud in pairs( _R ) do | |
if( (type(k) == "string") and string.find( k, "^LOADLIB: .+gm.._" .. modName .. "_.+%.dll$" ) and (type(ud) == "_LOADLIB") and (getmetatable(ud) == moduleMetatable) ) then | |
print( "Unloading: " .. k ) |