"Packaging" has been no longer available so manual installation is needed. pypa/setuptools#937
This file contains hidden or 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 | |
import binascii | |
import collections | |
import hashlib | |
import itertools | |
import re | |
import os | |
import random | |
import shlex |
ref: http://jimhoskins.com/2013/07/27/remove-untagged-docker-images.html
-
Stopped Containers
docker rm $(docker ps -a -q)
-
Untagged Images
docker rmi $(docker images | grep "^" | awk "{print $3}")
This file contains hidden or 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
ah! |
This file contains hidden or 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 pathlib import PurePath, Path | |
from tempfile import NamedTemporaryFile | |
from itertools import islice, cycle | |
from hexdump import hexdump as hd | |
import binascii | |
import hashlib | |
import re | |
import os |
This file contains hidden or 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
function peco-history-selection() { | |
BUFFER=$(history 1 | sort -k1,1nr | perl -ne 'BEGIN { my @lines = (); } s/^\s*\d+\*?\s*//; $in=$_; if (!(grep {$in eq $_} @lines)) { push(@lines, $in); print $in; }' | peco --query "$LBUFFER") | |
CURSOR=${#BUFFER} | |
zle reset-prompt | |
} | |
zle -N peco-history-selection | |
bindkey -M vicmd "^R" peco-history-selection | |
function select_pid() { |
This file contains hidden or 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
/* | |
Code Execution PoC of CVE-2019-9791 for practice of exploiting SpiderMonkey. | |
- Bug Finder: @saelo | |
- Target: 67fc2c30797036217de91cdb4b6d77a876bed7db^ | |
- Reference: https://doar-e.github.io/blog/2018/11/19/introduction-to-spidermonkey-exploitation/ | |
% build-release/bin/js67 --version | |
JavaScript-C67.0a1 | |
% build-release/bin/js67 work/exploit-js67.js | |
[+] Successfully got the primitives! |
OlderNewer