xunaf Posted March 12, 2014 Share Posted March 12, 2014 (edited) vakit kaybıydı.. Edited July 27, 2014 by xunaf Quote Link to comment Share on other sites More sharing options...
justpl4y Posted March 12, 2014 Share Posted March 12, 2014 Uğraşmaya değecek bir program ise mutlaka cracklenecektir. Engelleyemezsin. Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted March 12, 2014 Editor Share Posted March 12, 2014 Şunu yaparım programı çalıştırırım kullanıcı şifreyi sallarım temp ten data .ini yi açıp doğru olana bakarım :D AMS için şimdilik tek güvenli sistem LH Compiler gibi görünüyor. Quote Link to comment Share on other sites More sharing options...
xunaf Posted March 12, 2014 Author Share Posted March 12, 2014 (edited) Lh Compiler hakkında bi bilgi verirmisin Pairs ( Bu arada bilmeyenlerde sayende öğrendi tempten bunu cıkarmayı : )) farklı bi yöntem ne yapabiliriz Temp klasörüne cıkan dosyaları sifrelemek gibi bir yöntem yok mu yada data.ini dosyasının iceriğini download etmeden hafızaya alma komutu yokmu Edited March 12, 2014 by xunaf Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted March 12, 2014 Editor Share Posted March 12, 2014 Bir php dosyasıyla veritabanından okuyabilrisin daha sonra ams den httpsubmit ile o php dosyasından çekersin böylelikle ortada bilgi olmaz. http://www.memoryex.net/index.html Quote Link to comment Share on other sites More sharing options...
xunaf Posted March 12, 2014 Author Share Posted March 12, 2014 Hocam bi örnek apz varmı bunu öğrenebileceğimiz yardımcı olursan çok dua ederim valla 3,4 gündür uyku uyuyamıyorum sürekli aklımda neler denedim neler millet oyundan chatten zevk alır bende böyle öğrenme hevesinden hiç sıkılmadan bıkmadan günlerce uğraşıyorum bu gün bıraksam 3 ay sonra gelsin aklıma yeniden en başından başlıyorum. Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted March 12, 2014 Editor Share Posted March 12, 2014 Akşam ancak örnek hazırlayabilirim.Gün içinde yoğunum malesef. Quote Link to comment Share on other sites More sharing options...
xunaf Posted March 12, 2014 Author Share Posted March 12, 2014 Çok teşekkürler hocam bende şu an işteyim zaten sabırsızlıkla beklicem sağolun allah razı olsun Quote Link to comment Share on other sites More sharing options...
justpl4y Posted March 12, 2014 Share Posted March 12, 2014 Mümkünse web sitesi de ssl ile şifrelensin ki charles, fiddler, wireshark gibi programlar araya girip verileri görmesin. Quote Link to comment Share on other sites More sharing options...
KintaRo Posted March 12, 2014 Share Posted March 12, 2014 Pairs'in dediği gibi PHP+MySQL ile kalkabilirsiniz bu işin altından. Zaten çoğu web sitesi de bu şekilde çalışır. Genel mantık şöyledir; girdiğiniz kullanıcı adı ve şifre kullanıcılar tablosundan karşılaştırılır, eğer 1 satır gelirse login olursunuz. Örnek kullanım şu şekildedir: <?php include 'db.php'; $kullanici = $_POST['kullanici']; $sifre = $_POST['sifre']; $md5_sifre = md5($sifre); $sorgu = mysql_query("SELECT * FROM kullanicilar WHERE kullanici='$kullanici' AND sifre='$md5_sifre'"); $satir = mysql_num_rows($sorgu); if ($satir == FALSE) { echo "Kullanıcı Bulunamadı"; } else { if ($satir > 0) { echo "Giriş Başarılı"; } else { echo "Bilgiler Yanlış"; } } mysql_close(); ?> Bu şekilde echo ile gelen verileri alarak işlem yaptırabilirsiniz. Quote Link to comment Share on other sites More sharing options...
xunaf Posted March 12, 2014 Author Share Posted March 12, 2014 Hocam çok hızlısınız valla saolun ilginiz için. Yalnız bu yöntemi uygulamak için 1 incisi phpmyadmin den veritabanı mı oluşturucaz hadi oluşturduk kullanıcı nasıl ekleyip değiştiricez 2 incisi bunu proje ile nasıl ilişkilendiricez Quote Link to comment Share on other sites More sharing options...
KintaRo Posted March 12, 2014 Share Posted March 12, 2014 web ya da masaüstü olarak kullanıcı ekleyip çıkartabileceğin bir yönetim panelin olması gerekiyor, tabi biraz mysql ve php bilgisi isteyen bir iş. bu konulara ne kadar vakıfsın bilmiyorum. Quote Link to comment Share on other sites More sharing options...
xunaf Posted March 12, 2014 Author Share Posted March 12, 2014 Tmm hocam çok tşk ederim php ve mysql araştırır öğreniriz yeterki azim azalmasın az çok biliyorum web tasarımı işlerini diyelim ki ben şimdi mysqldan değerleri girdim örn: Kullanici_ID= Kullanici_adi= Sifre= Kayit_Tarihi= Bitis_Tarihi= Bunları php olarak ayarladım. mysql dan ve php den yana sıkıntı yok inanıyorum yaparım. Bunları yaptıktan sonra Ams içinde ini mantığı kullanarak iniden veri çeker gibi AutoPlay\\Docs\\data.php (diyelim ismini) bunu Pairs hocamında dediği gibi %temp% içerisinden baktıklarında benim database ye ulaşıp kullanıcı adı şifrelere ulaşamazlar mı ? Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted March 12, 2014 Editor Share Posted March 12, 2014 data.php yi temp de tutmayacaksın websitesine atacaksın. Örneğin : tnctr.com/data.php gibi. http.submit("tnctr.com/data.php") şeklinde kullanıcaksın.Dosya hiç senin tempe uğramıycak. Quote Link to comment Share on other sites More sharing options...
xunaf Posted March 12, 2014 Author Share Posted March 12, 2014 anladım hocam. peki İmputta Kullanıcı adı ve şifreyi girdi üye giriş butonuna bastı http.submit("tnctr.com/data.php") koduyla data.php içerisinden bilgilerileri sorgulattık ben takılırsm burada takılırım. eğer kullanıcı adı şifre varsa Page.Jump("Page2); Yoksa Dialog.Message("Kullanıcı Bulunamadı!") demesi için bu ilişkilendirme nasıl olacak Quote Link to comment Share on other sites More sharing options...
KintaRo Posted March 12, 2014 Share Posted March 12, 2014 adam illa temp'e indirtecek ya :D sen veritabanını oluştur, örnek projeyi oluştur, gerisini biz yardımcı oluruz Quote Link to comment Share on other sites More sharing options...
xunaf Posted March 12, 2014 Author Share Posted March 12, 2014 Hehehe takıntı ben <<< : )))) Valla hocam sayenizde birşeyler öğreniyoruz çok sağolun allah razı olsun hepinizden. üstte bi örnek proje yapmıstım linkte var php sayfa kodlarını siz vermişsiniz eve gidince uğrasıcam üzerinde. Quote Link to comment Share on other sites More sharing options...
xunaf Posted March 12, 2014 Author Share Posted March 12, 2014 Kaç saattir araştırıyorum hala bi sonuca ulaşamadım. Pairs hocam vaktin olursa akşam bir örnek hazırlarsan sevinirim. Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted March 12, 2014 Editor Share Posted March 12, 2014 yapacagın şu kintaro nun verdiği php yi kendi veritabanına göre uyarlayıp web sitene atmak daha sonrada ams de http.submit("tnctr.com/data.php") şeklinde çalıştırmak dönen değer de php dosyasındaki echo ile yazılan yazılar varsa kontrol edicen. Örn : result = http.submit("tnctr.com/data.php"); if result == ""Giriş Başarılı"" then Dialog.Message("","Giriş başarılı"); end Quote Link to comment Share on other sites More sharing options...
xunaf Posted March 12, 2014 Author Share Posted March 12, 2014 (edited) Hocam kızmayın ama ben yine anlamadım :( kullanıcı giriş yapacak 2 tane imput olması lazım hadi onuda gectim sadece sifre istesem butonun yönlendirmesi için bastan imputa girilen değeri almak lazım mesela SifreAl = Input.GetText("Input1"); result = http.submit("http://www.benimsite.com/data.php"); if result == "Giris Basarili" then Dialog.Message("","Giriş başarılı"); end if SifreAl == result then Page.Jump("Page2); end Başım ağrıdı oraya cevir buraya cevir :( yapamadım yine. Edited March 12, 2014 by xunaf Quote Link to comment Share on other sites More sharing options...
KintaRo Posted March 12, 2014 Share Posted March 12, 2014 kullanım şu şekilde olmalı: kullanici = Input.GetText("kullanici"); sifre = Input.GetText("sifre"); if kullanici ~= "" and sifre ~= "" then post = {user = kullanici, pass = sifre}; donus = HTTP.Submit("www.site.com/login.php", post, SUBMITWEB_POST, 20, 80, nil, nil) if donus == "ok" then Dialog.Message("", "Giriş başarılı") else Dialog.Message("", "Giriş Hatalı") end else Dialog.Message("", "Tüm alanları doldurun") end post tablosunda yazan user ve pass degerlerini php dosyanızdan $_POST['user']; $_POST['pass']; şeklinde alıp işlemelisiniz. Quote Link to comment Share on other sites More sharing options...
xunaf Posted March 12, 2014 Author Share Posted March 12, 2014 Kintaro hocam bak ben sana bütün yaptıklarımı listeleyim bi gözden geçir allah aşkına. İlk önce xunaf_db isminde bir database oluşturdum Tablo ön ekinide POST yaptım. Sonra hostun içine xunaf_db.php oluşturup içine <?php /** * Export to PHP Array plugin for PHPMyAdmin * @version 0.2b */ // // Database `xunaf_db` // // `xunaf_db`.`POST` $POST = array( array('user' => 'xunaf','pass' => '12345') ); Hostun içindeki Login.php <?php include 'xunaf_db.php'; $kullanici = $_POST['user']; $sifre = $_POST['pass']; $md5_sifre = md5($sifre); $sorgu = mysql_query("SELECT * FROM kullanicilar WHERE kullanici='$kullanici' AND sifre='$md5_sifre'"); $satir = mysql_num_rows($sorgu); if ($satir == FALSE) { echo "Kullanıcı Bulunamadı"; } else { if ($satir > 0) { echo "ok"; } else { echo "Bilgiler Yanlış"; } } mysql_close(); ?> Host mysql ve php işleri bu kadar projemde 2 adet imput var kullanici ve sifre isminde buton kodlarımsa söyle -------------------------------------------- kullanici = Input.GetText("kullanici"); sifre = Input.GetText("sifre"); if kullanici ~= "" and sifre ~= "" then post = {user = kullanici, pass = sifre}; donus = HTTP.Submit("www.benimsite.com/login.php", post, SUBMITWEB_POST, 20, 80, nil, nil) if donus == "ok" then Dialog.Message("", "Giriş başarılı") Page.Jump("Page3"); else Dialog.Message("", "Giriş Hatalı") end else Dialog.Message("", "Tüm alanları doldurun") end Sizde incelerseniz sevinirim Butona tıkladığımda Giriş hatalı diyor nerede yanlış yapıyorum? Quote Link to comment Share on other sites More sharing options...
KintaRo Posted March 12, 2014 Share Posted March 12, 2014 ben şifreyi md5 ile encrypt edip öyle saklarsın veritabanında diye düşünmüştüm. şu satırı: $sorgu = mysql_query("SELECT * FROM kullanicilar WHERE kullanici='$kullanici' AND sifre='$md5_sifre'"); şunla değiştirip dener misin $sorgu = mysql_query("SELECT * FROM kullanicilar WHERE kullanici='$kullanici' AND sifre='$sifre'"); Quote Link to comment Share on other sites More sharing options...
xunaf Posted March 12, 2014 Author Share Posted March 12, 2014 Yine giriş hatalı mesajı verdi hocam Quote Link to comment Share on other sites More sharing options...
KintaRo Posted March 12, 2014 Share Posted March 12, 2014 php kodlarında hata varmış, düzeltilmiş hali: <?php $dbhost = "localhost"; $dbkullanici = "dbuser"; $dbsifre = "sifre"; $dbadi = "dbisim"; $baglan = mysql_connect($dbhost,$dbkullanici,$dbsifre); if(!$baglan) { die; } else { ('MYSQL bağlantısı kuruldu...'); } mysql_select_db($dbadi,$baglan) ; mysql_query("SET NAMES 'UTF8'"); mysql_query("SET character_set_connection = 'UTF8'"); mysql_query("SET character_set_client = 'UTF8'"); mysql_query("SET character_set_results = 'UTF8'"); if (isset($_POST['user']) and isset($_POST['pass'])) { $kullanici = $_POST['user']; $sifre = $_POST['pass']; $md5_sifre = md5($sifre); $sorgu = mysql_query("SELECT * FROM kullanicilar WHERE kullanici='$kullanici' AND sifre='$sifre'"); $satir = mysql_num_rows($sorgu); if ($satir == FALSE) { echo "Kullanici Bulunamadi"; } else { if ($satir > 0) { echo "ok"; } else { echo "Bilgiler Yanlis"; } } mysql_close(); } else { echo "gonderilen bilgiler gecersiz." ; } ?> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.