mcfx's blog - HackTM CTF Quals 2020 Writeup 的评论 /archives/278/ zh-CN 由于寒假比较闲,所以找点比赛打。由于需要上交 wp,所以是英文的。 # Crypto ## RSA is easy #1 Since $$N$$ is known, we can comp... Tue, 07 Apr 2020 09:46:09 +0800 Tue, 07 Apr 2020 09:46:09 +0800 h1st /archives/278/#comment-118 /archives/278/#comment-118 Tue, 07 Apr 2020 09:46:09 +0800 h1st sto driver

]]>
/archives/278/#comment-118#comments
wxh010910 /archives/278/#comment-112 /archives/278/#comment-112 Tue, 10 Mar 2020 12:29:23 +0800 wxh010910 orz mcfx god

]]>
/archives/278/#comment-112#comments
Trung /archives/278/#comment-111 /archives/278/#comment-111 Wed, 04 Mar 2020 00:45:10 +0800 Trung I didn't know A* algo, check it rn! Thank you so much!

]]>
/archives/278/#comment-111#comments
admin /archives/278/#comment-109 /archives/278/#comment-109 Sun, 01 Mar 2020 04:24:02 +0800 admin 2. Since we can find these matched results, such bfs(or maybe A*) algorithm will lead to a low score situation, that means y is very large, and that's what we need for the answer.

]]>
/archives/278/#comment-109#comments
admin /archives/278/#comment-108 /archives/278/#comment-108 Sun, 01 Mar 2020 04:22:14 +0800 admin In u(x,y), x is current length of input diff, y is current length of matched result, and u(x,y) gives a resonable score of them - to make the result match as much as possible.

]]>
/archives/278/#comment-108#comments
Trung /archives/278/#comment-107 /archives/278/#comment-107 Mon, 17 Feb 2020 16:12:58 +0800 Trung Hi there, I have read baby_bear writeup, but I can't understand somethings on your exploit code:
1.You use u(x,y) to calculate for the order of the heap, what is the base of that ?
2.How could you use bitxor to find next bytes? (algorithms or somethings else?)
Thanks for your help!
Sorry for those previous noised cmt.

]]>
/archives/278/#comment-107#comments
Trung /archives/278/#comment-106 /archives/278/#comment-106 Mon, 17 Feb 2020 15:52:29 +0800 Trung >3 return s[:xt]+bytes([s[xt]^(1]]> Hi there, I have read baby_bear writeup, but I can't understand somethings on your exploit code:
1. def u(x,y):
return x-y*2.5
You use u(x,y) to calculate for the order of the heap, what is the base of that ?
2. def bitxor(s,x):
xt=x>>3
return s[:xt]+bytes([s[xt]^(1 ]]>
/archives/278/#comment-106#comments
Trung /archives/278/#comment-105 /archives/278/#comment-105 Mon, 17 Feb 2020 15:37:20 +0800 Trung >3 return s[:xt]+bytes([s[xt]^(1]]> Hi there, I have read baby_bear writeup, but I can't understand somethings on your exploit code:
1. def u(x,y):
return x-y*2.5
You use u(x,y) to calculate for the order of the heap, what is the base of that ?
2. def bitxor(s,x):
xt=x>>3
return s[:xt]+bytes([s[xt]^(1 ]]>
/archives/278/#comment-105#comments