folder Tahribat.com Forumları
linefolder Asp - Php - Cgi - Perl
linefolder Asp ?İd Leme Yardım (Acil)



Asp ?İd Leme Yardım (Acil)

  1. KısayolKısayol reportŞikayet pmÖzel Mesaj
    arkinfes
    arkinfes's avatar
    Kayıt Tarihi: 07/Haziran/2007
    Erkek

    şimdi amacımı yanlış analamayın hep takıldıgım yerler farklı konular oldugu için yenikonu acıyorum amacım flood deildir neyse zaten bu 2.konum

    ben şimdi sole bişi istiyorum

    /haber.asp?id=12  yazınca işte 12 aydili konunun bilgilerini listeler bunu nasıl yapabilirim bide

     

    şimdi be şöle istiyorum sallıyorum yorum tablosundaki haber_id stunundaki sadece 1 yazanları sıralamasını nasıl yapıcam bide yavas yavas ogreniyoz işte aspyi


    Do majör soylu ve açık sözlü , Do minör patetik , Re majör parlak , Re minör melankolik , Mi bemol majör soylu ve patetik , aydinlik ama soylu ve karamsar tonmu lazim ozaman; mi majör , Mi minör doğanin ilk minör tonu olmasina karsin biraz melankoliktir , Fa majör karışıktır , Fa minör hepsinden patetiktir , Fa Diyez majör iste güçtür çünkü degiştirgeçlerle asiri yuklenmistir , Si majör parlak ve oyun bozannn :))
  2. KısayolKısayol reportŞikayet pmÖzel Mesaj
    pesimistzombie
    pesimistzombie's avatar
    Kayıt Tarihi: 14/Haziran/2006
    Erkek

    set rs=baglanti.Execute("select * from tablon where id="&request("id")&"")

    haberbaslik=rs("haberbaslik") 

    ws.. bu linkten gelen id ye göre tablondan veriyi çeker ancak unutmaman gereken kural requestleri filtrelemelisin güvenlik açığı oluşur aksi halde.

    <%
    set rs=baglanti.Execute("select * from tablon where haber_id=1 order by id desc") 
    Do while not rs.eof
    response.write "&rs("haberbasligi")&"<br/>"
    rs.movenext
    Loop
    rs.close
    Set rs=Nothing
    %>

     

    sadece haber_id si 1 olanları listeletirsin istersen gene bunu linkten alırsın

    <%
    set rs=baglanti.Execute("select * from tablon where haber_id="&request("haber_id")&" order by id desc") 
    Do while not rs.eof
    response.write "&rs("haberbasligi")&"<br/>"
    rs.movenext
    Loop
    rs.close
    Set rs=Nothing
    %> 

    linkten gelen haberler.asp?haber_id=1 idsini çekersin sıralatırsın

     


    :|
  3. KısayolKısayol reportŞikayet pmÖzel Mesaj
    arkinfes
    arkinfes's avatar
    Kayıt Tarihi: 07/Haziran/2007
    Erkek
    <%
    Function Temmuzlbr_org(strInput)
           strInput = Replace(strInput,"&", "&amp;")
     strInput = Replace(strInput, "'", "''")
     strInput = Replace(strInput, "<", "&lt;")
     strInput = Replace(strInput, ">", "&gt;")
     strInput = Replace(strInput,"""" ,"&quot;")
     strInput = Replace(strInput,"!","&#33;")
     strInput = Replace(strInput,"#","&#35;")
     strInput = Replace(strInput,"$","&#36;")
     strInput = Replace(strInput,"%","&#37;")
     strInput = Replace(strInput,"(","&#40;")
     strInput = Replace(strInput,")","&#41;")
     strInput = Replace(strInput,"*","&#42;")
     strInput = Replace(strInput,"+","&#43;")
     strInput = Replace(strInput,",","&#44;")
     strInput = Replace(strInput,"=","&#61;")
     strInput = Replace(strInput,"?","&#63;")
     strInput = Replace(strInput,"[","&#91;")
     strInput = Replace(strInput,"\","&#92;")
     strInput = Replace(strInput,"]","&#93;")
     strInput = Replace(strInput,"^","&#94;")
     strInput = Replace(strInput,"`","&#96;")
     strInput = Replace(strInput,"{","&#123;")
     strInput = Replace(strInput,"|","&#124;")
     strInput = Replace(strInput,"}","&#125;")
     strInput = Replace(strInput,"~","&#126;")
     strInput = Replace(strInput,"£","&#163;")
     strInput = Replace(strInput,"©","&#169;")
     strInput = Replace(strInput,"«","&#171;")
     strInput = Replace(strInput,"®","&#174;")
     strInput = Replace(strInput,"¹","&#185;")
     strInput = Replace(strInput,"º","&#186;")
     strInput = Replace(strInput,"»","&#187;")
     strInput = Replace(strInput,"¼","&#188;")
     strInput = Replace(strInput,"½","&#189;")
     strInput = Replace(strInput,"¾","&#190;")
     strInput = Replace(strInput,"ø","&#248;")
     strInput = Replace(strInput,"¿","&#191;")
     strInput = Replace(strInput,"ß","&#223;")
     strInput = Replace(strInput,"÷","&#247;")
     strInput = Replace(strInput,"×","&#215;")
     Temmuzlbr_org = strInput
     
    End Function
    %>
    kullansam sql enjeksiyon açığı kalkar de3me

    Do majör soylu ve açık sözlü , Do minör patetik , Re majör parlak , Re minör melankolik , Mi bemol majör soylu ve patetik , aydinlik ama soylu ve karamsar tonmu lazim ozaman; mi majör , Mi minör doğanin ilk minör tonu olmasina karsin biraz melankoliktir , Fa majör karışıktır , Fa minör hepsinden patetiktir , Fa Diyez majör iste güçtür çünkü degiştirgeçlerle asiri yuklenmistir , Si majör parlak ve oyun bozannn :))
  4. KısayolKısayol reportŞikayet pmÖzel Mesaj
    pesimistzombie
    pesimistzombie's avatar
    Kayıt Tarihi: 14/Haziran/2006
    Erkek

    o liste daha da uzatılabilir select union - vs eklenip filtreletilebilir  bununla beraber

    isnumeric de kullanabilirsin

    if not isnumeric(id) then
    response.redirect "default.asp"
    end if


    gibi..


    :|
  5. KısayolKısayol reportŞikayet pmÖzel Mesaj
    hotboy
    hotboy's avatar
    Kayıt Tarihi: 08/Ağustos/2005
    Erkek

    arkinfes bunu yazdı:
    -----------------------------
    <%
    Function Temmuzlbr_org(strInput)
           strInput = Replace(strInput,"&", "&")
     strInput = Replace(strInput, "'", "''")
     strInput = Replace(strInput, "<", "<")
     strInput = Replace(strInput, ">", ">")
     strInput = Replace(strInput,"""" ,""")
     strInput = Replace(strInput,"!","!")
     strInput = Replace(strInput,"#","#")
     strInput = Replace(strInput,"$","$")
     strInput = Replace(strInput,"%","%")
     strInput = Replace(strInput,"(","(")
     strInput = Replace(strInput,")",")")
     strInput = Replace(strInput,"*","*")
     strInput = Replace(strInput,"+","+")
     strInput = Replace(strInput,",",",")
     strInput = Replace(strInput,"=","=")
     strInput = Replace(strInput,"?","?")
     strInput = Replace(strInput,"[","[")
     strInput = Replace(strInput,"\","\")
     strInput = Replace(strInput,"]","]")
     strInput = Replace(strInput,"^","^")
     strInput = Replace(strInput,"`","`")
     strInput = Replace(strInput,"{","{")
     strInput = Replace(strInput,"|","|")
     strInput = Replace(strInput,"}","}")
     strInput = Replace(strInput,"~","~")
     strInput = Replace(strInput,"£","£")
     strInput = Replace(strInput,"©","©")
     strInput = Replace(strInput,"«","«")
     strInput = Replace(strInput,"®","®")
     strInput = Replace(strInput,"¹","¹")
     strInput = Replace(strInput,"º","º")
     strInput = Replace(strInput,"»","»")
     strInput = Replace(strInput,"¼","¼")
     strInput = Replace(strInput,"½","½")
     strInput = Replace(strInput,"¾","¾")
     strInput = Replace(strInput,"ø","ø")
     strInput = Replace(strInput,"¿","¿")
     strInput = Replace(strInput,"ß","ß")
     strInput = Replace(strInput,"÷","÷")
     strInput = Replace(strInput,"×","×")
     Temmuzlbr_org = strInput
     
    End Function
    %>
    kullansam sql enjeksiyon açığı kalkar de3me
    -----------------------------

    cıx, alakası yok bunun sql le, xss için işe yarayabilir belki, php de olsan direk mysql_real_escape_string dersin geçersin

Toplam Hit: 900 Toplam Mesaj: 5