Skip to content

Instantly share code, notes, and snippets.

View badmonkey7's full-sized avatar
๐ŸŸ
moyu

badmonkey badmonkey7

๐ŸŸ
moyu
View GitHub Profile
@badmonkey7
badmonkey7 / exp0.py
Last active August 27, 2020 14:30
dasctf 2020 8ๆœˆ่ต›
# Product =
Product = 213145517693473276472741453960288533380429305903664848348709095184411519973440
r_p,r_q = 2328957326808590967503,1461823189315446122067
n = 2063976825250272595388593010902135884890103500050668819831297298752625852801511751408065791793019547189652146900555099774958963484251389843293161492169372162099883268521841628059721206917183539122495978771222844176897602295938111287844515247614001317395469781055421827261855002882782439392377329027883959379213
# (x*y) == iroot(n,4)[0]
# (x^4+a)*(y^4+b) == n
var('x,y')
eq1 = x*y == Product
eq2 = (x^4+r_p)*(y^4+r_q) == n
solve([eq1,eq2],[x,y])
@badmonkey7
badmonkey7 / fuck.js
Last active December 14, 2020 15:14
jlu uims ไธ€้”ฎ่ฏ„ๆ•™
// ๅ‚่€ƒๆ–‡็ซ  https://0x.mk/?p=166
function fuck() {
// ๅ–ๆถˆ็‚นๅ‡ป้—ด้š”
ntms.widget._AutoLabel.prototype._static.setInterval(0);
// ๅˆๅง‹ๅŒ–ๆ—ถ้—ด
var lastTime = new Date().getTime() - 60000;
var newTime = lastTime + Math.floor((Math.random() * 1.5 + 1.5) * 1000);
// ๆž„้€ ๆ—ถ้—ดๆ•ฐๆฎ
var clicks = {"_boot_": lastTime};