-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
354 lines (176 loc) · 9.93 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="generator" content="Hugo 0.68.3" />
<title>/home/rhama/ — Personal Blog</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<meta name="description" content="Personal Blog"/>
<meta name="keywords" content=""/>
<meta name="robots" content="noodp"/>
<link rel="canonical" href="/" />
<link rel="stylesheet" href="/assets/style.css">
<link rel="stylesheet" href="/style.css">
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/img/apple-touch-icon-144-precomposed.png">
<link rel="shortcut icon" href="/img/favicon.png">
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="/home/rhama/"/>
<meta name="twitter:description" content=""/>
<meta property="og:title" content="/home/rhama/" />
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="/" />
<meta property="og:updated_time" content="2020-05-10T18:02:01+07:00" /><meta property="og:site_name" content="/home/rhama/" />
<link rel="alternate" type="application/rss+xml" href="/index.xml" title="/home/rhama/" />
</head>
<body class="dark-theme">
<div class="container">
<header class="header">
<span class="header__inner">
<a href="/" class="logo" style="text-decoration: none;">
<span class="logo__mark"><svg xmlns="http://www.w3.org/2000/svg" class="greater-icon" viewBox="0 0 44 44">
<path fill="none" d="M15 8l14.729 14.382L15 35.367"/>
</svg>
</span>
<span class="logo__text">ls</span>
<span class="logo__cursor"></span>
</a>
<span class="header__right">
<nav class="menu">
<ul class="menu__inner menu__inner--desktop">
<li><a href="/about">About</a></li>
<li><a href="/showcase">Showcase</a></li>
</ul>
<ul class="menu__inner menu__inner--mobile">
<li><a href="/about">About</a></li>
<li><a href="/showcase">Showcase</a></li>
</ul>
</nav>
<span class="menu-trigger">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path d="M0 0h24v24H0z" fill="none"/>
<path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/>
</svg>
</span>
<span class="theme-toggle">
<svg class="theme-toggler" width="24" height="24" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M22 41C32.4934 41 41 32.4934 41 22C41 11.5066 32.4934 3 22
3C11.5066 3 3 11.5066 3 22C3 32.4934 11.5066 41 22 41ZM7 22C7
13.7157 13.7157 7 22 7V37C13.7157 37 7 30.2843 7 22Z"/>
</svg>
</span>
</span>
</span>
</header>
<div class="content">
<div class="posts">
<div class="post on-list">
<h1 class="post-title"><a href="/post/exploiting-broken-crypto-to-ssrf-phpproxy/">Exploiting Broken Crypto to SSRF On PHP-Proxy</a></h1>
<div class="post-meta">
<span class="post-date">
2020-05-10
</span>
</div>
<div class="post-content">
PHP-Proxy sebenarnya adalah project yang sudah tidak dikembangkan lagi, tapi disini saya melihat masih ada banyak orang yang menggunakan PHP-Proxy sebagai Web Proxy.
PHP-Proxy Overview Url yang disubmit di form, akan di-encrypt dan dilakukan redirect ke /?q=<ENCRYPTED_URL>. add_http adalah fungsi yang akan menambahkan http:// apabila $url tidak diawali dengan https:// atau http://
Apabila yang disubmit adalah file:///etc/passwd, oleh fungsi add_http akan me-return http://file:///etc/passwd sehingga kita tidak bisa exploit dengan cara men-submit URL lewat form.
</div>
<div><a class="read-more button" href="/post/exploiting-broken-crypto-to-ssrf-phpproxy/">Read more →</a></div>
</div>
<div class="post on-list">
<h1 class="post-title"><a href="/post/cyber-jawara-2018-web-exploitation/">Cyber Jawara 2018 Web Exploitation</a></h1>
<div class="post-meta">
<span class="post-date">
2020-04-11
</span>
</div>
<div class="post-content">
</div>
<div><a class="read-more button" href="/post/cyber-jawara-2018-web-exploitation/">Read more →</a></div>
</div>
<div class="post on-list">
<h1 class="post-title"><a href="/post/2016-12-24-basic-reverse-engineering-linux-binaries/">Basic Reverse Engineering Linux Binaries</a></h1>
<div class="post-meta">
<span class="post-date">
2016-12-24
</span>
<span class="post-author">— Written by Aiden Pearce</span>
</div>
<span class="post-tags">
#<a href="/tags/re/">RE</a>
</span>
<img src="/assets/images/ctf.png" class="post-cover" />
<div class="post-content">
Assalamualaikum. Saya akan sedikit membahas basic dalam melakukan reverse engineering elf binnary, reverse engineering sendiri sangat penting apalagi dalam challenge CTF yang biasa nya mempunyai poin yang besar.
The Code root@kali:~# cat rev.c #include int main(){ int a,b,c,d; a = 306; b = 737; c = 100 * a + b; printf("Enter your passcode : "); scanf("%d", &d); if(d == c){ puts("Correct"); else{ puts("Incorrect"); return 0; <code>Proof Of Concept ====================================</code> c %} root@kali:~# gcc rev.
</div>
<div><a class="read-more button" href="/post/2016-12-24-basic-reverse-engineering-linux-binaries/">Read more →</a></div>
</div>
<div class="post on-list">
<h1 class="post-title"><a href="/post/2017-07-22-bugs-bunny2k17-pwn150/">Bugs Bunny 2k17 CTF - Pwn150</a></h1>
<div class="post-meta">
<span class="post-author">— Written by Aiden Pearce</span>
</div>
<span class="post-tags">
#<a href="/tags/bugs-bunny2k17/">bugs-bunny2k17</a>
#<a href="/tags/ctf/">CTF</a>
</span>
<img src="/assets/images/ctf.png" class="post-cover" />
<div class="post-content">
Diberikan file ELF binary bernama pwn150 64-Bit yang harus dibuatkan exploit nya agar bisa mendapatkan flag.
➜ file pwn150 pwn150: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=dc1ada44067255e5211fafc5133679404b54f110, not stripped Elf binary tersebut diproteksi NX (No-eXecute)
gdb-peda$ checksec CANARY : disabled FORTIFY : disabled NX : ENABLED PIE : disabled RELRO : Partial Karena NX enabled, saya berasumsi untuk mengeksploitnya menggunakan teknik Return-to-libc.
</div>
<div><a class="read-more button" href="/post/2017-07-22-bugs-bunny2k17-pwn150/">Read more →</a></div>
</div>
<div class="post on-list">
<h1 class="post-title"><a href="/post/2017-06-22-bugs-bunny2k17-pwn50/">Bugs Bunny 2k17 CTF - Pwn50</a></h1>
<div class="post-meta">
<span class="post-author">— Written by Aiden Pearce</span>
</div>
<span class="post-tags">
#<a href="/tags/bugs-bunny2k17/">bugs-bunny2k17</a>
#<a href="/tags/ctf/">CTF</a>
</span>
<img src="/assets/images/ctf.png" class="post-cover" />
<div class="post-content">
Diberikan file ELF binary bernama pwn50 64-Bit yang harus dibuatkan exploit nya agar bisa mendapatkan flag.
➜ file pwn50 pwn50: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=9100876ac8da789151a1afcbc3e43ddaca1305c1, not stripped Binary ini hanya meminta user input tanpa mengirim kembali outputnya
➜ ./pwn50 saya ganteng Dengan menggunakan nm terlihat bahwa binary tersebut menggunakan fungsi gets() yang tidak membatasi user input sehingga dapat menyebabkan Buffer Overflow.
</div>
<div><a class="read-more button" href="/post/2017-06-22-bugs-bunny2k17-pwn50/">Read more →</a></div>
</div>
<div class="pagination">
<div class="pagination__buttons">
<span class="button next">
<a href="/page/2/">
<span class="button__text">Older posts</span>
<span class="button__icon">→</span>
</a>
</span>
</div>
</div>
</div>
</div>
<footer class="footer">
<div class="footer__inner">
<a href="/" class="logo" style="text-decoration: none;">
<span class="logo__mark"><svg xmlns="http://www.w3.org/2000/svg" class="greater-icon" viewBox="0 0 44 44">
<path fill="none" d="M15 8l14.729 14.382L15 35.367"/>
</svg>
</span>
<span class="logo__text">ls</span>
<span class="logo__cursor"></span>
</a>
<div class="copyright">
<span>© 2020 Powered by <a href="https://gohugo.io" target="_blank" rel="noopener">Hugo</a></span>
<span>Theme created by <a href="https://twitter.com/panr" target="_blank" rel="noopener">panr</a></span>
</div>
</div>
</footer>
<script src="/assets/main.js"></script>
<script src="/assets/prism.js"></script>
</div>
</body>
</html>