Skip to content

Instantly share code, notes, and snippets.

View est's full-sized avatar
🤣
<INSERT YOUR ADS HERE>

ᴇsᴛ est

🤣
<INSERT YOUR ADS HERE>
View GitHub Profile
@est
est / change_wallpaper.bat
Created December 4, 2021 11:12
set win10 locksreen wallpaper to users
for /f %%g in ('wmic useraccount where name^="%USERNAME%" get sid ^| findstr ^S\-d*') do set USERSID=%%g
For /f "tokens=3" %%k IN ('reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\Creative\%USERSID% /s /v landscapeImage /t REG_SZ ^| findstr /ri "REG_SZ"') do set img_path=%%k
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v Wallpaper /t REG_SZ /d %img_path% /f
RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters
@est
est / keybase.md
Created November 18, 2016 03:34
keybase.md

Keybase proof

I hereby claim:

  • I am est on github.
  • I am est (https://keybase.io/est) on keybase.
  • I have a public key whose fingerprint is 531C BB09 B965 0F8A C997 0C95 5FC2 49DA BED6 708D

To claim this, I am signing this object:

@est
est / test
Created February 27, 2016 06:27
lagou-stats
#
@est
est / t.cn RGKKqug
Created February 24, 2016 03:28
weibo virus
* Hostname was NOT found in DNS cache
* Trying 180.149.135.224...
* Connected to t.cn (180.149.135.224) port 80 (#0)
> GET /RGKKqug HTTP/1.1
> User-Agent: curl/7.35.0
> Host: t.cn
> Accept: */*
>
< HTTP/1.1 302 Found
< Location: http://kan.sina.com.cn/ajax_fun/weibo_friend_create/1682669713
@est
est / hide_weibo.py
Last active December 21, 2015 02:55
hide weibo
#!/usr/bin/env python
# coding: utf8
# this script to hide previous weibo
# MIT license
import re, time, random
import requests
owner_uid = 0 # your uid
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Vertical Text</title>
<style>
<!--
.year
@est
est / 1.js
Last active August 29, 2015 14:23
webqq ptwebqq hash implemented in Python & Javascript
u = function(x, K) {
x += "";
for (var N = [], T = 0; T < K.length; T++)
N[T % 4] ^= K.charCodeAt(T);
var U = ["EC", "OK"], V = [];
V[0] = x >> 24 & 255 ^ U[0].charCodeAt(0);
V[1] = x >> 16 & 255 ^ U[0].charCodeAt(1);
V[2] = x >> 8 & 255 ^ U[1].charCodeAt(0);
V[3] = x & 255 ^ U[1].charCodeAt(1);
U = [];
@est
est / 1.py
Created June 9, 2015 08:44
socket broadcast test
import socket
@est
est / tcp_info.py
Created May 26, 2015 07:55
TCP_INFO on mac
# linux: http://lxr.free-electrons.com/source/include/uapi/linux/tcp.h#L148
# Mac: http://www.opensource.apple.com/source/xnu/xnu-2782.1.97/bsd/netinet/tcp.h