Skip to content

Instantly share code, notes, and snippets.

// stringMask: 字符串掩码函数
// - str: 要处理的字符串
// - ch: 掩码字符
// - len: 尾部保留的明文长度
function stringMask(str, ch, len) {
var strarr = Array.from(str);
strarr[0] = 'a'
if(len > str.length) {
len = str.length;
}
sha256 family
090b5be26bcc4df6186124c2b47831eb96761fcf61282d63e13fa235a20c7539 Plankton
bedf51a5732d94c173bcd8ed918333954f5a78307c2a2f064b97b43278330f54 DroidKungFu
149bde78b32be3c4c25379dd6c3310ce08eaf58804067a9870cfe7b4f51e62fe Plankton
dd11c105ec8bb3c851f5955fa53eebb91b7dc46bef4d919ee4b099e825c56325 GinMaster
6832234c4eae7a57be4f68271b7eecb056c4cd8352c67d2273d676208118871d FakeDoc
f39f20ec060481bd89cfbd44654077fcd6404d87a1286685570334bd430e2f18 GinMaster
eb1bcca87ab55bd0fe0cf1ec27753fddcd35b6030633da559eee42977279b8db FakeInstaller
5010f34461e309ea1bc5539bb24fccc320576ce6d677a29604f5568c0a5e6315 Opfake
f1c8b34879b04dc94f0a13d33c1e1272bdf9141e56e19da62c1a1b27af128604 FakeInstaller
@ikey4u
ikey4u / svg2icns.sh
Created February 27, 2020 03:36
Generate Mac icns icon from svg using inkscape
inkscape=/Applications/Inkscape.app/Contents/MacOS/inkscape
insvg=burpicon.svg
output=burp
outdir=${output}.iconset
mkdir $outdir
for sz in 16 32 128 256 512
do
echo "[+] Generete ${sz}x${sz} png..."
$inkscape --without-gui --export-file ${outdir}/icon_${sz}x${sz}.png -w $sz -h $sz $insvg